On Fri, Dec 22, 2006 at 07:54:00PM -0500, Nick Holland wrote:
> ...
> >> Or, just skip the usr/obj partition...  Having been stung a few times by
> >> over partitioning recently,
> > 
> > What's "overpartitioning"? ;-)
> 
> That's when you say, "500M is plenty large for /var, except for this mail
> archive directory, which could grow really big under some failure
> conditions", so you create a 100G /var/archive partition and 500M /var
> partition, then discover that under the OPPOSITE failure conditions,
> massive amounts of mail ends up in /var/spool.  At that point, you realize
> that splitting off the two partitions sounded good, but instead it just
> cost you some embarrassing down time and didn't help you in the slightest,
> AND PROBABLY NEVER WILL (and in fact, I can now think of other failure
> modes where it could bite me).  Should have just put it in one huge /var
> partition.
> 
> ...

Yes, agree, except for when slices have different mount options, such as
exec for /var/www - cgi-bin, and for dumping.

I thought it was best pratice to umount a slice before dumping, but a
quick flick thourgh the man page states:

files-to-dump is either a mountpoint of a filesystem or a list of files
and directories on a single filesystem to be backed up as a subset of
the filesystem.  In the former case, either the path to a mounted
filesystem or the device of an unmounted filesystem can be used.  In the
latter case, certain restrictions are placed on the backup: -u is
ignored, the only dump level that is supported is -0, and all of the
files must reside on the same filesystem.


I have been umounting to dump with this in a script:

        dump -${level}anu -f - -h 0 ${device} | gzip -9 -o ${file}

$ sort /etc/dumpdates
/dev/rwd0e       0 Mon Dec 18 18:09:20 2006
/dev/rwd0e       4 Wed Dec 20 04:05:21 2006
/dev/rwd0e       5 Tue Dec 19 15:16:13 2006
/dev/rwd0e       6 Fri Dec 22 04:05:22 2006
/dev/rwd0e       7 Thu Dec 21 04:05:19 2006
/dev/rwd0e       9 Sat Dec 23 04:05:21 2006
/dev/rwd0g       0 Mon Dec 18 18:09:22 2006
/dev/rwd0g       4 Wed Dec 20 04:05:23 2006
/dev/rwd0g       5 Tue Dec 19 15:15:23 2006
/dev/rwd0g       6 Fri Dec 22 04:05:25 2006
/dev/rwd0g       7 Thu Dec 21 04:05:28 2006
/dev/rwd0g       9 Sat Dec 23 04:05:24 2006
/dev/rwd1e       0 Mon Dec 18 18:10:29 2006
/dev/rwd1e       4 Wed Dec 20 04:05:20 2006
/dev/rwd1e       5 Tue Dec 19 15:16:47 2006
/dev/rwd1e       6 Fri Dec 22 04:05:21 2006
/dev/rwd1e       7 Thu Dec 21 04:05:19 2006
/dev/rwd1e       9 Sat Dec 23 04:05:21 2006
/dev/rwd1g       0 Sun Dec 17 02:49:24 2006
/dev/rwd1g       3 Mon Dec 18 17:27:05 2006
/dev/rwd1g       4 Wed Dec 20 04:05:21 2006
/dev/rwd1g       5 Tue Dec 19 15:14:35 2006
/dev/rwd1g       6 Fri Dec 22 04:05:21 2006
/dev/rwd1g       7 Thu Dec 21 04:05:19 2006
/dev/rwd1g       9 Sat Dec 23 04:05:21 2006


Am I best not to umount /home, /var/whatever before dumping? Would save
killing apps and interrupting users.

Reply via email to