
create commands A–9
A.6.5 create filesystem
The create filesystem command creates a new Lustre file system.
Syntax
Interactive mode
create filesystem
Scripted mode
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
The parameters are described in Table A-1.
Example
sfs> 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
Table A-1 Parameters for scripted create filesystem command
Parameter Required/
Optional
Value Format Examples Default
mds_lun Required lun[:lun2][/server]3
3/south2
3:4/south1
N/A
ost_lun Required lun[:lun2][/server][,...] 5/south3
5:6,7:8
N/A
mount_point Optional pathname /mnt/here /mnt/fs_name
stripe_size
1
1. Specified in GB or MB.
Optional nXB4MB
1GB
4MB
stripe_count Optional n 1
8
1
mds_mount_opt Optional option[,option]... acl,user_xat
tr
ost_mount_opt Optional option[,option]... extents
interconnect Optional net[,...]: tcp
tcp,gm,vib,elan
Default
interconnects
timeout
2
2. Specified in seconds
Optional n 200 200
quota_opts Optional option=value[,...] quotaon=ug Default quota
options
Commentaires sur ces manuels