beautypg.com

Creating a file system using the cli – HP StoreAll Storage User Manual

Page 21

background image

Creating a file system using the CLI

The ibrix_fs command is used to create a file system. It can be used in the following ways:

Create a file system with the specified segments (segments are logical volumes):

ibrix_fs -c -f FSNAME -s LVLIST [-t TIERNAME] [-a] [-q] [-o

OPTION1=VALUE1,OPTION2=VALUE2,...] [-t TIERNAME] [-F

FMIN:FMAX:FTOTAL] [-D DMIN:DMAX:DTOTAL]

Create a file system and assign specify segments to specific file serving nodes:

ibrix_fs -c -f FSNAME -S LV1:HOSTNAME1,LV2:HOSTNAME2,... [-a] [-q]

[-o OPTION1=VALUE1,OPTION2=VALUE2,...] [-t TIERNAME] [-F

FMIN:FMAX:FTOTAL] [-D DMIN:DMAX:DTOTAL]

Create a file system from physical volumes in a single step:

ibrix_fs -c -f FSNAME -p PVLIST [-a] [-q] [-o

OPTION1=VALUE1,OPTION2=VALUE2,...] [-t TIERNAME] [-F

FMIN:FMAX:FTOTAL] [-D DMIN:DMAX:DTOTAL]

In the commands, the -t option specifies a tier. TIERNAME can be any alphanumeric, case-sensitive,
text string. Tier assignment is not affected by other options that can be set with the ibrix_fs
command.

NOTE:

A tier is created whenever a segment is assigned to it. Be careful to spell the name of the

tier correctly when you add segments to an existing tier. If you make an error in the name, a new
tier is created with the incorrect tier name, and no error is recognized.

Features for file system creation

Option

Feature

-o "retenMode=,retenDefPeriod=,retenMinPeriod=,

retenMaxPeriod=,retenAutoCommitPeriod="

Data
retention

-T

Express
Query

-oa OPTION1=VALUE1[,OPTION2=VALUE2,...]

Auditing

The following example enables data retention, Express Query, and auditing, with all events being
audited:

ibrix_fs -o

"retenMode=Enterprise,retenDefPeriod=5m,retenMinPeriod=2s,retenMaxPeriod=30y,retenAutoCommitPeriod=1d"

-T -oa audit_mode=on,all=on -c -f ifs1 -s ilv_[1-4] -a

Creating a file system manually from physical volumes

This procedure is equivalent to using ibrix_fs to create a file system from physical volumes in
a single step. Instead of a single command, you build the file system components individually:

1.

Discover the physical volumes in the system. Use the ibrix_pv command.

2.

Create volume groups from the discovered physical volumes. Use the ibrix_vg command.

3.

Create logical volumes (also called segments) from volume groups. Use the ibrix_lv
command.

4.

Create the file system from the new logical volumes. Use the ibrix_fs command.

See the

HP StoreAll Storage CLI Reference Guide

for details about these commands.

Creating a file system

21