SandRock |
10-13-2008 04:49 AM |
Quote:
Originally Posted by mostlyharmless
(Post 3307799)
Well, sorry, didn't know you already had 800 G of data on board; I wouldn't think you'd want to fdisk it all away.
If I understand the situation, when you setup up the array, you hadn't booted and the drives were recognized, now you've rebooted and they are not, because you've wiped the partition table with mdadm.
|
Not really
- for ~10 months, all was okay, md0 (sdd & sde) and md1 (sdb & sdc) were mounting at boot-time
- ~1 month ago, I needed to temporarily connect some hdd, so I unplugged sdb and sdc (hdd of md1) and plugged some other hdd. After using the others hdd, I replugged sdb and sdc. Since this moment, md1 does not assemble anymore.
Quote:
Originally Posted by mostlyharmless
(Post 3307799)
dmesg says nothing about the drives? Not the mdadm part, but earlier, something like (e.g.):
|
Code:
[ 3.702092] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 3.702083] ata1.00: HPA detected: current 488395055, native 488397168
[ 3.702083] ata1.00: ATA-7: ST3250620NS, 3.AEK, max UDMA/133
[ 3.702083] ata1.00: 488395055 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 3.804420] ata1.00: configured for UDMA/133
[ 4.288156] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.308592] ata2.00: HPA detected: current 976771055, native 976773168
[ 4.308592] ata2.00: ATA-8: SAMSUNG HD501LJ, CR100-10, max UDMA7
[ 4.308592] ata2.00: 976771055 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 4.312134] ata2.00: configured for UDMA/133
[ 5.023704] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 5.028150] ata3.00: HPA detected: current 976771055, native 976773168
[ 5.028150] ata3.00: ATA-8: SAMSUNG HD501LJ, CR100-10, max UDMA7
[ 5.028150] ata3.00: 976771055 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 5.034564] ata3.00: configured for UDMA/133
[ 5.644151] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 5.657951] ata4.00: ATA-8: SAMSUNG HD501LJ, CR100-12, max UDMA7
[ 5.657951] ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 5.960140] ata4.00: configured for UDMA/133
[ 6.439946] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 6.440406] ata5.00: ATA-8: SAMSUNG HD501LJ, CR100-11, max UDMA7
[ 6.440406] ata5.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 6.445790] ata5.00: configured for UDMA/133
[ 6.900041] ata6: SATA link down (SStatus 0 SControl 300)
[ 6.900121] scsi 0:0:0:0: Direct-Access ATA ST3250620NS 3.AE PQ: 0 ANSI: 5
[ 6.900245] scsi 1:0:0:0: Direct-Access ATA SAMSUNG HD501LJ CR10 PQ: 0 ANSI: 5
[ 6.900331] scsi 2:0:0:0: Direct-Access ATA SAMSUNG HD501LJ CR10 PQ: 0 ANSI: 5
[ 6.900402] scsi 3:0:0:0: Direct-Access ATA SAMSUNG HD501LJ CR10 PQ: 0 ANSI: 5
[ 6.900474] scsi 4:0:0:0: Direct-Access ATA SAMSUNG HD501LJ CR10 PQ: 0 ANSI: 5
...
[ 10.633691] Driver 'sd' needs updating - please use bus_type methods
[ 10.633691] sd 0:0:0:0: [sda] 488395055 512-byte hardware sectors (250058 MB)
[ 10.633691] sd 0:0:0:0: [sda] Write Protect is off
[ 10.633691] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 10.633691] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.633691] sd 0:0:0:0: [sda] 488395055 512-byte hardware sectors (250058 MB)
[ 10.633691] sd 0:0:0:0: [sda] Write Protect is off
[ 10.633691] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 10.633691] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.633691] sda: sda1 sda2 sda3 sda4
[ 10.649699] sd 0:0:0:0: [sda] Attached SCSI disk
[ 10.649699] sd 1:0:0:0: [sdb] 976771055 512-byte hardware sectors (500107 MB)
[ 10.649699] sd 1:0:0:0: [sdb] Write Protect is off
[ 10.649699] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 10.649699] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.649699] sd 1:0:0:0: [sdb] 976771055 512-byte hardware sectors (500107 MB)
[ 10.649699] sd 1:0:0:0: [sdb] Write Protect is off
[ 10.649699] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 10.649699] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.649699] sdb: unknown partition table
[ 10.716114] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 10.716114] sd 2:0:0:0: [sdc] 976771055 512-byte hardware sectors (500107 MB)
[ 10.716114] sd 2:0:0:0: [sdc] Write Protect is off
[ 10.716114] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 10.716114] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.716114] sd 2:0:0:0: [sdc] 976771055 512-byte hardware sectors (500107 MB)
[ 10.716114] sd 2:0:0:0: [sdc] Write Protect is off
[ 10.716114] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 10.716114] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.716114] sdc: unknown partition table
[ 10.736108] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 10.736108] sd 3:0:0:0: [sdd] 976773168 512-byte hardware sectors (500108 MB)
[ 10.736108] sd 3:0:0:0: [sdd] Write Protect is off
[ 10.736108] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[ 10.736108] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.736108] sd 3:0:0:0: [sdd] 976773168 512-byte hardware sectors (500108 MB)
[ 10.736108] sd 3:0:0:0: [sdd] Write Protect is off
[ 10.736108] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[ 10.736108] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.736108] sdd: sdd1
[ 10.763286] sd 3:0:0:0: [sdd] Attached SCSI disk
[ 10.763336] sd 4:0:0:0: [sde] 976773168 512-byte hardware sectors (500108 MB)
[ 10.763349] sd 4:0:0:0: [sde] Write Protect is off
[ 10.763351] sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
[ 10.763372] sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.763412] sd 4:0:0:0: [sde] 976773168 512-byte hardware sectors (500108 MB)
[ 10.763424] sd 4:0:0:0: [sde] Write Protect is off
[ 10.763426] sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
[ 10.763447] sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.763450] sde: sde1
[ 10.810088] sd 4:0:0:0: [sde] Attached SCSI disk
[ 11.030798] md: raid0 personality registered for level 0
[ 11.035903] md: md0 stopped.
[ 11.057620] md: bind<sde1>
[ 11.059912] md: bind<sdd1>
[ 11.063928] md0: setting max_sectors to 128, segment boundary to 32767
[ 11.063928] raid0: looking at sdd1
[ 11.063928] raid0: comparing sdd1(488383936) with sdd1(488383936)
[ 11.063928] raid0: END
[ 11.063928] raid0: ==> UNIQUE
[ 11.063928] raid0: 1 zones
[ 11.063928] raid0: looking at sde1
[ 11.063928] raid0: comparing sde1(488383936) with sdd1(488383936)
[ 11.063928] raid0: EQUAL
[ 11.063928] raid0: FINAL 1 zones
[ 11.063928] raid0: done.
[ 11.063928] raid0 : md_size is 976767872 blocks.
[ 11.063928] raid0 : conf->hash_spacing is 976767872 blocks.
[ 11.063928] raid0 : nb_zone is 1.
[ 11.063928] raid0 : Allocating 8 bytes for hash.
[ 11.063983] md: md1 stopped.
Here is everything related to disks from dmesg. Everything seems ok.
Quote:
Originally Posted by mostlyharmless
(Post 3307799)
And is there anything in /dev/disk to suggest how the system sees the disks?
|
Hmm, the disks seems ok (ls -l /dev/disk/by-id/):
Code:
lrwxrwxrwx 1 root root 9 2008-10-08 21:10 scsi-SATA_ST3250620NS_5QE4VRPE -> ../../sda
lrwxrwxrwx 1 root root 10 2008-10-08 21:10 scsi-SATA_ST3250620NS_5QE4VRPE-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-10-08 21:10 scsi-SATA_ST3250620NS_5QE4VRPE-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-10-08 21:10 scsi-SATA_ST3250620NS_5QE4VRPE-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2008-10-08 21:10 scsi-SATA_ST3250620NS_5QE4VRPE-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 2008-10-08 21:10 scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP803815 -> ../../sdb
lrwxrwxrwx 1 root root 9 2008-10-08 21:10 scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP803816 -> ../../sdc
lrwxrwxrwx 1 root root 9 2008-10-08 21:10 scsi-SATA_SAMSUNG_HD501LJS0MUJ1FPB84229 -> ../../sdd
lrwxrwxrwx 1 root root 10 2008-10-08 21:10 scsi-SATA_SAMSUNG_HD501LJS0MUJ1FPB84229-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 2008-10-08 21:10 scsi-SATA_SAMSUNG_HD501LJS0MUJ1EP926433 -> ../../sde
lrwxrwxrwx 1 root root 10 2008-10-08 21:10 scsi-SATA_SAMSUNG_HD501LJS0MUJ1EP926433-part1 -> ../../sde1
Quote:
Originally Posted by mostlyharmless
(Post 3307799)
Does fdisk /dev/sdb find the device? You can use it without writing.
|
fdisk found it. What info could I get with that? I already posted a fdisk -l
PS: I don't think it changes anything but when assembled, both array md0 & md1 are LUKS partitions... (sda[2-4] too)
|