Creating file systems on top of LVM logical volumes

After the LVM logical volumes have been successfully initialized, you need to create file systems on top of them using the command mkfs.ext3.

HP recommends that you use the mkfs.ext3 option -b4096 for specifying a block size of 4096 bytes.

TIP: If you want to check the properties your file system will have without actually creating it, you can run the command mkfs.ext3 with the switch -n.

An example output of checking the example_fs file system values is as follows:

#mkfs.ext3 -n -b 4096 /dev/vg_fsefs/example_fs mkfs.ext3 1.28 (14-Mar-2002)

Filesystem label= OS type: Linux

Block size=4096 (log=2) Fragment size=4096 (log=2)

456064 inodes, 911680 blocks

45584 blocks (5.00%) reserved for the super user First data block=0

28 block groups

32768 blocks per group, 32768 fragments per group

16288 inodes per group

Superblock backups stored on blocks:

32768, 98304, 163840, 229376, 294912, 819200, 884736

NOTE: The number of inodes in the mkfs.ext3 output corresponds to the expected maximum number of files on the file system. If this number is not satisfactory, you can explicitly tell mkfs.ext3 to reserve a certain number of inodes with the -Noption.

Note that the upper limit for the number of inodes is affected by two factors: the file system size and the file system block size. On a file system with size Fs and block size Bs, the maximum size of inodes ln is determined by the equation In = Fs / Bs. If you specify a number bigger than ln, the mkfs.ext3 command creates ln inodes.

For example, to create one million inodes you must specify the -N 1000000 option. In case of a block size of 4096 bytes, the file system size must be equal to or greater than 3.8 GB (4 096 000 bytes) for this number of inodes to be actually created:

# mkfs.ext3 -b 4096 -N 1000000 /dev/vg_fsefs/example_fs

Proceed as follows and first create the file systems for the FSE databases and system files, and after that create HSM file systems.

Step 1: Creating file systems for FSE databases and system files

Use the following command sequence to create the file systems for the FSE databases and system files (for our example):

#mkfs.ext3 -b 4096 /dev/vg_fse/fsevar

#mkfs.ext3 -b 4096 /dev/vg_fse/fsepart

30 Preparing file systems for FSE

Page 30
Image 30
HP File System Extender (FSE) manual Creating file systems on top of LVM logical volumes

File System Extender (FSE) specifications

HP File System Extender (FSE) is a sophisticated solution designed to optimize data storage management for enterprises that deal with large volumes of unstructured data. This technology addresses the challenges of data growth and the need for effective data retention strategies, enabling organizations to store and manage their information more efficiently.

One of the main features of HP FSE is its ability to intelligently migrate data between primary and secondary storage. By utilizing policies that determine when to move infrequently accessed files to lower-cost storage environments, FSE helps reduce the strain on primary storage systems and saves on costs associated with high-performance storage solutions. This tiered approach to data management ensures that organizations can access the data they need quickly while still maintaining an efficient overall storage architecture.

Another notable characteristic of HP FSE is its seamless integration with existing storage infrastructures. The solution works with a variety of storage systems, allowing organizations to utilize their current investments without the need for significant changes to their infrastructure. This interoperability is powered by advanced technologies that facilitate data migration and retrieval, ensuring a smooth transition for organizations looking to optimize their storage strategies.

Additionally, HP FSE is equipped with robust reporting and analytics capabilities. This functionality provides organizations with insights into their storage usage, helping them understand data patterns and optimize their storage environments accordingly. By having visibility into which files are accessed most frequently and which are rarely used, organizations can make informed decisions on data retention policies and storage management.

Security is paramount in data management, and HP FSE addresses this concern by implementing advanced data protection features. This includes data encryption, secure access controls, and compliance with industry regulations, ensuring that sensitive information is safeguarded throughout its lifecycle.

Overall, HP File System Extender is a comprehensive data storage solution that combines intelligent data management, seamless integration, insightful analytics, and robust security features. By leveraging these capabilities, organizations can efficiently manage their unstructured data, lower costs, and enhance operational efficiency, making it an invaluable tool in today’s data-driven landscape.