AdministrativeTasks

Associate New Directories with Files

Files can be present in a directory when the fsaddrelation is performed.

Creating a directory under a directory that is an association point automatically associates the newly created directory with the DataClass group of its parent directory.

Note

When adding a DataClass relation to a directory that contains files, no users are allowed in the file system at the time the command is issued or the command fails.

Returned status shows that the file system is busy. A file system must be inactive because it must be unmounted, mapped, and remounted at the time of the fsaddrelation to ensure that associated file information is accurate upon completion.

The file system is mapped by unmounting the file system and remounting it exclusively for the mapping process. It is recommended to perform the fsaddrelation to a populated directory during a slack time. Users cannot access any files in the file system during the fsaddrelation processing.

Following the mapping and execution of the fsaddrelation operation, the file system is unmounted and remounted to allow user access again.

Because the fstat options are limited, list all open files and grep the major and minor device numbers of the file system to check for users. On SGI systems, the user can run the fuser command to find the same information.

Note

For more information about major and minor device numbers, refer to the manual page for the UNIX fstat or fuser commands.

2-12

Operating Tasks

600716 Rev A

Page 88
Image 88
ADIC FileServ Version 4.0 600716 Rev A manual Associate New Directories with Files