Software RAID + XFS question

Federico Voges fvoges
Mon May 17 11:33:24 PDT 2004


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

Hi,

How is lilo configured?? Can you post/send me your lilo.conf??

My /etc/raidtab looks pretty much like yours, except for the device IDs
(I'm using IDE drives).

Regarding the partitioning, I see the point in using multiple
partitions when you have multiple disks. But in this particular case, I
want to keep it simple. Do you see any particular advantage in using
multiple partitions??

I'm using this machine as a test bed for a webhosting server (an Intel
SR1200 - SCB2 ATA (Promise FastTrack100, dual PIII, etc). I'll be using
quotas to keep users from filling my / partition, etc, etc.

On Mon, 17 Jun 2002 15:51:07 -0600, Andrew Mathews wrote:

>Federico Voges wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Hi,
>> 
>> Anyone using software RAID (mirroring) on an all XFS system???
>> 
>> I've installed kernel 2.4.18 + XFS on a COL 3.1.1 and moved all the
>> partitions to XFS except for /boot (ext3). The LILO README says
>> something about soft RAID devices and XFS but I can't figure how it
>> out.
>
>I have 3 machines running XFS and software raid as well as a machine 
>running XFS on a hardware raid controller (Perc 3/Di)
>My /etc/fstab:
>[root at wks1 root]# more /etc/fstab
>LABEL=/12               /                       xfs     defaults        1 1
>LABEL=/backup12         /backup                 xfs     defaults        1 2
>LABEL=/boot12           /boot                   xfs     defaults        1 2
>none                    /dev/pts                devpts  gid=5,mode=620  0 0
>LABEL=/home12           /home                   xfs     defaults        1 2
>LABEL=/iso12            /iso                    xfs     defaults        1 2
>LABEL=/opt12            /opt                    xfs     defaults        1 2
>none                    /proc                   proc    defaults        0 0
>none                    /dev/shm                tmpfs   defaults        0 0
>LABEL=/tmp12            /tmp                    xfs     defaults        1 2
>LABEL=/usr12            /usr                    xfs     defaults        1 2
>LABEL=/var12            /var                    xfs     defaults        1 2
>/dev/sda6               swap                    swap    defaults        0 0
>/dev/cdrom              /mnt/cdrom              iso9660 
>noauto,owner,kudzu,ro 0 0
>/dev/fd0                /mnt/floppy             auto 
>noauto,owner,kudzu 0 0
>
>> It's not a problem to have /boot use ext3 but I'd like to use only XFS.
>> 
>> Another question: if I use install=/dev/md0 (/boot) in /etc/lilo.conf
>> and the primary disk fails (and I remove it), the system should boot
>> from the second disk, right??
>
>Yes.
>
>> Finally, I've partitioned the disk like this:
>> md0 50MB   /boot   (ext3)
>> md1 7GB    /       (xfs)
>> md2 512MB          (swap)
>> md3 22GB   /home   (xfs)
>> 
>> Any sugestions about this partitioning scheme?? Acording to hdparm
>> tests, /dev/md2 is faster than the others (I guess that's because it's
>> located near the middle of the disk):
>
>Looks okay, but it also depends on your own choice. I personally prefer 
>to have as much as possible on individual partitions.
>
><snip>
>What does your /etc/raidtab look like? Should look something like:
>raiddev             /dev/md0
>raid-level                  0
>nr-raid-disks               2
>chunk-size                  64k
>persistent-superblock       1
>nr-spare-disks              0
>     device          /dev/sdb1
>     raid-disk     0
>     device          /dev/sdc1
>     raid-disk     1
>-- 
>Andrew Mathews
>-------------------------------------------------------
>andy.nmcourts.com  Monday Jun 17 2002 15:35:00 MDT
>-------------------------------------------------------
>A Los Angeles judge ruled that "a citizen may snore with immunity in
>his own home, even though he may be in possession of unusual and
>exceptional ability in that particular field."
>
>_______________________________________________
>Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
>Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: fvoges at intrasoft.com.ar
Web: http://www.intrasoft.com.ar

PGP Public Key Fingerprint: A536 4595 EB6F D197  FBC1 5C3A 145C 2516

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies.

iQA/AwUBPQ5gGxRcJRaVKt4XEQLL1gCgsUnS9Ji1s+qfcBUcJ/CoNUj6jVYAoNiQ
KJswwR86S+WZGZmIzWMv4MHR
=PbMQ
-----END PGP SIGNATURE-----





More information about the Linux-users mailing list