beautypg.com

Section 5.1.5 – HP StorageWorks Scalable File Share User Manual

Page 94

background image

Creating and modifying file systems

5–10

5.1.5 Step 5: Using the create filesystem command — EVA4000 storage

CAUTION:

HP recommends that you do not create file systems while the HP SFS system is under load from

client nodes.

Before you enter the

create filesystem

command, ensure that all servers are running. In addition,

verify that all LUNs are operating normally, by performing the tests described in Section 6.1.3 and

Section 6.1.5.

You can use the

create filesystem

command in two modes:

Scripted mode, where you enter the command with all of the file system parameters.

Interactive mode, where you enter command with no parameters, and you are then prompted to enter

each of the parameters.

Section 5.1.5.1 describes how to use the

create filesystem

command in interactive mode.

Section 5.1.5.2 describes how to use the

create filesystem

command in scripted mode.

The time it takes to create a file system varies considerably depending on a number of factors, including the

following:

The size of the OST and MDS LUNs

The number of OST LUNs in the file system

Whether the OST or MDS LUNs are mirrored

Most of the time that is taken to create the file system is spent on formatting (

mkfs

command) the OST and

MDS LUNs. After you have entered the file system information, the

create filesystem

command

attempts to calculate the length of time it will take to format the OST and MDS LUNs, and displays a message

similar to the following:

OST initialization will take about 64 minutes
MDS initialization will take about 120 minutes

In general, the estimated time is greater than the actual time taken to format the OST or MDS LUNs.

5.1.5.1

Using the create filesystem command in interactive mode — EVA4000 storage

When you enter the

create filesystem

command with no parameters, a series of questions prompts

you to enter the required information (the information you identified in Section 5.1.4). To accept a

suggested value, press the

Return

key.

The following is an example of creating a file system in an HP SFS system where EVA4000 storage is used.

sfs> create filesystem

The filesystem name is used to identify an individual filesystem

Please enter the name of the filesystem []: data

The mountpoint is used to identify where the filesystem is mounted

Please enter the mountpoint of the filesystem [/mnt/data/]: /usr/data

The stripe size of a filesystem is the default stripe size
for files created in the filesystem.
It must be a multiple of 4KB, and at least 4MB.
Please enter the stripe size of the filesystem [4MB]:

Do you want to setup mirrored MDS LUNs? [yes]: yes