Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* FS fragmentation + flaws
@ 2000-06-04  4:00 Axel Preudhomme
  2000-06-04  4:00 ` Bruce Kelly
  2000-06-04  4:00 ` Adam Price
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Preudhomme @ 2000-06-04  4:00 UTC (permalink / raw)


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 ?


2) is there any (other) flaws, bugs or so that I should be aware of
concerning this filesystem ?

3) I've also heard that the kernel can't be on a journaling FS? Is it true ?

Thank you for your hints,
                                        Axel PREUDHOMME





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FS fragmentation + flaws
  2000-06-04  4:00 FS fragmentation + flaws Axel Preudhomme
  2000-06-04  4:00 ` Bruce Kelly
@ 2000-06-04  4:00 ` Adam Price
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Price @ 2000-06-04  4:00 UTC (permalink / raw)



Axel Preudhomme wrote in message <8hd08o$p5b$2@news1.skynet.be>...
>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 ?
>
>
>2) is there any (other) flaws, bugs or so that I should be aware of
>concerning this filesystem ?
>
>3) I've also heard that the kernel can't be on a journaling FS? Is it true ?

1) I don't tend to defragment my advfs filesystems and they don't seem to get much
slower but I have no measurements to back that up. However...
You can defragment advfs filesystems with the defragment(8) command.
You can set a time limit on how long you allow the process to run so the part
about how long it takes is up to you.
Before you can defragment a file domain, all filesets in the file domain
must be mounted. If you try to defragment an active file domain that
includes unmounted filesets, the system displays an error message
indicating that a fileset is unmounted.

2) Probably, although the only real problem I've had with advfs is that backing
it up over a network with vdump can be a pain. I'm told that V5 fixes this.

3) No you can use advfs filesets for any part of the filesystem including /

Hope this helps
Adam Price







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FS fragmentation + flaws
  2000-06-04  4:00 FS fragmentation + flaws Axel Preudhomme
@ 2000-06-04  4:00 ` Bruce Kelly
  2000-06-04  4:00 ` Adam Price
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Kelly @ 2000-06-04  4:00 UTC (permalink / raw)


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
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-04  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-04  4:00 FS fragmentation + flaws Axel Preudhomme
2000-06-04  4:00 ` Bruce Kelly
2000-06-04  4:00 ` Adam Price

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox