Using the fscdstask Script
The fscdstask script performs several CDS tasks as specified by the use of keywords, summarized below.
Note
The file system migration sections below indicate when each command should be used.
- To ensure that there are no file system entities with metadata that exceed the limits for a set of operating systems, enter:
# fscdstask validate OS_list mount_point
When a file system will be migrated on an ongoing basis between multiple systems, the types of systems involved in these migrations is maintained in an OS_list file. Knowing what these operating systems are allows VxFS to determine file system limits that are appropriate to all of these operating systems. The file system limits that are enforced are file size, user ID, and group ID. This OS_list is manipulated by several fscdstask keywords.
- To add to the list of operating systems between which the file system will be moved on an ongoing basis, enter:
# fscdstask os add os mount_point
- To remove from the list of operating systems between which the file system will be moved on an ongoing basis, enter:
# fscdstask os remove os mount_point
For both the add and remove keywords, valid values for os are AIX, HP-UX, Linux or SunOS.
- To clear the list of operating systems between which the file system will be moved, enter:
# fscdstask os none mount_point
- To list the operating systems between which the file system will be moved, enter:
# fscdstask os list mount_point
The limits implied by OS_list are by default ignored. After manipulating OS_list as explained above, use the following commands to have the file system enforce or ignore these limits.
- To enforce established CDS limits on a file system, enter:
# fscdstask limit enforce mount_point
- To ignore established CDS limits on a file system, enter:
# fscdstask limit ignore mount_point
Various CDS statuses are maintained on a per-file system basis, including the OS_list, the limits implied by the OS_list, and whether the limits are being enforced or ignored.
- To display the current CDS status of a file system, enter:
# fscdstask status mount_point
- For additional help on any of these keywords, enter:
# fscdstask help keyword
Note
The file system might be unmounted and remounted as part of the CDS operation.
|