beautypg.com

Section 5.2.3.1 – HP StorageWorks Scalable File Share User Manual

Page 107

background image

Creating a file System — SFS20 storage

5–23

5.2.3.1

Using the create filesystem command in interactive mode — SFS20 storage

When you enter the

create filesystem

command in interactive mode, a series of questions prompts

you to enter the required information (the information you identified in Section 5.2.2). 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 SFS20 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

Depending on the number of LUNs that have an MDS role, you may now be prompted to choose MDS LUNs,

as follows:

If there are no LUNs with an MDS role, the

create filesystem

command terminates. In this case,

you must assign the MDS role to LUNs (see Section 5.2.1) and enter the

create filesystem

command again.

If the exact number of LUNs with an MDS role that are needed for the file system are available (for

example, a total of two MDS LUNs available when a file system with mirrored MDS LUNs is being

created), the system selects the LUNs without prompting, prints a message such as the following, and

then proceeds to the next section.

Using LUNs 3 and 5 for the MDS LUNs.

If there are more LUNs with an MDS role available than are needed for the file system (for example,

more than two MDS LUNs available when a file system with mirrored MDS LUNs is being created), a

list of all LUNs with an MDS role is displayed, and you are asked to specify which MDS LUN the file

system is to use. The list shows only MDS LUNs that are not already part of a file system.

Select only one LUN; in this example, LUN 3 is chosen.

LUN Array Controller Role Size (GB) Visible to Preferred
--- ----- ---------- ---- --------- ---------- ---------
3 1 scsi-1/1 mds 1050 south[1-2] south1
4 1 scsi-1/1 mds 1050 south[1-2] south1
5 2 scsi-1/2 mds 1050 south[1-2] south1
6 2 scsi-1/2 mds 1050 south[1-2] south1

Please enter the MDS LUN to use []: 3

If you specified earlier that the file system is to use mirrored MDS LUNs, the list of available LUNs is

shown again. Select a second MDS LUN that is on a different array.