Wednesday, January 28, 2009

Netapp + Rquotad + NFS + RHEL5

Those mounting volumes via NFS on a Netapp filer wanting to use rquotad on a volume with qtrees may notice that, under some conditions, things do not work.

If you are using qtrees, you can still get rquota to work by mounting each qtree individually, each with the "nosharecache" option. This forces each mounted qtree to have different st_dev values so that remote quota calls are enabled for all mounted qtrees, instead of just the first one. Without "nosharecache", all mounts from a volume on a Netapp filer will have the same st_dev value and any rquota calls will only query the first mounted qtree.

See http://linux.die.net/man/5/nfs for info on the "nosharecache" . . . there are some caveats to using it.

Create Maildir Folders

mkdir -m 700 $MAILBOX/{,tmp,new,cur}

Substitute $MAILBOX for what you want to call your Maildir folder.

(Taken from http://plasmasturm.org/log/81/)