tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Guy Dallaire" <dallaire () total ! net>
To: tru64-unix-managers
Subject: HELP: Urgent Confirmation about ADVFS file copy procedure needed
Date: Fri, 07 Feb 1997 23:12:01 +0000	[thread overview]
Message-ID: <96078608810173.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1997-02-07 23:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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