Moving DCE LFS Filesets

The fts move command allows you to move read/write versions of DCE LFS filesets between aggregates on the same machine or between machines. Non-LFS filesets cannot be moved.

Filesets cannot be moved between sites in different cells. Furthermore, the physical disk on which a fileset resides cannot be moved from a machine in one cell to a machine in another cell with the expectation of simply running the fts syncfldb command to create an FLDB entry for the fileset in the new cell. There are two main reasons for these restrictions:

· The ACLs associated with the file and directory objects in a fileset are cell specific. There is no easy way to translate the ACLs associated with a fileset in one cell into an equivalent set of ACLs for another cell.

· Fileset IDs are unique to the local cell only. Any attempt to introduce a fileset from one cell into another cell risks a conflict between the newly introduced fileset and a fileset within the new cell that has the same fileset ID. A fileset ID conflict causes one of the two conflicting filesets to be inaccessible.

Note: You cannot dump and restore filesets between cells of the same name, even if you first remove the old cell and then recreate a new cell of the same name. For the purposes of fileset movement, two cells are different, regardless of whether they share a common name.

Read-write filesets are the only types of filesets that you can move. When you move the read/write version of a fileset, the backup version is automatically deleted from the read/write site; you cannot move the backup version of a fileset. Use the fts clone command to create a backup fileset at the new site. All read-only versions of a read/write fileset remain unaffected when the read/write source moves; use the fts rmsite and fts addsite commands to remove one replication site and add another. You do not need to change the mount point for a fileset when you move it.

Move filesets to another machine if their current machine or disk must be removed for repair. Consider moving filesets if an aggregate becomes full or if a File Server machine becomes overloaded.

Note: You cannot move a DCE LFS fileset that is also mounted locally (as a file system on its File Server machine) to a different File Server machine; you can move it only to a different aggregate on the same File Server machine. To move a locally mounted DCE LFS fileset to a different server machine, remove its local mount point before attempting to move it. Also, because the backup version of a DCE LFS fileset is removed when the read/write version is moved, you cannot move a fileset, not even to another aggregate on the same File Server machine, if its backup version is mounted locally; you must remove the backup version's local mount point before moving the fileset.

To move the read/write version of a DCE LFS fileset, do the following:

1. Verify that you have the necessary privileges. You must be included in the admin.ft files on both the source and destination machines, and you must be included in the admin.fl file on each Fileset Database machine or own the server entries for the source machine, the destination machine, and any machines on which replicas of the fileset reside. In addition, the source machine (specified with the -fromserver option) must be listed in the admin.ft file on the destination machine (specified with the -toserver option). If necessary, issue the bos lsadmin command to verify the members of an administrative list.

2. Enter the fts move command to move a read/write fileset from one site to another:

$ fts move -fileset {name | ID} -fromserver source_machine -fromaggregate source_name -toserver dest_machine -toaggregate dest_name

The -fromserver source_machine option names the File Server machine on which the fileset currently resides. Specify the File Server machine using the machine's DCE path name, the machine's host name, or the machine's IP address.

The -fromaggregate source_name option is the aggregate on which the fileset is currently stored.

The -toserver dest_machine option names the File Server machine to which the fileset is to move. Specify the File Server machine using the machine's DCE path name, the machine's host name, or the machine's IP address.

The -toaggregate dest_name option is the aggregate on which the fileset is to be stored after moving.

3. Enter the fts lsfldb command to confirm that the move was successful:

$ fts lsfldb -fileset {name | ID}

4. Moving the read/write version of a fileset automatically deletes the backup version of the fileset if it exists at the read/write fileset's previous site. You can enter the fts clone command to create a new backup version at the new site:

$ fts clone -fileset {name | ID}