View previous topic :: View next topic |
Author |
Message |
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Mon Oct 08, 2007 4:13 am Post subject: {SOLVED] Cannot Rebuild Raid??? Unknow Partition Tables? |
|
|
I am having trouble rebuilding my raid array after putting my computer into a new case.
Code: | UmHelp chris # mdadm --assemble /dev/md0 /dev/sdc1 /dev/sde1 /dev/sdf1
mdadm: cannot open device /dev/sde1: No such file or directory
mdadm: /dev/sde1 has no superblock - assembly aborted |
It isn't building because the /dev/sde1 & /dev/sdf1 do not exist.
Code: | 3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xfa9ff000, IRQ: 18.
3w-9xxx: scsi0: Firmware FE9X 3.08.02.005, BIOS BE9X 3.08.00.002, Ports: 4.
scsi 0:0:0:0: Direct-Access AMCC 9650SE-4LP DISK 3.08 PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access AMCC 9650SE-4LP DISK 3.08 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 624977920 512-byte hardware sectors (319989 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 624977920 512-byte hardware sectors (319989 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:1:0: [sdb] 624977920 512-byte hardware sectors (319989 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 23 00 00 00
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
sd 0:0:1:0: [sdb] 624977920 512-byte hardware sectors (319989 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 23 00 00 00
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
sdb: sdb1 sdb2
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:1:0: Attached scsi generic sg1 type 0
ahci 0000:00:1f.2: version 2.2
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 23 (level, low) -> IRQ 16
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
ata1: SATA max UDMA/133 cmd 0xf8826900 ctl 0x00000000 bmdma 0x00000000 irq 215
ata2: SATA max UDMA/133 cmd 0xf8826980 ctl 0x00000000 bmdma 0x00000000 irq 215
ata3: SATA max UDMA/133 cmd 0xf8826a00 ctl 0x00000000 bmdma 0x00000000 irq 215
ata4: SATA max UDMA/133 cmd 0xf8826a80 ctl 0x00000000 bmdma 0x00000000 irq 215
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-6: External Disk 0, RGL10364, max UDMA/133
ata2.00: 1465149168 sectors, multi 1: LBA48
ata2.00: configured for UDMA/133
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATA-7: WDC WD1500ADFD-00NLR1, 20.07P20, max UDMA/133
ata3.00: 293046768 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata3.00: configured for UDMA/133
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-7: ST3750640AS, 3.AAC, max UDMA/133
ata4.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/133
scsi 2:0:0:0: Direct-Access ATA External Disk 0 RGL1 PQ: 0 ANSI: 5
sd 2:0:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdc: sdc1
sd 2:0:0:0: [sdc] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
scsi 3:0:0:0: Direct-Access ATA WDC WD1500ADFD-0 20.0 PQ: 0 ANSI: 5
sd 3:0:0:0: [sdd] 293046768 512-byte hardware sectors (150040 MB)
sd 3:0:0:0: [sdd] Write Protect is off
sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdd] 293046768 512-byte hardware sectors (150040 MB)
sd 3:0:0:0: [sdd] Write Protect is off
sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdd: sdd1 sdd2 sdd3 sdd4
sd 3:0:0:0: [sdd] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg3 type 0
scsi 4:0:0:0: Direct-Access ATA ST3750640AS 3.AA PQ: 0 ANSI: 5
sd 4:0:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 4:0:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sde: unknown partition table
sd 4:0:0:0: [sde] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg4 type 0
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 20
ahci 0000:03:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part
PCI: Setting latency timer of device 0000:03:00.0 to 64
scsi5 : ahci
scsi6 : ahci
ata5: SATA max UDMA/133 cmd 0xf8838100 ctl 0x00000000 bmdma 0x00000000 irq 20
ata6: SATA max UDMA/133 cmd 0xf8838180 ctl 0x00000000 bmdma 0x00000000 irq 20
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata6.00: ATA-7: ST3750640AS, 3.AAC, max UDMA/133
ata6.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata6.00: configured for UDMA/133
scsi 6:0:0:0: Direct-Access ATA ST3750640AS 3.AA PQ: 0 ANSI: 5
sd 6:0:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
sd 6:0:0:0: [sdf] Write Protect is off
sd 6:0:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 6:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 6:0:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
sd 6:0:0:0: [sdf] Write Protect is off
sd 6:0:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 6:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdf: unknown partition table
sd 6:0:0:0: [sdf] Attached SCSI disk
sd 6:0:0:0: Attached scsi generic sg5 type 0
|
I guess my problem lies with the "sde: unknown partition table" with sde and sdf??? Anyway to fix this so I can get my data off?
Last edited by Um_Help on Mon Oct 08, 2007 7:14 pm; edited 1 time in total |
|
Back to top |
|
|
snIP3r l33t
Joined: 21 May 2004 Posts: 853 Location: germany
|
Posted: Mon Oct 08, 2007 6:12 am Post subject: |
|
|
hi!
according to the output of "dmesg" i think, your hardware is available (sde and sdf are physically available). You posted that you put your computer in a new case. did you plug in the harddrives to the former sata connectors?? this could be a reason for the "/dev/sde1 has no superblock" message.
you could also check if the partition is still there with
HTH
snIP3r _________________ Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic! |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 540 Location: Cambridge, UK
|
Posted: Mon Oct 08, 2007 11:29 am Post subject: |
|
|
Bit of a longshot, but did you really use sd[ef]1 partitions for the array and not the actual raw block device?
try running
Code: | mdadm --examine /dev/sd[ef] |
Cheers
ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Mon Oct 08, 2007 1:26 pm Post subject: |
|
|
snIP3r wrote: | hi!
according to the output of "dmesg" i think, your hardware is available (sde and sdf are physically available). You posted that you put your computer in a new case. did you plug in the harddrives to the former sata connectors?? this could be a reason for the "/dev/sde1 has no superblock" message.
you could also check if the partition is still there with
HTH
snIP3r |
Yea the partitions are shot.
Code: | Command (m for help): p
Disk /dev/sde: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): v
1465149167 unallocated sectors
|
Their should be partitions there. When I was making the array I did use partitions on the drives. Can I recover the partitions somehow without wiping my data? |
|
Back to top |
|
|
snIP3r l33t
Joined: 21 May 2004 Posts: 853 Location: germany
|
Posted: Mon Oct 08, 2007 2:22 pm Post subject: |
|
|
hi um_help!
your partition table is corrupted. try the "gpart" utility. there is an option to guess the partitions. perhaps it fixes your problem.
you can also try this link http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Partition-Rescue.html#AEN107 - it might help you but its very old...
HTH
snIP3r _________________ Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic! |
|
Back to top |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Mon Oct 08, 2007 2:51 pm Post subject: |
|
|
I am running gpart on one of my disks it looks like its gonna take a few hours so I will post my results with its done. If only my smaller drives got corrupted 750gigs takes forever to scan.
Thanks for the help |
|
Back to top |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Mon Oct 08, 2007 5:59 pm Post subject: |
|
|
Code: | UmHelp chris # gpart /dev/sde
Begin scan...
End scan.
Checking partitions...
Ok.
Guessed primary partition table:
Primary partition(1)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(2)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r |
I don't really know exactly what this means but it doesn't look to promising. What can I do with this now?
Here is what I get from the working drive:
Code: | UmHelp chris # gpart /dev/sdc -vd
dev(/dev/sdc) mss(512) chs(91201/255/63)(LBA) #s(1465144065) size(715402mb)
Primary partition(1)
type: 131(0x83)(Linux ext2 filesystem) (BOOT)
size: 715402mb #s(1465144002) s(63-1465144064)
chs: (0/1/1)-(1023/254/63)d (0/1/1)-(91200/254/63)r
hex: 80 01 01 00 83 FE FF FF 3F 00 00 00 C2 52 54 57
Primary partition(2)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
Here is the output from the other broken drive:
Code: | UmHelp chris # gpart /dev/sdf -vd
dev(/dev/sdf) mss(512) chs(91201/255/63)(LBA) #s(1465144065) size(715402mb)
* Warning: strange partition table magic 0x0000.
Primary partition(1)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Primary partition(2)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
When I first built this RAID I only used one XFS partition that covers the whole drive. |
|
Back to top |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Mon Oct 08, 2007 8:16 pm Post subject: |
|
|
Fixed my problems. I re-wrote the partition tables with fdisk and set the partition type to fd and mounted and so far everything works great. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|