From: Bruce Kelly <kellybe@inreach.com>
Subject: Re: FS fragmentation + flaws
Date: 2000/06/04 [thread overview]
Message-ID: <B56028E4.B128%kellybe@inreach.com> (raw)
In-Reply-To: 8hd08o$p5b$2@news1.skynet.be
I would agree with all of Adam Price's comments as well as the following:
> From: "Axel Preudhomme" <preudhomme@mail.dotcom.fr>
> Organization: Belgacom Skynet SA/NV
> Newsgroups: comp.unix.tru64
> Date: Sun, 4 Jun 2000 09:12:51 +0200
> Subject: FS fragmentation + flaws
>
> Hi,
>
> I know that Unix filesystem are less prone to be fragmented than other ones
> but I've heard that Advfs must be regularly defragmented...
>
> I'd like to know is it hype form other company or facts that users encounter
> because some machines I use are can be prone to fragmentantion (many small
> files): file server, mail server (SMTP & IMAP), print server,...
>
> So,
> 1) Is it true (which command should I use) ?
> how often ?
> If so, is it a time cousuming operation (like in macOS or Windows)
> Should the disk be unmounted ?
>
AdvFS really makes a difference for large file systems that are written
often, like a separate /var/tmp. However, the defragment routine takes a
very long time to run on such large file systems (~100GB). There are
parameters to keep the execution within a certain time limit. I run it on a
daily basis and keep the time to one hour, for example. The file systems are
mounted during the defragment process and can be fully accessed by the
users. For the small file systems like root and user, some of our machines
defragment and some do not. There was not been a problem either way.
One caveat, do not try to defragment large file systems using anything
before 4.0D. Unless you want to lose all your data.
>
> 2) is there any (other) flaws, bugs or so that I should be aware of
> concerning this filesystem ?
>
More importantly, you should run quotacheck on your AdvFS file systems at
boot time. This requires adding "userquota" and "groupquota" to the options
in /etc/fstab and setting QUOTA_CONFIG="yes" in /etc/rc.config. AdvFs always
keeps quota information regardless of weither you use it or not. Quotacheck
gathers the quota information kept in the metadata and puts it in the quota
files for the file system. It use to be, and still may be, the case, that a
build up of quota information in the metadata could cause corruption is some
cases. This does not take any where near as long as fsck for UFS file
systems.
> 3) I've also heard that the kernel can't be on a journaling FS? Is it true ?
>
Originally, it was recommende not to put root in AdvFs. That is no longer
the case. I have been running root in AdvFS for a long time. It is required
to have AdvFS for all file systems in V5.0 clusters, unless you want all
your file systems to be read only.
I should mention that AdvFS was rewritten for v5.0. Problems (like log half
full errors) with large file systems are supposed to be fixed in this
version. I believe the target for an in place corrupt file system fixer is
v5.1, but I have not asked lately to confirm if that is still the case.
> Thank you for your hints,
> Axel PREUDHOMME
>
>
prev parent reply other threads:[~2000-06-04 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-04 4:00 FS fragmentation + flaws Axel Preudhomme
2000-06-04 4:00 ` Adam Price
2000-06-04 4:00 ` Bruce Kelly [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox