* ADVfs quota files
@ 1995-06-05 14:30 Andy Phillips
0 siblings, 0 replies; 2+ messages in thread
From: Andy Phillips @ 1995-06-05 14:30 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
Does anyone know how to restore ADVfs quota files?
I had an ADVfs domain on an 'e' partition with ufs partitions on
a,b and d. I decided to remake the file domain as part of the
upgrade, and migrate the ufs partitions to ADVfs. So I backed
up the ufs and ADVfs filesystems, and remade the domain on rz12c,
after rmfdmn'ing the old one. I then made new filesets.
The restore went fine, except for the damn quota files. I have tried
userquota=/data1/backedup.quota.user,groupquota=/data1/backedup.quota.group
- dismounting, remounting, vquotachecking all produce the same result.
vedquota/vrepquota will happily report quota information for the affected
filesystem from the backedup.quota files, but the system will remain
stuck to using the quota.user and quota.group files.
I also tried deleting the quota.[user,group] files, but even with
permissions set, and the filesystem allegedly mounted to use different
quota files, this was impossible. (It is a strange feeling, as root,
to not be able to do something like this.)
So, Do I have to re-enter all the sodding quotas by hand? It seems
that I cannot overwrite the new fileset quota files with the backed
up ones.
If so, then (Dear DEC..) I'd like to be able to do this on a disk by
disk basis.
ie.
vedquota --disk-name /data1 --proto-user fred bill,sid,james
or even better;
vedquota --disk-name /home1 --proto-user fred --group users,system
or similar. The current vedquota is primitive. Oh and while I'm here
how about making vquota understand rpc.rquotad?
Or does everyone else have some sort of magic program that I've missed?
The o/s version I am running is; OSF/1 3.2a Clean install, not upgraded.
Machine is DEC 3000/400 (A bit old... but still faster than a sun :-)).
Any help gratefully accepted.
cheers,
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* ADVFS quota files
@ 1999-02-17 16:55 Bjorn S. Nilsson, NBI, Copenhagen
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn S. Nilsson, NBI, Copenhagen @ 1999-02-17 16:55 UTC (permalink / raw)
To: tru64-unix-managers
On an 8 GB ADVFS fileset here the quota file sizes look frightening:
> ls -al
...
-rw-r----- 1 root operator 137438928896 Feb 17 17:07 quota.group
-rw-r----- 1 root operator 137438928896 Feb 17 17:11 quota.user
Now, according to man ls :
NOTE
[DIGITAL] Sparse files, such as quota files, may not be using as much on-
disk storage as the ls -l command reports. Use the ls -s command to obtain
an accurate report of the on-disk storage used by a sparse file.
and trying ls -s gives
> ls -s
...
48 quota.group
64 quota.user
...
which is more understandable. The largest uid on the system is
65534 for nobody while the largest uid owned by a regular user is
only 1054. Why are those files so enormously sparse?
This might be an aestethic problem only. However, I would prefer
to have less sparse files with "normal" sizes. vquotacheck has not
helped so far. The system is running DU 4.0D with patch kit 2. So,
what is the solution?
TIA,
Bjorn
===================================================================
Bjorn S. Nilsson Email: Bjorn.S.Nilsson@nbi.dk
Niels Bohr Institute or just nilsson@nbi.dk
Blegdamsvej 17
DK-2100 Copenhagen Phone: +45 35 32 52 83
Denmark Fax: +45 35 32 50 16
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-02-17 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-05 14:30 ADVfs quota files Andy Phillips
-- strict thread matches above, loose matches on Subject: below --
1999-02-17 16:55 ADVFS " Bjorn S. Nilsson, NBI, Copenhagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox