Приветствую. Выпало из рейда 2 диска. Случайно добавил вместо /dev/sda1 и /dev/sdb1 /dev/sda и /dev/sdb Пытаюсь удалить - получаю:
mdadm --remove /dev/mda /dev/sda
mdadm: error opening /dev/mda: No such file or directory
mdadm --remove /dev/mda /dev/sdb
mdadm: error opening /dev/mda: No such file or directory
Однако если посмотреть
mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Wed Sep 30 10:08:13 2009
Raid Level : raid5
Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
Raid Devices : 5
Total Devices : 5
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Fri Aug 20 18:16:08 2010
State : active, degraded, Not Started
Active Devices : 3
Working Devices : 5
Failed Devices : 0
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 64K
UUID : d68c1f94:3ef25907:9ed49952:737e5f81
Events : 0.558568
Number Major Minor RaidDevice State
0 0 0 0 removed
1 0 0 1 removed
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 0 - spare /dev/sda
6 8 16 - spare /dev/sdb
Как в итоге их удалить? Т.к. из /dev/ пропало /dev/sda1 /dev/sdb1, а вот в fdisk -l все четко
fdisk -l
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004b7b2
Device Boot Start End Blocks Id System
/dev/sda1 1 182401 1465136001 fd Linux raid autodetect
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000744d6
Device Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465136001 fd Linux raid autodetect