Installation Manual

HP StorageWorks File System Extender Software installation guide for Linux 71
A Integrating existing file systems in the FSE
implementation
When the FSE is installed on a system where user files are located on already existing file systems, you
may want to bring these files under FSE control. This is to make FSE aware of the already-existing files and
include them in standard operations such as migration and recall.
The following procedure is for guidance only. Some of the steps are documented in the FSE user guide,
chapter ”Configuring FSE”.
Integrating existing file systems
The following procedure summarizes the steps to convert the Ext2 file system (ext2 fs) to an HSM file system
that stores user data in the FSE implementation. HSM file system is based on the Ext3 file system (ext3 fs).
If necessary, first convert the Ext2 file system to an Ext3 file system:
1. Unmount the existing file system.
2. Convert Ext2 file system to Ext3 using the command:
Example:
Configure a new FSE partition:
1. Prepare a new FSE partition configuration on the FSE server side.
2. Add this FSE partition to the FSE configuration.
Next, convert the Ext3 file system to an HSM file system:
3. If the Ext3 file system is still mounted, unmount it.
4. If needed, create a new mount point (new directory) for the HSM file system.
5. Mount the logical volume LogicalVolumeDevice that stores the Ext3 file system to the mount point
as HSM file system.
6. If you created a new mount point in step 4, enable automatic mounting of the new HSM file system by
adding its entry with appropriate options to the /etc/fstab file.
If you reused an existing mount point for mounting the HSM file system, modify its entry in the
/etc/fstab file accordingly.
For details, see section
Automating the mounting of HSM file systems” on page 49.
7. The final step is to make the FSE implementation aware of the existing directories and files. This needs
to be done to introduce old directories and files to the FSE implementation and to add file attributes to
the appropriate Hierarchical Storage Management Database (HSMDB).
Directories and files are introduced to the FSE by running a treewalk through all directories and
opening each file on the HSM file system. To perform this process, invoke the following command from
the HSM file system root directory:
# tune2fs -j LogicalVolumeDevice
# tune2fs -j /dev/fse_sda/fs1
HSMFileSystemRoot # find * -type f | xargs -n1 head -n0