xfs
[Top] [All Lists]

Re: Total fs corruption

To: Nigel Kukard <nkukard@xxxxxxxx>
Subject: Re: Total fs corruption
From: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Date: Mon, 15 Oct 2001 01:53:28 +0200
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
References: <Pine.LNX.4.21.0110142322500.1797-100000@ctgw.lbsd.net>
Sender: owner-linux-xfs@xxxxxxxxxxx
> could sumone plz install XFS as a root filesystem on a testbox, and reboot
> about 7 times, add quotas & reboot again... try doing a few halts inbetween.
> (kernel 2.4.12 + XFS)
> 
> as far as i know u won't get past 5 reboots

I'd very like to perform this procedure but I'm afraid not to have any
results before tomorrow evening. Please tell me how to add quotas.

In one of your posting you told us about a 20 MB /boot and a 19 GB /
filesystem. I wouldn't be happy with this setup. Just a Root-FS and if
it's gone - you know best... ;-)

Every server system I set up for the last several years had a small
(200-500 MB) / fs and everything else was divided up into separate
filesystems (/var, /tmp, /usr, /usr/local, /var/spool/news,
/var/spool/squid, /home, /scratch, /tftp, etc.).

I've always installed a Linux+XFS server system with ext2fs on /. Well,
I really trust XFS and it's a great contribution of SGI to the Linux
community and it's really pushing Linux near the line where commercial
Unixes like AIX tend to begin. But I wouldn't hire XFS as a babysitter
for my (nonexisting) children in it's current state of Linux
development. Too much is a moving target. I've been bitten twice by it:
a) a corruption of access modes when XFS fs were mounted via NFS and b)
a kernel panic when trying to mount XFS with a corrupted log. One
problem with several hardlinks in Cyrus' IMAP spool and incremental
xfsdumps is still unresolved.

But all my recently installed servers have XFS (and most of them LVM)
except for the / fs. 

No, not for the / fs. This is my holy filesystem. ext2fs has done with
Linux for years. If everything crashes, I still want to be able to boot
off a floppy disc like Tom's Root Boot, mount the former / fs and to do
"vi etc/passwd" or "vi etc/rc.d/rc.sysinit". And I want to be able to
copy a new initrd image onto it and do "chroot . sbin/lilo" or to mkfs
the / fs in case everything went hell or the hardware changed or to use
ifconfig/netcat/dd/amrestore/restore to get it quickly off my Amanda
tapes. (Same applies to LVM - great, but not for my holy / fs.)

You spent a whole weekend with something trashing your 19 GB / fs after
ten reboots and didn't find any answer. It's time to use a different
solution.

Maybe you want to take the pragmatic approach and reduce / to 200 MB on
ext2fs.


<Prev in Thread] Current Thread [Next in Thread>