HP: Creating filesystems

Title:

HP: Creating filesystems

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

HP: Creating filesystems

Date created:

05/2005

Date updated:

06/2006

Disclaimer:

Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…

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:

    1. lvdisplay -v Lv | grep dsk | sort | uniq

    2. diskinfo /dev/rdsk/DISK_DRIVER

    3. Note the product id number in the display.

  2. newfs /dev/Vg/rLv PRODUCT_NUMBER

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

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