tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* HELP: Urgent Confirmation about ADVFS file copy procedure needed
@ 1997-02-07 23:12 Guy Dallaire
  0 siblings, 0 replies; only message in thread
From: Guy Dallaire @ 1997-02-07 23:12 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,

Tomorrow morning, I'll have to temporarily copy some ADVFS file sets to
different disks in order to change something in the HSZ40 config of those
disks. I will take a backup first but a filesystem save/restore on disk
will be a lot faster when the time to restore will come.

I have the following procedure that I would like you to review, if you see
anything bad in it, please say so:

NOTE: I want to copy fileset A from domain DA, mounted under /A on some
disk and restore it later

a) Create a filedomain 'DB' and a fileset 'B' on some other disk, mount the
temporary filesystem under /tempo
b) mount the A fileset read-only (to make sure no one is accessing it while
I copy it) 
c) vdump -0 -f - /A | (cd /tempo; vrestore -x -f -)
d) umount fileset A, destroy file domain, do the disk maintenance with the
HSZ, recreate the filedomain + fileset A and mount it read-write
e) vdump -0 -f /tempo | (cd /A; vrestore -x -f -)

That's it. Is it OK ?

The only suspicion I got is the following:

I've noticed that whenever I create a fileset, under the directory onto
which it is mounted, there is a .tags directory as well as a quota.group
and some other file. Won't the vdump from A to /tempo destroy these files ?
Should I instead create a separate directory under /tempo (Ex.:
/tempo/savedset) and vdump the A fileset there instead of /tempo ? I also
worry about cleaning things up in /tempo before dumping another fileset in
it. What happens when the .tags and *.group files get destroyed ?

Thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-02-07 23:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-07 23:12 HELP: Urgent Confirmation about ADVFS file copy procedure needed Guy Dallaire

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