G A L A X Y ® A U R O U R A L S C O N F I G U R A T I O N A N D S Y S T E M I N T E G R A T I O N G U I D E
29
Section 2 Basic Setup
[mklabel], it gives a warning about an existing label – you may or may not get this warning –
this is not an error. A label is basically a data element which is written to the device on it’s
outer-most sector, which describes very generally how it is going to be used. The main options
are mbr and gpt. mbr is for devices which are 2TB in capacity or less. gpt is for any size
device – it can also be used for devices which are 2TB in capacity or less. When creating the
partition, the name “mypart” was given. The partition name really isn’t used outside of parted
itself, so it doesn’t really matter what you name it, but it does have to have a name, preferably
unique. Also the file system chosen for this example was ext3. Other file systems may be used
on your client – some offer features that others do not have and vice-versa. Because this is
showing up as a block device on the client, the array itself doesn’t have to support the file
system being used. The ‘Start? ‘ entry of ‘0’ indicates the starting sector number is 0. The
‘End?’ entry of “-1” indicates that the end of the partition is on the last sector. It’s possible to
have multiple partitions, but for this example, the entire LUN is used. Consult with tech support
for partition size options. In this case you have created partition 1 but still need to create a file
system on it.
The file system has to be created on that partition. The device in the example is /dev/sdb,
however the partition is specified by typing the partition number after the device – in this case
/dev/sdb1. In the example, the ext3 file system was specified. The command to create the file
system has to match the file system selected during ‘parted’. To create the ext3 file system
now on partition /dev/sdb1, ‘make file system’ [mkfs] command is used . type the following:
mkfs.ext3 /dev/sdb1[enter]
mke2fs 1.40.2 (12-Jul-2007)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072000 inodes, 262143991 blocks
13107199 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
8000 block groups
32768 blocks per group, 32768 fragments per group,16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.