Richard:
That's the way to do it! The only special administration involved with qtrees is in creating them and, of course, keeping their entries up to date in /etc/quotas. Otherwise they are just good old directories off the root of a volume.
One thing that could get you when renaming or removing any directory on a NetApp, including a qtree, is that CIFS shares prevent you from performing these commands. You will get a "Permission denied." error in UNIX if you try to remove or rename a directory which is currently the target of a CIFS share. To workaround this, simply delete the share, rename or remove the directory, then optionally re-add the share pointing to the new target.
Have fun!
-- Jeff
-- ---------------------------------------------------------------------------- Jeff Krueger E-Mail: jeff@qualcomm.com NetApp File Server Lead Phone: 858-651-6709 IT Engineering and Support Fax: 858-651-6627 QUALCOMM, Incorporated Web: www.qualcomm.com
From "Richard L. Rhodes" on Tue, 22 Feb 2000 13:40:07:
Can you rename a qtree?
I tried this:
- from the mount point for /vol/vol0 I did a "mv qtreedir newqtreedir"
- edited /vol/vol0/etc/quotas to change the quota entry to reflect the new name: newqtreedir
- edited /vol/vol0/etc/exports to change the exported dir to newqtreedir
- resized quota for vol0
- rexported everything
- at the host unmounted/deleted the nfs mount
- added a new mount using newqtreedir
It looks like it works. On the hosts a df command shows the quota correctly.
Question: Is this really messing things up or is this ok?
Thanks
Rick
Richard L. Rhodes e: rhodesr@firstenergycorp.com Ohio Edison Co. p: 330-384-4904 f: 330-384-2514