Re: Server down-failed RAID5-asking for some assistance
From: John Valarti <hidden>
Date: 2011-04-24 07:06:52
On Sat, Apr 23, 2011 at 8:54 PM, NeilBrown [off-list ref] wrote: ..
Could you please run this set of commands exactly as given and send me the complete output. Maybe put them in a file and run sh -x file > /path/on/usb 2>&1 cat /proc/mdstat mdadm --stop --verbose /dev/md1 ls -l /dev/sd[acd]2 mdadm -E /dev/sd[acd]2 mdadm -Afvv /dev/md1 /dev/sd[acd]2 cat /proc/mdstat dmesg | tail -100
Here you go. I warn you it is a bit long!
+ cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
unused devices: <none>
+ mdadm --stop --verbose /dev/md1
mdadm: stopped /dev/md1
+ ls -l /dev/sda2 /dev/sdb2 /dev/sdc2
brw------- 1 root root 8, 2 Apr 23 14:39 /dev/sda2
brw------- 1 root root 8, 18 Apr 23 14:39 /dev/sdb2
brw------- 1 root root 8, 34 Apr 23 14:39 /dev/sdc2
+ mdadm -E /dev/sda2 /dev/sdb2 /dev/sdc2
/dev/sda2:
Magic : a92b4efc
Version : 0.90.00
UUID : ddf4d448:36afa319:f0917855:03f8bbe8
Creation Time : Mon May 15 16:38:05 2006
Raid Level : raid5
Used Dev Size : 244975104 (233.63 GiB 250.85 GB)
Array Size : 734925312 (700.88 GiB 752.56 GB)
Raid Devices : 4
Total Devices : 3
Preferred Minor : 1
Update Time : Mon Apr 18 07:48:54 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 1
Spare Devices : 0
Checksum : 5674ce60 - correct
Events : 28580020
Layout : left-symmetric
Chunk Size : 256K
Number Major Minor RaidDevice State
this 1 8 18 1 active sync /dev/sdb2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
2 2 8 34 2 active sync /dev/sdc2
3 3 0 0 3 faulty removed
/dev/sdb2:
Magic : a92b4efc
Version : 0.90.00
UUID : ddf4d448:36afa319:f0917855:03f8bbe8
Creation Time : Mon May 15 16:38:05 2006
Raid Level : raid5
Used Dev Size : 244975104 (233.63 GiB 250.85 GB)
Array Size : 734925312 (700.88 GiB 752.56 GB)
Raid Devices : 4
Total Devices : 3
Preferred Minor : 1
Update Time : Mon Apr 18 07:48:51 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 1
Spare Devices : 0
Checksum : 5674ce6b - correct
Events : 28580018
Layout : left-symmetric
Chunk Size : 256K
Number Major Minor RaidDevice State
this 2 8 34 2 active sync /dev/sdc2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
2 2 8 34 2 active sync /dev/sdc2
3 3 0 0 3 faulty removed
/dev/sdc2:
Magic : a92b4efc
Version : 0.90.00
UUID : ddf4d448:36afa319:f0917855:03f8bbe8
Creation Time : Mon May 15 16:38:05 2006
Raid Level : raid5
Used Dev Size : 244975104 (233.63 GiB 250.85 GB)
Array Size : 734925312 (700.88 GiB 752.56 GB)
Raid Devices : 4
Total Devices : 3
Preferred Minor : 1
Update Time : Mon Apr 18 07:48:54 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 1
Spare Devices : 0
Checksum : 5674ce4e - correct
Events : 28580020
Layout : left-symmetric
Chunk Size : 256K
Number Major Minor RaidDevice State
this 0 8 2 0 active sync /dev/sda2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
2 2 8 34 2 active sync /dev/sdc2
3 3 0 0 3 faulty removed
+ mdadm -Afvv /dev/md1 /dev/sda2 /dev/sdb2 /dev/sdc2
mdadm: looking for devices for /dev/md1
mdadm: no devices found for /dev/md1
+ cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
unused devices: <none>
+ dmesg
+ tail -100
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<6> sdd: sdd1
<5>sd 3:0:0:0: Attached scsi removable disk sdd
<7>usb-storage: device scan complete
<7>SELinux: initialized (dev sdd1, type vfat), uses genfs_contexts
<6>md: md0 stopped.
<6>md: md0 stopped.
<6>usb 1-3: USB disconnect, address 3
<6>md: md1 stopped.
<6>usb 1-3: new high speed USB device using ehci_hcd and address 4
<6>usb 1-3: configuration #1 chosen from 1 choice
<6>scsi4 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 4
<7>usb-storage: waiting for device to settle before scanning
<5> Vendor: Kingston Model: DataTraveler R Rev: PMAP
<5> Type: Direct-Access ANSI SCSI revision: 00
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<6> sdd: sdd1
<5>sd 4:0:0:0: Attached scsi removable disk sdd
<7>usb-storage: device scan complete
<7>SELinux: initialized (dev sdd1, type vfat), uses genfs_contexts
<6>usb 1-3: USB disconnect, address 4
<6>usb 1-3: new high speed USB device using ehci_hcd and address 5
<6>usb 1-3: configuration #1 chosen from 1 choice
<6>scsi5 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 5
<7>usb-storage: waiting for device to settle before scanning
<5> Vendor: Kingston Model: DataTraveler R Rev: PMAP
<5> Type: Direct-Access ANSI SCSI revision: 00
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<6> sdd: sdd1
<5>sd 5:0:0:0: Attached scsi removable disk sdd
<7>usb-storage: device scan complete
<7>SELinux: initialized (dev sdd1, type vfat), uses genfs_contexts
<6>usb 1-3: USB disconnect, address 5
<6>usb 1-3: new high speed USB device using ehci_hcd and address 6
<6>usb 1-3: configuration #1 chosen from 1 choice
<6>scsi6 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 6
<7>usb-storage: waiting for device to settle before scanning
<5> Vendor: Kingston Model: DataTraveler R Rev: PMAP
<5> Type: Direct-Access ANSI SCSI revision: 00
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<6> sdd: sdd1
<5>sd 6:0:0:0: Attached scsi removable disk sdd
<7>usb-storage: device scan complete
<7>SELinux: initialized (dev sdd1, type vfat), uses genfs_contexts
<6>usb 1-3: USB disconnect, address 6
<6>md: md1 stopped.
<6>md: md1 stopped.
<6>md: md1 stopped.
<6>md: md1 stopped.
<6>usb 1-3: new high speed USB device using ehci_hcd and address 7
<6>usb 1-3: configuration #1 chosen from 1 choice
<6>scsi7 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 7
<7>usb-storage: waiting for device to settle before scanning
<5> Vendor: Kingston Model: DataTraveler R Rev: PMAP
<5> Type: Direct-Access ANSI SCSI revision: 00
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<5>SCSI device sdd: 2030592 512-byte hdwr sectors (1040 MB)
<5>sdd: Write Protect is off
<7>sdd: Mode Sense: 23 00 00 00
<3>sdd: assuming drive cache: write through
<6> sdd: sdd1
<5>sd 7:0:0:0: Attached scsi removable disk sdd
<7>usb-storage: device scan complete
<7>SELinux: initialized (dev sdd1, type vfat), uses genfs_contexts
<6>md: md1 stopped.
<6>md: md1 stopped.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html