Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › HELPP need to restore raid5 using Knoppix
New Posts  All Forums:Forum Nav:

HELPP need to restore raid5 using Knoppix - Page 2

post #11 of 39
Thread Starter 
Quote:
Originally Posted by error10 View Post
Well, you didn't post anything you did here, so now you're going to have to do it all over again and paste here if you want any help. :\\

So, pop your Fedora live CD back in. First thing to paste is the results of:

Code:
su -  # you need to be root
fdisk -l
cat /proc/mdstat
mdadm --examine /dev/sd[a-h]*
I'm not in the office right now but I could get it posted tonight. you have sd[a-h]* would that throw an error because I don't have that many drives? I only have from a-d
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
post #12 of 39
Quote:
Originally Posted by da tick 07 View Post
I'm not in the office right now but I could get it posted tonight. you have sd[a-h]* would that throw an error because I don't have that many drives? I only have from a-d
OK, make it a-d then, otherwise paste it exactly
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #13 of 39
Thread Starter 
Quote:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000266ce

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xd51d2452

Device Boot Start End Blocks Id System
/dev/sdb1 1 417689 208844+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
/dev/sdb2 417690 2506139 1044225 fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
/dev/sdb3 2506140 2827439 160650 fd Linux raid autodetect
Partition 3 does not start on physical sector boundary.
/dev/sdb4 2827440 1953520064 975346312+ fd Linux raid autodetect

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x22bb2b14

Device Boot Start End Blocks Id System
/dev/sdc1 1 417689 208844+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
/dev/sdc2 417690 2506139 1044225 fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
/dev/sdc3 2506140 2827439 160650 fd Linux raid autodetect
Partition 3 does not start on physical sector boundary.
/dev/sdc4 2827440 1953520064 975346312+ fd Linux raid autodetect

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x07be0577

Device Boot Start End Blocks Id System
/dev/sdd1 1 417689 208844+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
/dev/sdd2 417690 2506139 1044225 fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
/dev/sdd3 2506140 2827439 160650 fd Linux raid autodetect
Partition 3 does not start on physical sector boundary.
/dev/sdd4 2827440 1953520064 975346312+ fd Linux raid autodetect

Disk /dev/dm-0: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md126 : inactive sdc4[2](S) sdd4[3](S)
1950692480 blocks

