Software RAID + XFS question
Federico Voges
fvoges
Mon May 17 11:33:24 PDT 2004
-----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.
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??
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):
[root at benito ~]# hdparm -tT /dev/md[0-3]
/dev/md0:
Timing buffer-cache reads: 128 MB in 0.90 seconds =142.22 MB/sec
Timing buffered disk reads: read() failed: Success
/dev/md1:
Timing buffer-cache reads: 128 MB in 0.90 seconds =142.22 MB/sec
Timing buffered disk reads: 64 MB in 3.99 seconds = 16.04 MB/sec
/dev/md2:
Timing buffer-cache reads: 128 MB in 0.89 seconds =143.82 MB/sec
Timing buffered disk reads: 64 MB in 2.24 seconds = 28.57 MB/sec
/dev/md3:
Timing buffer-cache reads: 128 MB in 0.89 seconds =143.82 MB/sec
Timing buffered disk reads: 64 MB in 3.29 seconds = 19.45 MB/sec
Oh, as the size of md0 is 50MB, I assume the error is because hdparm is
trying to read 64MB, am I right?
TIA
Net Llama: you're right about XFS: it rocks! It's really fast. I've
deleted a whole directory with 550MB of files and it was like deleting
a small file: instant deletion. It has also survived several system
resets while writting to files without trouble.
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/AwUBPQ5SZRRcJRaVKt4XEQJeBgCg0U43KRaG7GAwYdmfmiJp3QeOR5kAn04d
ajZjLyS7pOQ99zrdT9DckliP
=TGR9
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list