Skip to contentSkip to conversation

Help Root Raid

DISCUSSION Pankaj Agarwal 2 participants 6 messages Aug 19, 2004 – Aug 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I need your help regarding root raid. I have a root raid implemented server and it not booting anymore. I tried to use that harddisc as secondary hard disk to on of my other linux installation..so i can take a backup of files. The other installation has raid precompiled....as in booting process it checks for raid arays and at shutdown it gives messages regarding md devices. however it doesn't show any dev in lsdev or /proc/mdstat. My problem is when i try to mount it using "mount -t ext2 /dev/md0 /mnt/hdc1" it gives me error as "wronf fs, bad option, bad superblock on /dev/md0.........................(aren't you trying to mount a block device on a logical device)". Kindly show me the way to mount the filesystem.

thanks and regards,

Pankaj Agarwal

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 12 lines · Pankaj Agarwal

Hi,

I need your help regarding root raid. I have a root raid implemented server and it not booting anymore. I tried to use that harddisc as secondary hard disk to on of my other linux installation..so i can take a backup of files. The other installation has raid precompiled....as in booting process it checks for raid arays and at shutdown it gives messages regarding md devices. however it doesn't show any dev in lsdev or /proc/mdstat. My problem is when i try to mount it using "mount -t ext2 /dev/md0 /mnt/hdc1" it gives me error as "wronf fs, bad option, bad superblock on /dev/md0.........................(aren't you trying to mount a block device on a logical device)". Kindly show me the way to mount the filesystem.

Hello, Pankaj.

Probably you are not starting your RAID. You can check it with
cat /proc/mdstat. If not, well, you can mark the partitions forming the RAID with persistent superblock (fd partition type in fdisk)) for starting automatically the RAID on boot, or fill in the /etc/raidtab file with the values of your current RAID and start it manually (see raidtools2 package).

Also you can read RAID-HOWTO for unvaluable information.

Regards,

Ender.
- --
What was that, honey? It was bad. It had no fire, no energy, no nothing.
So tomorrow from 5 to 7 will you PLEASE act like you have more than a two word vocabulary. It must be green.
-- DJ Ruby Rhod (The Fifth Element).
- --
Servicios de red - Network services
RedIRIS - Spanish Academic Network for Research and Development Red.es - Madrid (Spain)
Tlf (+34) 91.212.76.25
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBJHKJWs/EhA1iABsRAj4iAJ451GvM6qHxXZN1kNoVNZ3ZyCk6WQCgqK/u rqn0vN10pei/DdkMhhROJVA=
=1nAH
-----END PGP SIGNATURE-----

#2 lore raw

Hi Ender,

this isn't the case...however i tried by changing the 83 to FD but it doesn't worked.

its already enabled and the kernel is reading these partitions as well....i guess because of these messages during bootup and shutdown....

Part of BOOTUP message ...
"
autodetecting Raid Arrays
autorun...
...autorun DONE
"

Part of shutdown message ....
"
md recovery thread got woken
md recovery thread finished
mdrecoveryd(7) flushing signals
Stopping all md devices.
"
Hope it helps you in helping me further.

thanks and regards,

Pankaj

----- Original Message -----
From: "David Martínez Moreno" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 19, 2004 2:57 PM
Subject: Re: Help Root Raid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Pankaj Agarwal

Hi,

I need your help regarding root raid. I have a root raid implemented

server

Quoted 2 lines

and it not booting anymore. I tried to use that harddisc as secondary hard disk to on of my other linux installation..so i can take a backup of

files.

Quoted 6 lines

The other installation has raid precompiled....as in booting process it checks for raid arays and at shutdown it gives messages regarding md devices. however it doesn't show any dev in lsdev or /proc/mdstat. My problem is when i try to mount it using "mount -t ext2 /dev/md0 /mnt/hdc1" it gives me error as "wronf fs, bad option, bad superblock on /dev/md0.........................(aren't you trying to mount a block

device

Quoted 1 line

on a logical device)". Kindly show me the way to mount the filesystem.

Hello, Pankaj.

Probably you are not starting your RAID. You can check it with cat /proc/mdstat. If not, well, you can mark the partitions forming the RAID with persistent superblock (fd partition type in fdisk)) for starting automatically the RAID on boot, or fill in the /etc/raidtab file with the values of your current RAID and start it manually (see raidtools2 package).

Also you can read RAID-HOWTO for unvaluable information.

Regards,

Ender.
- --
What was that, honey? It was bad. It had no fire, no energy, no nothing.
So tomorrow from 5 to 7 will you PLEASE act like you have more than a two word vocabulary. It must be green.
-- DJ Ruby Rhod (The Fifth Element).
- --
Servicios de red - Network services
RedIRIS - Spanish Academic Network for Research and Development Red.es - Madrid (Spain)
Tlf (+34) 91.212.76.25
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBJHKJWs/EhA1iABsRAj4iAJ451GvM6qHxXZN1kNoVNZ3ZyCk6WQCgqK/u rqn0vN10pei/DdkMhhROJVA=
=1nAH
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 15 lines · Pankaj Agarwal

Hi Ender,

this isn't the case...however i tried by changing the 83 to FD but it doesn't worked.

