Datacentre Support Reference Guides

HP: Creating Filesystems
 

 


HPUX 10.X

Prerequisites:

1. Have a volume group created (vg## will be used in this example)
2. Have a logical volume created (lvol## will be used in this example)

# newfs /dev/vg##/rlvol##

HPUX 9.X

Prerequisites:

1. Have a volume group created (Vg will be used in this example)
2. Have a logical volume created (Lv will be used in this example.

Steps:

1. Identify the disk type on which the filesystem will reside:

a. lvdisplay -v Lv | grep dsk | sort | uniq
b. diskinfo /dev/rdsk/DISK_DRIVER
c. Note the product id number in the display.


2. newfs /dev/Vg/rLv PRODUCT_NUMBER
 

a. Ensure you use the raw device driver in the diskinfo and newfs commands.


3. Mount the directory in the place of your choosing.