beautypg.com

I.9 creating an hp-ux file system, I.10 mounting the file system manually, I.11 mounting the file system automatically – Dot Hill Systems II 200 FC User Manual

Page 202: Creating an hp-ux file system, I.10, Mounting the file system manually, I.11, Mounting the file system automatically

background image

I-8

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

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

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.

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:

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

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:

#

ls

/dev/vg02

group

lvol1

rlvol1

#

/sbin/newfs

-F

vxfs

/dev/vgmynewvg/rlvol1

#

mkdir

/usr/local/myfs

# mount

/dev/vgmynewvg/lvol1

/usr/local/myfs

#

cp /etc/fstab

/etc/fstab.orig