its already enabled and the kernel is reading these partitions as well....i guess because of these messages during bootup and shutdown....

Part of BOOTUP message ...
"
autodetecting Raid Arrays
autorun...
...autorun DONE
"

Quoted 8 lines

Part of shutdown message ....
"
md recovery thread got woken
md recovery thread finished
mdrecoveryd(7) flushing signals
Stopping all md devices.
"
Hope it helps you in helping me further.

Hello, Pankaj. Could you please send us a copy of your dmesg output? That is
the first thing you must do in order to diagnose problems.

Thanks,

Ender.
- --
Network engineer
Debian Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBLSEfWs/EhA1iABsRAnHKAJwPuiNFYCncG6mfpGfkZcbg6Ug2OwCdFVS9 hNfF9qkIkYyZsXIvfOibUWA=
=l9uK
-----END PGP SIGNATURE-----

#4 lore raw

Hi Ender,

Thanks for looking into it and for your help. I am hereby enclosing the output of dmesg along with this mail. hdc(samsung ide) is the one i want to retrieve data from.

thanks and regards,

Pankaj Agarwal

----- Original Message -----
From: "David Martínez Moreno" <[email protected]>
To: "Pankaj Agarwal" <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Thursday, August 26, 2004 5:00 AM
Subject: Re: Help Root Raid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Pankaj Agarwal

Hi Ender,

this isn't the case...however i tried by changing the 83 to FD but it doesn't worked.

its already enabled and the kernel is reading these partitions as

well....i

Quoted 9 lines

guess because of these messages during bootup and shutdown....

Part of BOOTUP message ...
"
autodetecting Raid Arrays
autorun...
...autorun DONE
"

Quoted 8 lines

Part of shutdown message ....
"
md recovery thread got woken
md recovery thread finished
mdrecoveryd(7) flushing signals
Stopping all md devices.
"
Hope it helps you in helping me further.

Hello, Pankaj. Could you please send us a copy of your dmesg output? That is the first thing you must do in order to diagnose problems.

Thanks,

Ender.
- --
Network engineer
Debian Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBLSEfWs/EhA1iABsRAnHKAJwPuiNFYCncG6mfpGfkZcbg6Ug2OwCdFVS9 hNfF9qkIkYyZsXIvfOibUWA=
=l9uK
-----END PGP SIGNATURE-----

Linux version 2.2.14-12smp ([email protected]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Tue Apr 25 12:58:06 EDT 2000 mapped APIC to ffffe000 (00295000)
Detected 500979898 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 499.71 BogoMIPS
Memory: 256428k/261056k available (1120k kernel code, 424k reserved, 3008k data, 76k init, 0k bigmem)
Dentry hash table entries: 262144 (order 9, 2048k)
Buffer cache hash table entries: 262144 (order 8, 1024k)
Page cache hash table entries: 65536 (order 6, 256k)
VFS: Diskquotas version dquot_6.4.0 initialized
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch ([email protected])
per-CPU timeslice cutoff: 25.04 usecs.
CPU0: Intel Celeron (Mendocino) stepping 05
SMP motherboard not detected. Using dummy APIC emulation.
PCI: PCI BIOS revision 2.10 entry at 0xfb0f0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 262144 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=2421
PCI_IDE: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio

hda: ST34321A, ATA DISK drive
hdb: SAMSUNG CD-ROM SC-152C, ATAPI CDROM drive
hdc: SAMSUNG WA32163A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: ST34321A, 4103MB w/128kB Cache, CHS=523/255/63
hdc: SAMSUNG WA32163A, 2062MB w/128kB Cache, CHS=4190/16/63
hdb: ATAPI 52X CD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines

   pII_mmx   :  1122.426 MB/sec
   p5_mmx    :  1171.956 MB/sec
   8regs     :   860.298 MB/sec
   32regs    :   505.587 MB/sec

using fastest function: p5_mmx (1171.956 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda:hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
hda: set_multmode: error=0x04 { DriveStatusError }
hda1 hda2 < hda5 hda6 >
hdc: hdc1 hdc2 < hdc5 hdc6 hdc7 hdc8 hdc9 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 76k freed
Adding Swap: 514040k swap-space (priority -1)

#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Pankaj Agarwal

Hi Ender,

Thanks for looking into it and for your help. I am hereby enclosing the output of dmesg along with this mail. hdc(samsung ide) is the one i want to retrieve data from.

Ooohhhhh...I think that I know what is your problem:

Linux version 2.2.14-12smp ([email protected]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Tue Apr 25 12:58:06 EDT 2000

Back in 2.2.x times, RAID was not autodetected (if I recall correctly). So
your old Linux is unable to start the RAID.

Get a miniKnoppix or some other simple modern rescue system (any
RH/SuSE/Debian/... installation CD will do the trick), and boot with it. It would be the nicest way of recovering your data.

Regards,

Ender.
- --
Network engineer
Debian Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBLn4xWs/EhA1iABsRAt0PAKCfnnCyxHF8DnuFnJWU44lIWbGTmACeJXS3 wzZB2QjR/zOwPFQUHpxMfIQ=
=QSoc
-----END PGP SIGNATURE-----