我有 3 个 U 盘,我想用于 raid 5。运行此命令时,我得到以下输出
sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda dev/sdb /dev/sdc
mdadm: layout defaults to left-symmetric
mdadm: layout defaults to left-symmetric
mdadm: super1.x cannot open /dev/sda: Device or resource busy
mdadm: ddf: Cannot use /dev/sda: Device or resource busy
mdadm: Cannot use /dev/sda: It is busy
mdadm: cannot open /dev/sda: Device or resource busy
当我重启机器时。这次我得到了这个输出
sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda dev/sdb /dev/sdc
mdadm: layout defaults to left-symmetric
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 512K
mdadm: partition table exists on /dev/sda
mdadm: partition table exists on /dev/sda but will be lost or
meaningless after creating array
mdadm: cannot open dev/sdb: No such file or directory
这是 lsblk 输出
lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
NAME SIZE FSTYPE TYPE MOUNTPOINT
loop0 16M vfat loop
sda 59,6G disk
└─sda1 59,6G ntfs part
sdb 28,9G disk
└─sdb1 28,9G ntfs part /media/whilone/WHILONE
sdc 57,3G disk
└─sdc1 57,3G ntfs part /media/whilone/sd64
dmstup 输出是No devices found
这里有什么问题?