* SUMMARY: restoring ADVfs quota files from backup
@ 1995-06-14 14:23 Andy Phillips
0 siblings, 0 replies; 2+ messages in thread
From: Andy Phillips @ 1995-06-14 14:23 UTC (permalink / raw)
To: tru64-unix-managers
Summary re: restore of quota files.
The quick answer is that it cant be done.
precis of problem.
I have backed up on tape a set of user directories and their
appropriate quota files.
A disk is lost/reconfigured, forcing a remake of the ADVfs file
domain. Restoring the data to the individual filesets is not a
problem, however, the quota files cannot be overwritten.
Whilst the userquota and groupquota options to the mount command
or in fstab allow the redirection of the quota querying tools
(like repquota) to alternate filenames, the filesystem still maintains
tracking information in the files occupying i-node 4 and 5. (the
default quota.user and quota.group.)
result.
Despite the best efforts of several very bright and experienced
unix administrators in a "can you delete this file" competition, the
advfs remained resolute in its defiance. The fundamental problem
appears to be that even when mounted without quotas enabled, the ADVfs
maintains this information anyway. The silver lining here is the
proof of the filesystems' robustness....
Eventually i gave up and re-entered all the quota information by
hand.
Replies from various list-members indicated similar problems. My
heart (or rather my fingers) goes out to the poor soul who had to
do this for > 13,000 users. The feature of restoring quota information
from backups will apparently not appear in vn 4.0 either.
Thanks go to;
Knut.Hellebo@nho.hydro.com
Stuart 'Zen' Bishop <zen@RMIT.EDU.AU>
Saul Tannenbaum <stannenb@emerald.tufts.edu>
"Richard L Jackson Jr" <rjackson@portal.gmu.edu>
andy
--
atp@mssly1.mssl.ucl.ac.uk Andy Phillips
atp@mssl.ucl.ac.uk Mullard Space Science Laboratory,
phillips@isass1.solar.isas.ac.jp Dept. Space and Climate Physics,
mssly1::atp University College London.
^ permalink raw reply [flat|nested] 2+ messages in thread
* SUMMARY: restoring ADVfs quota files from backup
@ 1998-07-15 11:37 Richard Bemrose
0 siblings, 0 replies; 2+ messages in thread
From: Richard Bemrose @ 1998-07-15 11:37 UTC (permalink / raw)
To: tru64-unix-managers
Hi gurus,
I must first thank the following people for their enlightening and quick
replies:
Alan Davis <Alan.Davis@digital.com>
Magali BERNARD <Magali.Bernard@univ-st-etienne.fr>
Dr PH Ng <ngph@isdux1.bham.ac.uk>
In my original post I asked how I could restore user quotas from a backup
copy. The problem arose when I upgraded three old UFS disk to ADVFS. Alan
Davis <Alan.Davis@digital.com> from Digital sent my an ideal program
called 'Quota Save and Restore' by Pascal Pederiva (1996). If I get
permission from Alan I will post the source code to the list.
Magali Bernard also directed me to his summary containing another useful
utility:
http://www.ornl.gov/its/archives/mailing-lists/alpha-osf-managers/1997/02/msg00427.html
Regards,
Rich
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
/_/ Richard A Bemrose /_\ Polymers and Colloids Group \_\
/_/ email: rb237@phy.cam.ac.uk /_\ Cavendish Laboratory \_\
/_/ Tel: +44 (0)1223 337 267 /_\ University of Cambridge \_\
/_/ Fax: +44 (0)1223 337 000 /_\ Madingley Road \_\
/_/ (space for rent) / \ Cambridge, CB3 0HE, UK \_\
/_/_/_/_/_/_/ http://www.poco.phy.cam.ac.uk/~rb237 \_\_\_\_\_\_\
"Life is everything and nothing all at once"
-- Billy Corgan, Smashing Pumpkins
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-07-15 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-14 14:23 SUMMARY: restoring ADVfs quota files from backup Andy Phillips
-- strict thread matches above, loose matches on Subject: below --
1998-07-15 11:37 Richard Bemrose
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox