[NMLUG] Linux GHOST?
Bert Beaudin
bert at spininart.com
Sun Jan 25 13:08:40 MST 2004
I have had good luck with ghost -IAL this keeps the boot records in tack
with my ext3 partitions.
Bert
-----Original Message-----
From: nmlug-bounces at nmlug.org [mailto:nmlug-bounces at nmlug.org] On Behalf
Of Dan Lark
Sent: Saturday, January 24, 2004 9:55 PM
To: New Mexico Linux Users Group Mail List
Subject: Re: [NMLUG] Linux GHOST?
On Sat, 24 Jan 2004, M. Warner Losh wrote:
> With ext3fs, I'd imagine there has to be some way you can do the same
> thing as dump, but since I don't deal with Linux enough to know, I
> can't be sure.
>
> Warner
Yes, it is not only possible, but supported. This is an excerpt from the
restore man page:
-r Restore (rebuild) a file system. The target file system
should
be made pristine with mke2fs(8), mounted, and the user
cd'd
into
the pristine file system before starting the restoration
of
the
initial level 0 backup. If the level 0 restores
successfully,
the -r flag may be used to restore any necessary
incremental
backups on top of the level 0. The -r flag precludes an
interac-
tive file extraction and can be detrimental to one's
health
(not
to mention the disk) if not used carefully. An example:
mke2fs /dev/sda1
mount /dev/sda1 /mnt
cd /mnt
restore rf /dev/st0
Note that restore leaves a file restoresymtable in the
root
directory to pass information between incremental
restore
passes. This file should be removed when the last
incremental
has been restored.
Restore, in conjunction with mke2fs(8) and dump(8), may
be
used
to modify file system parameters such as size or block
size.
This does, howver, preclude you from creating the partition on the fly,
as
you have to explicity partition/mk2efs the target.
As for a "Ghost" boot floppy replacement, I recall that there was/is a
boot floppy specifically available for parted that has basically
everything needed.
I do have two questions.
1. Does anyone know if extended attributes can be/are preserved with a
dump/restore scenario or with parted? I would imagine 'dd' would take
care
of this implicitly.
2. Could you use LVM (or whatever they're calling it today) in htis
scenario, e.g. dd/tar/cp/etc. files over to a new medium and then 'grow'
the partition/space?
-dan
_______________________________________________
NMLUG mailing list
NMLUG at nmlug.org
http://www.nmlug.org/mailman/listinfo/nmlug
More information about the NMLUG
mailing list