xfs
[Top] [All Lists]

Quota Backup

To: linux-xfs@xxxxxxxxxxx
Subject: Quota Backup
From: Norman Zhang <norman.zhang@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 05 Mar 2004 16:42:14 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)
Hi,

I'm trying to use xfsdq/xfsrq to backup/restore the Quota of XFS partitions from one machine to another. However, the disk on the other machine is on a different host/bus/. Also the Samba users are of differnent uid. Can xfsdq/xfsrq do the job? Please help.

I tried,

# xfsdq -u xfshome /home  # on machine1
# xfsrq -u xfshome        # on machine2

but got the following error messages,

Bugs to: mvw@xxxxxxxxxxxxxxx, jack@xxxxxxx
setting quota for id=10091 dev=/dev/scsi/host1/bus0/target0/lun0/part7
setquota: invalid option -- n
setquota: Usage:
setquota [-u|-g] [-F quotaformat] <user|group>
<block-softlimit> <block-hardlimit> <inode-softlimit> <inode-hardlimit> -a|<filesystem>...
setquota [-u|-g] [-F quotaformat] <-p protouser|protogroup> <user|group> -a|<filesystem>...
setquota [-u|-g] [-F quotaformat] -t <blockgrace> <inodegrace> -a|<filesystem>...
setquota [-u|-g] [-F quotaformat] <user|group> -T <blockgrace> <inodegrace> -a|<filesystem>...


Regards,
Norman


<Prev in Thread] Current Thread [Next in Thread>