Renaming or deleting qtrees
Before renaming or deleting a qtree
Before you rename or delete a qtree, ensure that the following conditions are true:
- The volume that contains the qtree you want to rename or delete is mounted (for NFS) or mapped (for CIFS).
- The qtree you are renaming or deleting is not directly mounted and does not have a CIFS share directly associated with it.
- The qtree permissions allow you to modify the qtree.
Renaming a qtree
To rename a qtree, complete the following steps.
Step
|
Action
|
|
1
|
Find the qtree you want to rename.
Note The qtree appears as a normal directory at the root of the volume.
|
|
2
|
Rename the qtree using the method appropriate for your client.
Example
The following command on a UNIX host renames a qtree:
mv old_name new_name
Note On a Windows host, rename a qtree by using Windows Explorer.
If you have quotas on the renamed qtree, update the /etc/quotas file to use the new qtree name.
|
Deleting a qtree
To delete a qtree, complete the following steps.
Step
|
Action
|
|
1
|
Find the qtree you want to delete.
Note The qtree appears as a normal directory at the root of the volume.
|
|
2
|
Delete the qtree using the method appropriate for your client.
Example
The following command on a UNIX host deletes a qtree that contains files and subdirectories:
rm -Rf directory
Note On a Windows host, delete a qtree by using Windows Explorer.
If you have quotas on the deleted qtree, remove the qtree from the /etc/quotas file.
|
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 7qtree11.htm
Last updated: 01-Dec-2005 16:51:43