grpquota & usrquota

Hello,

Just wondering if you can share your knowledge on NFS, hopefully u can help me out.

1) How to mount nfs with quota support?

NFS SERVER:

cat /etc/exports /iscsi_backup/whmcs/home_shared 10.1.1.2(rw,sync,no_root_squash,no_subtree_check)

NFS Client:

cat /etc/fstab 10.1.1.1:/iscsi_backup/whmcs/home_shared /home nfs rw,sync,hard,intr 0 0

2) What about ISCSI? Can two nodes connects to the same virtual ISCSI disk? Would it be better than nfs?

Status: 
Active

Comments

  1. I don't think quota editing over NFS is possible .. all quotas need to be set on the NFS server system. There may be some way to set this up, but I've never done it myself.

  2. iSCSI may be better way to export a disk, as it is seen as block device on the client system and can then have quotas enable like a regular disk. But I don't think the same disk can be mounted by two different systems like this.

im trying to setup two nodes, connected and using the same remote home dir. is there away to achieve this?

my current setup is to setting up two nodes sharing the same home dir through nfs. Is fine.

the only problem is i am unable to restore the virtualmin backup file due to usrquota.

any advise?

I'd recommend that one system be the master server that has Virtualmin installed, and exports the filesystem via NFS .. quotas would then apply to other systems that mount the filesystem, but they would not be able to edit it.