Dot Hill Systems II 200 FC service manual I.9 Creating an HP-UX File System, # ls /dev/vg02

Models: II 200 FC

1 210
Download 210 pages 50.54 Kb
Page 202
Image 202
#ls /dev/vg02

Both character and block device files for the new logical volume are created in the volume group directory:

#ls /dev/vg02

group lvol1 rlvol1

Applications should use these names to access the logical volumes. Unless you specify otherwise, HP-UX creates names in the form shown in the example. To specify custom names for logical volumes refer to vgcreate(1M).

I.9 Creating an HP-UX File System

The following command creates a file system on the logical volume created in the previous steps.

#/sbin/newfs -F vxfs /dev/vgmynewvg/rlvol1

I.10 Mounting the File System Manually

The process of incorporating a file system into the existing directory structure is known as “mounting the file system.” The files, although present on the disk, are not accessible to users until they are mounted.

1.Create a directory to be the mount point for your new file system:

#mkdir /usr/local/myfs

2.To mount your file system, type the following:

#mount /dev/vgmynewvg/lvol1 /usr/local/myfs

I.11 Mounting the File System Automatically

By placing information about your file system in the fstab file, you can have HP- UX mount the file system automatically during bootup. You can also use the name of the mount point in mount commands that you issue from the console.

1.Make a copy of the existing fstab file:

#cp /etc/fstab /etc/fstab.orig

I-8SANnet II 200 FC, SATA, and SATA SE Array Installation, Operation, and Service Manual • March 2005

Page 202
Image 202
Dot Hill Systems II 200 FC I.9 Creating an HP-UX File System, I.10 Mounting the File System Manually, # ls /dev/vg02