You've did everything fine from my experience. "mv"-ing the qtree's name does not change its inode, so it doesn't change its internal essence as a qtree.
Eyal.
"Richard L. Rhodes" wrote:
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