Nathan Scott wrote:
On Wed, Feb 04, 2004 at 01:39:26PM -0800, Norman Zhang wrote:
I'm using XFS with Quota on a Samba server. I have mirrored the folders
to a different server for high availability. I would like to copy the
quota for the XFS partitions to the new server. May I ask where are
quota files stored on XFS partitions?
Nowhere that they can directly accessed. If the new server is
running XFS, you should just mount with quota enabled, and copy
My new server is already running XFS and quota. I rsync'd files over but
quota is not reserved. I had to manually enter the quota restrictions
in. May I ask what do you mean by copy away?
away. If its not XFS, you'll want to dump the quota info to a
file and restore it using setquota -- see xfsdq(8) and xfsrq(8)
in the xfsdump package which will do that for you.
Thanks. I will try xfsdq and xfsrq.
Regards,
Norman
|