[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Mounting RAID filesystem



This looks weird.

You cannot mount the partitions individually they are stripped, they
have to be mounted as a raid set. 

If you recreate the md0 info md0 might then mount, but I would not wish
to bet on it.

Regards

Thing

-----Original Message-----
From: Manudath Gurudatha [mailto:manudathg@gmail.com] 
Sent: Friday, 25 February 2005 3:34 p.m.
To: debian-user@lists.debian.org
Subject: Mounting RAID filesystem

Hi,

I have one complicated problem here: I built a Linux system with RAID
5 using 2 hard drives.

hda:
hda1 - /boot - 100MB
hda2 - swap - 1GB
hda3 - Linux raid autodetect - / - 3GB (FS type = fd)

hdb:
hdb1: - Linux raid autodetect - / - 3GB
hdb2: - Linux raid autodetect - / - 3GB

So, my /dev/md0 consists of {hda3, hdb1, hdb2}

I wrote some sample data on / (ie., md0). I removed the drives and
connected only one of them as a slave with another Linux system (that
has no RAID support).

When I do fdisk -l, I can see the partitions (either hda1,hda2, and
hda3 or hdb1,hdb2), but I cannot mount them.

[root@mySystem mnt]# mount /dev/hdb2 /mnt/raid/
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
I tried all options such as "mount -t ext3 /dev/hdb2 /mnt/raid/"...

I also tried giving fd as the file system type...
[root@mySystem mnt]# mount -t fd /dev/hdb2 /mnt/raid/
mount: fs type fd not supported by kernel

But, if I put the original 2 hard drives and boot, I can boot it
easily. Can you please let me know how can I see the data in the RAID
hard drives?

Thanks a lot,
Manudath


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: