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
|