Re: Mounting RAID filesystem
hi ya
On Thu, 24 Feb 2005, Manudath Gurudatha wrote:
-- the new debian installers is supposedly supporting sw raid during
installation ... but i'm not sure ...
- make a standalong boot device and build the sw raid
( /etc/raidtab ) and than restore from "standalone" onto the
new raid device and you're up and about
> I have one complicated problem here: I built a Linux system with RAID
> 5 using 2 hard drives.
not complicated ... "wrong" :-)
doing raid5 on 2 disk is sorta useless ...
but the good surprise is that it let you do it, but it shouldn't
have worked ...
- i guess it just assumed a "mirror" (raid1) setup instead of
raid5
> 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
raid partitions should be identical
====================================
- otherwise, the "raid device" is the size of the smallest
partition
there is zero point to having 100M /boot
> So, my /dev/md0 consists of {hda3, hdb1, hdb2}
it is useless to put raid devices on the same ide cable ...
- some bios does nto see the other disk if one of um dies
- if the ide card goes bad, you lose both disks
- if the ide cable goes bad between mb and slave disk, you lose
both disks
- .. on and on ..
> 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).
that is silly ... there is zero benefit to connecting 1 disk
to another system with no raid support ...
raid is NOT identical data on multiple disks
> [root@mySystem mnt]# mount /dev/hdb2 /mnt/raid/
you cannot and should NOT mount a raid device partition separately
> But, if I put the original 2 hard drives and boot,
only temporarily until you corrupt the files and/or corrupt the
raid superblocks
> I can boot it
> easily. Can you please let me know how can I see the data in the RAID
> hard drives?
what is the purpose of raid ??
what are you trying to do ??
why are you setting up raid ?? -- learning and playing is a good thing ..
- for corp data for the whole company, get someone that
knows what they are doing or buy a preconfigured raid box
do you know the difference between raid1 ( mirroring ) and raid0
(stripping) and raid5 ( "raid" )
tons of sw raid howto
http://1U-raid5.net/HowTo/
c ya
alvin
Reply to: