LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mdadm: /dev/sdb1 has wrong uuid (https://www.linuxquestions.org/questions/linux-server-73/mdadm-dev-sdb1-has-wrong-uuid-917072/)

ysjdx 12-04-2011 11:02 AM

mdadm: /dev/sdb1 has wrong uuid
 
Hello everyone,
I've got a terrible situation.
mdadm -E /dev/hda1

/dev/hda1:
Magic : a92b4efc
Version : 00.90.00
UUID : ca757311:b1ab612a:948b7fe5:84210c23
Creation Time : Sat Apr 16 14:35:18 2011
Raid Level : raid5
Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
Raid Devices : 5
Total Devices : 4
Preferred Minor : 1

Update Time : Sun Dec 4 00:57:05 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : 31f4f39a - correct
Events : 1163542

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 4 3 1 4 active sync /dev/hda1

0 0 0 0 0 removed
1 1 8 33 1 active sync /dev/sdc1
2 2 8 49 2 active sync /dev/sdd1
3 3 3 65 3 active sync /dev/hdb1
4 4 3 1 4 active sync /dev/hda1
mdadm -E /dev/sda1
/dev/sda1:
Magic : a92b4efc
Version : 00.90.00
UUID : ca757311:b1ab612a:948b7fe5:84210c23
Creation Time : Sat Apr 16 14:35:18 2011
Raid Level : raid5
Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
Raid Devices : 5
Total Devices : 5
Preferred Minor : 1

Update Time : Sat Oct 1 16:43:53 2011
State : clean
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Checksum : 319bb165 - correct
Events : 975108

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 0 8 1 0 active sync /dev/sda1

0 0 8 1 0 active sync /dev/sda1
1 1 8 33 1 active sync /dev/sdc1
2 2 8 49 2 active sync /dev/sdd1
3 3 3 65 3 active sync /dev/hdb1
4 4 3 1 4 active sync /dev/hda1
mdadm -E /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : ca757311:b1ab612a:948b7fe5:84210c23
Creation Time : Sat Apr 16 14:35:18 2011
Raid Level : raid5
Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
Raid Devices : 5
Total Devices : 4
Preferred Minor : 1

Update Time : Sun Dec 4 16:36:02 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 1
Spare Devices : 0
Checksum : 31f5d013 - correct
Events : 1163572

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 1 8 33 1 active sync /dev/sdc1

0 0 0 0 0 removed
1 1 8 33 1 active sync /dev/sdc1
2 2 8 49 2 active sync /dev/sdd1
3 3 3 65 3 active sync /dev/hdb1
4 4 0 0 4 faulty removed
mdadm -E /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 00.90.00
UUID : ca757311:b1ab612a:948b7fe5:84210c23
Creation Time : Sat Apr 16 14:35:18 2011
Raid Level : raid5
Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
Raid Devices : 5
Total Devices : 4
Preferred Minor : 1

Update Time : Sun Dec 4 16:36:02 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 1
Spare Devices : 0
Checksum : 31f5d025 - correct
Events : 1163572

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 2 8 49 2 active sync /dev/sdd1

0 0 0 0 0 removed
1 1 8 33 1 active sync /dev/sdc1
2 2 8 49 2 active sync /dev/sdd1
3 3 3 65 3 active sync /dev/hdb1
4 4 0 0 4 faulty removed
mdadm -E /dev/hdb1
/dev/hdb1:
Magic : a92b4efc
Version : 00.90.00
UUID : ca757311:b1ab612a:948b7fe5:84210c23
Creation Time : Sat Apr 16 14:35:18 2011
Raid Level : raid5
Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
Raid Devices : 5
Total Devices : 4
Preferred Minor : 1

Update Time : Sun Dec 4 16:36:02 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 1
Spare Devices : 0
Checksum : 31f5d032 - correct
Events : 1163572

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 3 3 65 3 active sync /dev/hdb1

0 0 0 0 0 removed
1 1 8 33 1 active sync /dev/sdc1
2 2 8 49 2 active sync /dev/sdd1
3 3 3 65 3 active sync /dev/hdb1
4 4 0 0 4 faulty removed


mdadm -Av /dev/md1 --uuid=ca757311:b1ab612a:948b7fe5:84210c23

mdadm: looking for devices for /dev/md1
mdadm: no RAID superblock on /dev/hdb
mdadm: /dev/hdb has wrong uuid.
mdadm: no RAID superblock on /dev/hda
mdadm: /dev/hda has wrong uuid.
mdadm: no RAID superblock on /dev/sdd
mdadm: /dev/sdd has wrong uuid.
mdadm: no RAID superblock on /dev/sdc
mdadm: /dev/sdc has wrong uuid.
mdadm: no RAID superblock on /dev/sdb3
mdadm: /dev/sdb3 has wrong uuid.
mdadm: cannot open device /dev/sdb2: Device or resource busy
mdadm: /dev/sdb2 has wrong uuid.
mdadm: cannot open device /dev/sdb1: Device or resource busy
mdadm: /dev/sdb1 has wrong uuid.
mdadm: cannot open device /dev/sdb: Device or resource busy
mdadm: /dev/sdb has wrong uuid.
mdadm: no RAID superblock on /dev/sda
mdadm: /dev/sda has wrong uuid.
mdadm: /dev/hdb1 is identified as a member of /dev/md1, slot 3.
mdadm: /dev/hda1 is identified as a member of /dev/md1, slot 4.
mdadm: /dev/sdd1 is identified as a member of /dev/md1, slot 2.
mdadm: /dev/sdc1 is identified as a member of /dev/md1, slot 1.
mdadm: /dev/sda1 is identified as a member of /dev/md1, slot 0.
mdadm: added /dev/sda1 to /dev/md1 as 0
mdadm: added /dev/sdd1 to /dev/md1 as 2
mdadm: added /dev/hdb1 to /dev/md1 as 3
mdadm: added /dev/hda1 to /dev/md1 as 4
mdadm: added /dev/sdc1 to /dev/md1 as 1
mdadm: /dev/md1 assembled from 3 drives - not enough to start the array.


blkid -s UUID
/dev/sda1: UUID="117375ca-2a61-abb1-e57f-8b94230c2184"
/dev/sdb1: UUID="f6a4dbb0-11af-4f8f-b00c-f175700be28b"
/dev/sdb3: UUID="bbeaead1-aa31-4951-be11-7d5558309c4c"
/dev/sdc1: UUID="117375ca-2a61-abb1-e57f-8b94230c2184"
/dev/sdd1: UUID="117375ca-2a61-abb1-e57f-8b94230c2184"
/dev/hda1: UUID="117375ca-2a61-abb1-e57f-8b94230c2184"
/dev/hdb1: UUID="117375ca-2a61-abb1-e57f-8b94230c2184"
mdadm --assemble --update=uuid /dev/md1
mdadm --assemble --update=rsyncd /dev/md1 is helpless



mdadm -A /dev/md1 /dev/hda1
mdadm: no recogniseable superblock on /dev/hda1
mdadm: /dev/hda1 has no superblock - assembly aborted

mdadm -A /dev/md1 /dev/sdd1
mdadm: no recogniseable superblock on /dev/sdd1
mdadm: /dev/sdd1 has no superblock - assembly aborted

I think the problem is that sdd1 and hda1 has something wrong with the superblock and with three good disk, the raid cannot work

Is there any way that can help ?

Thank you very much!


All times are GMT -5. The time now is 10:59 AM.