公司添購了一台ASUS P11C-X的Server, 裝了Ubuntu系統在128G SSD上
想在另外兩顆1TB HDD上做RAID 1當資料碟, 但因為沒做過RAID目前有點混亂
爬文看到有分Software RAID和Hardware RAID
目前我是照手冊用板子內的「Intel Rapid Storage Technology Enterprise SATA/SSATA Option Rom工具程式」去把兩棵HDD設定RAID 1(這樣算Software RAID嗎?)
但現在問題是設完不知道怎麼使用HDD的硬碟空間
有爬到這篇替 Linux 新增硬碟(磁碟分割、格式化與掛載), 照著這篇在格式化的時候出現問題/dev/sda is apparently in use by the system; will not make a filesystem here!
, 爬文似乎是跟RAID也有關
這時突然想到依照以前裝Windows的經驗也是先「分割>格式化」, 但做這兩個動作的時候會不會影響到一開始的RAID設定呢?還是說要先做完這兩個動作在設定RAID呢?
想請問正確步驟到底該怎麼做, 謝謝
剛剛重開機後fdisk -l多出一個md126是??
Disk /dev/loop0: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 89.1 MiB, 93429760 bytes, 182480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sdd: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0EF43362-9644-4A22-88F9-0CDFC3F5C00B
Device Start End Sectors Size Type
/dev/sdd1 2048 4095 2048 1M BIOS boot
/dev/sdd2 4096 250066943 250062848 119.2G Linux filesystem
Disk /dev/md126: 884.9 GiB, 950181822464 bytes, 1855823872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes