Making a directory into a qtree or a qtree into a directory
Making a rooted directory into a qtree
A rooted directory is a directory at the root of a volume. If you have a rooted directory that you want to make into a qtree, you must do it through your client application, Windows or UNIX. Whichever client application you use, you perform this task by following a four-step process:
Following are procedures showing how to complete this process on Windows clients and on UNIX clients.
Note
These procedures are not supported at the Windows command line interface or DOS prompt.
Making a rooted directory into a qtree using a Windows client
To make a rooted directory into a qtree using a Windows client, complete the following steps.
Step
|
Action
|
|
1 |
Open Windows Explorer.
|
|
2 |
Click on the folder representation of the directory you want to change.
|
|
3 |
From the File menu, select Rename to give this directory a different name.
|
|
4 |
On the filer, use the qtree create command to create a new qtree with the original name.
|
|
5 |
In Windows Explorer, open the renamed folder and select the files inside it.
|
|
6 |
Drag these files into the folder representation of the new qtree.
|
|
7 |
From the File menu, select Delete to delete the renamed, now-empty directory folder.
|
Making a rooted directory into a qtree using a UNIX client
To make a rooted directory into a qtree using a UNIX client, complete the following steps.
Step
|
Action
|
|
1 |
Open a UNIX window.
|
|
2 |
Use the mv command to rename the directory.
Example
client: mv /n/joel/vol1/dir1 /n/joel/vol1/olddir
|
|
3 |
From the filer, use the qtree create command to create a qtree with the original name.
Example
filer: qtree create /n/joel/vol1/dir1
|
|
4 |
From the client, use the mv command to move the contents of the old directory into the qtree.
Example
filer: mv /n/joel/vol1/olddir/* /n/joel/vol1/dir1
|
|
5 |
Use the rm command to delete the old, now-empty directory.
Example
filer: rm -rf /n/joel/vol1/olddir
|
Making a qtree into a rooted directory
A rooted directory is a directory at the root of a volume. If you have a qtree that does not need to be a qtree, you can make that change through your client application, Windows or UNIX. Whichever client application you use, you perform this task by following a four-step process:
- Rename the qtree.
- Create a directory with the original qtree name.
- Use the client application to move the contents of the qtree into the new directory.
- Delete the now-empty qtree.
Following are procedures showing how to complete this process on Windows clients and on UNIX clients.
Note
This procedure is not supported at the Windows command line interface or DOS prompt.
Making a qtree into a rooted directory using a Windows client
To make a qtree into a rooted directory using a Windows client, complete the following steps.
Step
|
Action
|
|
1 |
Open Windows Explorer.
|
|
2 |
Click on the folder representation of the qtree you want to change.
|
|
3 |
From the File menu, select Rename to give this folder a different name.
|
|
4 |
From the File menu, select New > Folder to create a directory with the original qtree name.
|
|
5 |
Double-click the renamed folder and select the files inside it.
|
|
6 |
Drag these files into the folder representation of the new directory.
|
|
7 |
From the File menu, select Delete to delete the renamed, now-empty qtree folder.
|
Making a qtree into a rooted directory using a UNIX client
To make a qtree into a rooted directory using a UNIX client, complete the following steps.
Step
|
Action
|
|
1 |
Open a UNIX window.
|
|
2 |
Use the mv command to rename the qtree.
Example
client: mv /n/joel/vol1/qt1 /n/joel/vol1/oldqt
|
|
3 |
Use the mkdir command to create a directory with the original qtree name.
Example
client: mkdir /n/joel/vol1/qt1
|
|
4 |
Use the mv command to move the contents of the qtree into the new directory.
Example
filer: mv /n/joel/vol1/oldqt/* /n/joel/vol1/qt1
|
|
5 |
Use the rm command to delete the old, now-empty directory.
Example
filer: rm -rf /n/joel/vol1/oldqt
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00322
File: data-o22.htm
Last updated: 01/22/03 16:16:52