Help Failing Disk Problem
Roland Smith
rsmith at xs4all.nl
Mon Nov 5 22:49:57 PST 2007
On Mon, Nov 05, 2007 at 02:40:36PM -0800, FX Charpentier wrote:
> Roland,
>
> The mention of dump '-L' in your email below has caught my attention.
> Pardon my ignorance, but what is the '-L' option?
>
> I looked it up in the man pages but wasn't able to find any mention of it.
> Can you point me in the right direction?
It's in dump(8);
-L This option is to notify dump that it is dumping a live file sys-
tem. To obtain a consistent dump image, dump takes a snapshot of
the file system in the .snap directory in the root of the file
system being dumped and then does a dump of the snapshot. The
snapshot is unlinked as soon as the dump starts, and is thus
removed when the dump is complete. This option is ignored for
unmounted or read-only file systems. If the .snap directory does
not exist in the root of the file system being dumped, a warning
will be issued and the dump will revert to the standard behavior.
This problem can be corrected by creating a .snap directory in
the root of the file system to be dumped; its owner should be
``root'', its group should be ``operator'', and its mode should
be ``0770''.
I use dump with the following options (e.g. for /usr);
dump -0 -B 4589560 -C 8 -h 0 -L -u -P \
'cat - >usr-0-20071106-vol${DUMP_VOLUME}.dump' /usr
This splits dump output in DVD-R sized chunks.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071106/0eb4e93c/attachment.pgp
More information about the freebsd-questions
mailing list