beautypg.com

Section 5.1.6, Section 5.1.5.2 – HP StorageWorks Scalable File Share User Manual

Page 97

background image

Creating a file system — EVA4000 storage

5–13

MDS LUN(s):
LUN Array Controller Role Size(GB) Preferred Server Backup Server
--- ----- ---------- ---- -------- ---------------- -------------
3 1 A mds 290 south2 south1
4 1 B mds 290 south2 south1

OST LUN(s):
LUN Array Controller Role Size (GB) Preferred Server Backup Server
--- ----- ---------- ---- --------- ---------------- -------------
8 2 A ost 290 south3 south4
9 2 B ost 290 south3 south4
10 3 A ost 290 south4 south3
11 3 B ost 290 south4 south3
13 4 A ost 290 south5 south6
14 4 B ost 290 south5 south6

Is this correct? [yes]: yes
Would you like to create this filesystem? []: yes

TIP:

If you enter

no

, the file system is not created, but a script that can be used to create the file system is

displayed on the screen. You can capture this script and use it at a later time (see Section 5.1.5.2).

The

create filesystem

command then creates the file system. This may take some time, as each OST

service must be formatted. When the file system has been created, proceed to Section 5.1.7 to initialize the

LUNs for file-system access.

5.1.5.2

Using the create filesystem command in scripted mode — EVA4000 storage

You can create a file system in scripted mode by entering the

create filesystem

command with all of

the parameters for the file system. The syntax for the script is as follows:

create filesystem filesystem_name parameter_list

For example:

create filesystem data mds_lun=3/south2 ost_lun=17/south3,18/south4 mount_point=/
mnt/data/ stripe_size=4MB stripe_count=2 quota_opts=quotaon=ug interconnect=tcp,gm

If you wish, you can use the interactive mode (as described in Section 5.1.5.1) to specify the file system

parameters interactively; then, when you are prompted to create the file system, enter

no

instead of

proceeding to create the file system. The screen output then shows the script that is required to create the

file system; you can capture this script and use it at a later time.

See Section A.6.5 for more information on using the

create filesystem

command in scripted mode.

5.1.6 Step 6: Initializing the EVA4000 LUNs for file-system access

When the file system has been created, initialize the LUNs on the EVA4000 arrays (to enable them to

perform at full throughput), as follows:

1.

Stop the newly created file system.

sfs> stop filesystem data

2.

On the administration server, enter the following command:

# /usr/opt/hpls/diags/bin/initialise_eva_lun.bash -f lustre

The command may take a considerable amount of time to run, depending on the number of OST LUNs on

each Object Storage Server and on the size of each LUN. (For example, for a file system that has two OST

LUNs on each Object Storage Server, initializing the LUNs takes approximately four to six hours.)

When the LUN initialization has completed, proceed to Section 5.1.7 to back up the system database.