Hi, I had a faluty /dev/sdc disk. Removed it and added a new one, now I can resync my raid 6.
Code
root@Zetta:~# mdadm --assemble --scan
mdadm: device 6 in /dev/md/zetta:0 has wrong state in superblock, but /dev/sdc seems ok
mdadm: /dev/md/zetta:0 assembled from 5 drives and 1 spare - not enough to start the array while not clean - consider --force.
Nothing strange in cat/md0 o r blkid or fdisk
EDIT here is maybe why ?
Hi,
quite a noob and little bit lost here.
I had a WD 1,5 To which is faulty (/dev/sdc). Changed it with a WD 2 To
For this I did
Power off removed the old one, adding the old one.
Whatever I try (add re-add) I can't add the new one treated as spare. Suspect that it's because of a larger one ? What should I do ? (I'm under open media vault a nas system base on debian)
Thanks a lot !!!!
Here are my output :
Code
root@Zetta:~# cat /proc/mdstatPersonalities : [raid6] [raid5] [raid4]md0 : inactive sdf[0] sdc[7](S) sdg[6] sdb[4] sde[3] sda[2]10255693264 blocks super 1.2unused devices: <none>
Code
root@Zetta:~# mdadm --detail /dev/md0/dev/md0:Version : 1.2Creation Time : Sat Aug 31 01:10:06 2013Raid Level : raid6Used Dev Size : 1465137152 (1397.26 GiB 1500.30 GB)Raid Devices : 6Total Devices : 6Persistence : Superblock is persistentUpdate Time : Fri Jun 23 15:43:33 2017State : active, degraded, Not StartedActive Devices : 5Working Devices : 6Failed Devices : 0Spare Devices : 1Layout : left-symmetricChunk Size : 512KName : zetta:0UUID : 96b0e7b7:83aa203f:1545031b:43caaa85Events : 54841Number Major Minor RaidDevice State0 8 80 0 active sync /dev/sdf1 0 0 1 removed2 8 0 2 active sync /dev/sda3 8 64 3 active sync /dev/sde4 8 16 4 active sync /dev/sdb6 8 96 5 active sync /dev/sdg7 8 32 - spare /dev/sdc
Code
root@Zetta:~# fdisk -lDisk /dev/sda: 1500.3 GB, 1500301910016 bytes255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/sda doesn't contain a valid partition tableDisk /dev/sdb: 2000.4 GB, 2000398934016 bytes255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/sdb doesn't contain a valid partition tableDisk /dev/sdc: 2000.4 GB, 2000398934016 bytes255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/sdc doesn't contain a valid partition tableDisk /dev/sdd: 100.0 GB, 100030242816 bytes255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x0008101cDevice Boot Start End Blocks Id System/dev/sdd1 * 2048 187367423 93682688 83 Linux/dev/sdd2 187369470 195371007 4000769 5 Extended/dev/sdd5 187369472 195371007 4000768 82 Linux swap / SolarisDisk /dev/sde: 1500.3 GB, 1500301910016 bytes255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/sde doesn't contain a valid partition tableDisk /dev/sdf: 1500.3 GB, 1500301910016 bytes255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/sdf doesn't contain a valid partition tableDisk /dev/sdg: 2000.4 GB, 2000398934016 bytes255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/sdg doesn't contain a valid partition table
Code
root@Zetta:~# blkid/dev/sda: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="70983681-b5c2-9f70-1801-948b1b7c97d1" LABEL="zetta:0" TYPE="linux_raid_member"/dev/sdb: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="66843575-1a9c-30a6-8172-29f3ded468dc" LABEL="zetta:0" TYPE="linux_raid_member"/dev/sde: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="ee7eab8f-dc90-e3be-146d-a4e09d104418" LABEL="zetta:0" TYPE="linux_raid_member"/dev/sdf: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="b2460066-00b1-5070-cfe3-7ac67aae96c1" LABEL="zetta:0" TYPE="linux_raid_member"/dev/sdc: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="06bd9fd3-7b1a-b0e0-b9f0-029882f39624" LABEL="zetta:0" TYPE="linux_raid_member"/dev/sdd1: UUID="b364f189-c9af-4774-92ba-a49307966cf7" TYPE="ext4"/dev/sdd5: UUID="c78b6a64-1caa-4290-bc1a-eebe67731ca5" TYPE="swap"/dev/sdg: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="440f9a88-1d42-020c-ba4d-d303afb76c7c" LABEL="zetta:0" TYPE="linux_raid_member"