md127 : inactive sda[4]
976761560 blocks super 1.2
[root@localhost ~]# mdadm --examine /dev/sd[a-h]*
Quote:
/dev/sda:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d222e668:1f503abe:037593dd:10e51715
Name : Microknoppix:0
Creation Time : Fri Apr 29 13:51:13 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 1953523120 (931.51 GiB 1000.20 GB)
Array Size : 1250304 (610.60 MiB 640.16 MB)
Used Dev Size : 416768 (203.53 MiB 213.39 MB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 7086a54b:f49c263d:6a33cfbd:a0a9157a

Update Time : Fri Apr 29 13:51:20 2011
Checksum : ed1055a7 - correct
Events : 18

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 3
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdb:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : fa6cdac7:2c640070:950034b7:756c3e9a
Name : Microknoppix:5
Creation Time : Fri Apr 29 12:31:16 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 1953523120 (931.51 GiB 1000.20 GB)
Array Size : 5860568064 (2794.54 GiB 3000.61 GB)
Used Dev Size : 1953522688 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : c46dcaad:d5ee9200:3c0210ad:3a2e054c

Update Time : Fri Apr 29 13:06:33 2011
Checksum : b7be4322 - expected 4a8f1157
Events : 4

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 0
Array State : ???A ('A' == active, '.' == missing)
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d222e668:1f503abe:037593dd:10e51715
Name : Microknoppix:0
Creation Time : Fri Apr 29 13:51:13 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 416769 (203.53 MiB 213.39 MB)
Array Size : 1250304 (610.60 MiB 640.16 MB)
Used Dev Size : 416768 (203.53 MiB 213.39 MB)
Data Offset : 920 sectors
Super Offset : 8 sectors
State : clean
Device UUID : eda94313:966dc646:34b8afcd:c34f3969

Update Time : Fri Apr 29 13:51:20 2011
Checksum : 48e8669a - correct
Events : 18

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 2
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdb2:
Magic : a92b4efc
Version : 0.90.00
UUID : 800d77b9:566e83f7:81370676:5089b8d2
Creation Time : Mon Mar 22 01:34:53 2010
Raid Level : raid1
Used Dev Size : 1044160 (1019.86 MiB 1069.22 MB)
Array Size : 1044160 (1019.86 MiB 1069.22 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 1

Update Time : Wed Apr 27 16:13:01 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : eada8e11 - correct
Events : 101611


Number Major Minor RaidDevice State
this 1 8 18 1 active sync /dev/sdb2

0 0 8 2 0 active sync
1 1 8 18 1 active sync /dev/sdb2
2 2 8 34 2 active sync /dev/sdc2
3 3 8 50 3 active sync /dev/sdd2
mdadm: No md superblock detected on /dev/sdb3.
/dev/sdb4:
Magic : a92b4efc
Version : 0.90.00
UUID : 9ce1e559:18c9bccc:d907cd6f:aa58dece
Creation Time : Mon Mar 22 01:46:30 2010
Raid Level : raid5
Used Dev Size : 975146112 (929.97 GiB 998.55 GB)
Array Size : 2925438336 (2789.92 GiB 2995.65 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 2

Update Time : Wed Apr 27 16:09:53 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : b6ea2a64 - correct
Events : 10043769

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 1 8 20 1 active sync /dev/sdb4

0 0 8 4 0 active sync
1 1 8 20 1 active sync /dev/sdb4
2 2 8 36 2 active sync /dev/sdc4
3 3 8 52 3 active sync /dev/sdd4
/dev/sdc:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : fa6cdac7:2c640070:950034b7:756c3e9a
Name : Microknoppix:5
Creation Time : Fri Apr 29 12:31:16 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 1953523120 (931.51 GiB 1000.20 GB)
Array Size : 5860568064 (2794.54 GiB 3000.61 GB)
Used Dev Size : 1953522688 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 99125f5a:a655d340:eaaac7fc:4086dc9e

Update Time : Fri Apr 29 13:06:33 2011
Checksum : 47224f7e - expected 504cfda5
Events : 4

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 1
Array State : ???A ('A' == active, '.' == missing)
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d222e668:1f503abe:037593dd:10e51715
Name : Microknoppix:0
Creation Time : Fri Apr 29 13:51:13 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 416769 (203.53 MiB 213.39 MB)
Array Size : 1250304 (610.60 MiB 640.16 MB)
Used Dev Size : 416768 (203.53 MiB 213.39 MB)
Data Offset : 920 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 57a29571:9fb530b2:a5fde54e:d9b97359

Update Time : Fri Apr 29 13:51:20 2011
Checksum : 84155693 - correct
Events : 18

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 1
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdc2:
Magic : a92b4efc
Version : 0.90.00
UUID : 800d77b9:566e83f7:81370676:5089b8d2
Creation Time : Mon Mar 22 01:34:53 2010
Raid Level : raid1
Used Dev Size : 1044160 (1019.86 MiB 1069.22 MB)
Array Size : 1044160 (1019.86 MiB 1069.22 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 1

Update Time : Wed Apr 27 16:13:01 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : eada8e23 - correct
Events : 101611


Number Major Minor RaidDevice State
this 2 8 34 2 active sync /dev/sdc2

0 0 8 2 0 active sync
1 1 8 18 1 active sync /dev/sdb2
2 2 8 34 2 active sync /dev/sdc2
3 3 8 50 3 active sync /dev/sdd2
mdadm: No md superblock detected on /dev/sdc3.
/dev/sdc4:
Magic : a92b4efc
Version : 0.90.00
UUID : 9ce1e559:18c9bccc:d907cd6f:aa58dece
Creation Time : Mon Mar 22 01:46:30 2010
Raid Level : raid5
Used Dev Size : 975146112 (929.97 GiB 998.55 GB)
Array Size : 2925438336 (2789.92 GiB 2995.65 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 2

Update Time : Wed Apr 27 16:10:08 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : b6ea2a87 - correct
Events : 10043769

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 2 8 36 2 active sync /dev/sdc4

0 0 8 4 0 active sync
1 1 8 20 1 active sync /dev/sdb4
2 2 8 36 2 active sync /dev/sdc4
3 3 8 52 3 active sync /dev/sdd4
/dev/sdd:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : fa6cdac7:2c640070:950034b7:756c3e9a
Name : Microknoppix:5
Creation Time : Fri Apr 29 12:31:16 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 1953523120 (931.51 GiB 1000.20 GB)
Array Size : 5860568064 (2794.54 GiB 3000.61 GB)
Used Dev Size : 1953522688 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : d3a4f5fe:5f95a288:fd4b18d2:5c9c458b

Update Time : Fri Apr 29 13:06:33 2011
Checksum : f541d8a1 - expected cc9f9052
Events : 4

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 2
Array State : ???A ('A' == active, '.' == missing)
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d222e668:1f503abe:037593dd:10e51715
Name : Microknoppix:0
Creation Time : Fri Apr 29 13:51:13 2011
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 416769 (203.53 MiB 213.39 MB)
Array Size : 1250304 (610.60 MiB 640.16 MB)
Used Dev Size : 416768 (203.53 MiB 213.39 MB)
Data Offset : 920 sectors
Super Offset : 8 sectors
State : clean
Device UUID : ea7419cb:436bed07:4f103ee8:bda3f4f7

Update Time : Fri Apr 29 13:51:20 2011
Checksum : 6b2edb58 - correct
Events : 18

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 0
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdd2:
Magic : a92b4efc
Version : 0.90.00
UUID : 800d77b9:566e83f7:81370676:5089b8d2
Creation Time : Mon Mar 22 01:34:53 2010
Raid Level : raid1
Used Dev Size : 1044160 (1019.86 MiB 1069.22 MB)
Array Size : 1044160 (1019.86 MiB 1069.22 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 1

Update Time : Wed Apr 27 16:13:01 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : eada8e35 - correct
Events : 101611


Number Major Minor RaidDevice State
this 3 8 50 3 active sync /dev/sdd2

0 0 8 2 0 active sync
1 1 8 18 1 active sync /dev/sdb2
2 2 8 34 2 active sync /dev/sdc2
3 3 8 50 3 active sync /dev/sdd2
mdadm: No md superblock detected on /dev/sdd3.
/dev/sdd4:
Magic : a92b4efc
Version : 0.90.00
UUID : 9ce1e559:18c9bccc:d907cd6f:aa58dece
Creation Time : Mon Mar 22 01:46:30 2010
Raid Level : raid5
Used Dev Size : 975146112 (929.97 GiB 998.55 GB)
Array Size : 2925438336 (2789.92 GiB 2995.65 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 2

Update Time : Wed Apr 27 16:09:53 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : b6ea2a88 - correct
Events : 10043769

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 3 8 52 3 active sync /dev/sdd4

0 0 8 4 0 active sync
1 1 8 20 1 active sync /dev/sdb4
2 2 8 36 2 active sync /dev/sdc4
3 3 8 52 3 active sync /dev/sdd4
The first quote appears when entering superuser mode and then the second when the command is entered. Device sda is the "dead" hard drive. Thanks
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
post #14 of 39
Yep, I can see that /dev/sda failed. Looks like something also happened to /dev/sdb too, but I'm not entirely sure what. The array SHOULD have come up in degraded mode with 3 of the 4 disks.

So let's try bringing it up in degraded mode:

Code:
mdadm --assemble --run --force /dev/md0 /dev/sdb4 /dev/sdc4 /dev/sdd4
If that works it'll print something like: "mdadm: /dev/md0 has been started with 3 drives". Move on to:

Code:
mount -o ro /dev/md0 /mnt
This will mount the degraded array read-only and let you start moving files off it onto some other media. If you had a trustworthy /dev/sda then I'd consider rebuilding the array, but that will come later after you get a fresh drive back from WD.

If mdadm command above DOESN'T work, paste any output you get.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #15 of 39
Thread Starter 
This is the output:
mount: you must specify the filesystem type
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
post #16 of 39
Quote:
Originally Posted by da tick 07 View Post
This is the output:
mount: you must specify the filesystem type
What was the output from the mdadm command?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #17 of 39
Thread Starter 
It just said that 3 out of the 4 drives were in the raid array and that it was successful
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
post #18 of 39
Quote:
Originally Posted by da tick 07 View Post
It just said that 3 out of the 4 drives were in the raid array and that it was successful
OK, guess we really do need the filesystem type:

Code:
mount -t ext3 -o ro /dev/md0 /mnt
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #19 of 39
Thread Starter 
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I'm pretty sure the filetype should be ext2 but I tried that and it didn't work. It didn't display anything either
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
Mitx Love
(13 items)
 
  
CPUMotherboardRAMHard Drive
Pentium G6950 Zotac H55 ITX 2x2GB Kingston 500GB Hitachi 
OSPowerMouseMouse Pad
Windows Server 2008 R2 Lite-on 300w Logitech Wireless Laser ULTRA wrist rest 
  hide details  
Reply
post #20 of 39
Quote:
Originally Posted by da tick 07 View Post
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I'm pretty sure the filetype should be ext2 but I tried that and it didn't work. It didn't display anything either
OK, as I suspected the filesystem itself is damaged. In addition to a drive being missing. So we'll have to try to recover it.

Run:

Code:
testdisk /dev/md0
(If TestDisk isn't installed, you'll have to either install it, or find a Live CD which includes it, as I originally suggested.)

Choose Proceed on the first screen. On the partition type screen choose None. On the next screen, go down to Advanced and choose that. Then choose Superblock. At that point it will start scanning the array for superblock backups. This could take a few minutes. The output should look something like this:

Code:
superblock 32768, blocksize=4096 []                                             
superblock 98304, blocksize=4096 []                                             
superblock 163840, blocksize=4096 []                                            
superblock 229376, blocksize=4096 []                                            
superblock 294912, blocksize=4096 []                                            
superblock 819200, blocksize=4096 []                                            
superblock 884736, blocksize=4096 []                                            
superblock 1605632, blocksize=4096 []                                           
superblock 2654208, blocksize=4096 []
Write down the blocksize, and several of the superblock backup numbers. Then quit out of TestDisk.

Now, you will pick one of the superblock numbers and run:

Code:
fsck.ext3 -b superblock -B blocksize /dev/md0
This will certainly take a long time and ask a lot of questions. For about 99.9% of them you can just safely answer yes. (The very rare ones where yes is not a safe answer are blatantly obvious.)

If something doesn't happen exactly as described here, copy and paste everything into a new message below.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › HELPP need to restore raid5 using Knoppix