Storage and File Systems


Quick Links:

Storage System Notes
File System Notes
Disk Tasks
Traditional File System Tasks
Log-Based File System Tasks


Storage System Notes

NOTES Tru64 UNIX V5.1x HP-UX 11i v2
Software Storage Managers LSM (Logical Storage Manager) LVM (Logical Volume Manager)
VxVM (VERITAS Volume Manager)
Graphical User Interface Storage Administrator GUI VERITAS Volume Manager Storage Administrator
Text-based User Interface voldiskadm vxdiskadm (VxVM)


File System Notes

NOTES Tru64 UNIX V5.1x HP-UX 11i v2
Traditional File System (1-to-1 relationship with disk or partition and file system) UFS HFS
Log-based File System (uses logical volumes) AdvFS (DVN4, DVN3)
  • Online JFS (also known as VxFS), available through a separate license from VERITAS Software, Inc.
  • JFS, a subset of VxFS
Cluster File System CFS VERITAS CFS
Network File System NFS NFS
Memory File System MFS  
File System for CD-ROMs CDFS (read-only) CDFS (read-only)
File System for DVD-ROMs DVDFS DVDFS
Special file system used to mount an existing directory onto another one FFM (File-on-File Mounting File System) LOFS (Loopback File System)
Mount Information /etc/fstab (UFS)
/etc/fdmns (AdvFS)
/etc/fstab
/etc/checklist


Disk Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Read disk information Command:

disklabel -r (raw device)

Commands:

diskinfo (raw device)
pvdisplay (block device) (LVM)
vxinfo (VxVM)

Label disk Using SysMan Menu:

N/A

Using SAM:
  1. Disks and File Systems  Disks Devices
  2. Select disk
  3. Actions  Annotate Device...
Command:

disklabel -rw

Command:

pvcreate (LVM)
vxdiskadm (VxVM)

Partition disk (hard partition) GUI:

(CDE) Application Manager  System_Admin  Configuration  Disk Configuration (dxdiskconfig)

NOTE:

HP-UX requires that you use the entire disk, but it may be subdivided by LVM or VxVM.

Command:

disklabel -e


Traditional File System Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Create Traditional File System Using SysMan Menu:

Storage  File Systems Management Utilities  UNIX File Systems (UFS) Utilities  Create a New UFS File System


GUI:

(CDE) Application Manager  System_Admin  Configuration  Disk Configuration (dxdiskconfig)

Using SAM:

N/A

Commands:

newfs (UFS)
mfs (MFS)

Commands:

mkfs
newfs -F hfs (HFS)
newfs_hfs (HFS)

Mount File System (Disk) Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Mount File Systems

Using SAM:
  1. Disks and File Systems  File Systems
  2. Select File System
  3. Actions  Add Local File System  Not Using LVM
Command:

mount -t fstype

Commands:

mount -F fstype
mount_hfs

Mount File System (CD-ROM) Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Mount File Systems

Using SAM:
  1. Disks and File Systems  File Systems
  2. Select File System
  3. Actions  Add Local File System  Not Using LVM
Command:

mount -t cdfs -o noversion
mount

Command:

mount -F cdfs
mount_cdfs

Mount CD-ROM File System (Rock Ridge extensions) Command:

mount -r -t cdfs -o rrip

Command:

mount -F cdfs -o rrip

Display a List of Mounted File Systems Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Display Currently Mounted File Systems


GUI:

(CDE) Application Manager  System_Admin  DailyAdmin  System Information (dxsysinfo)

Using SAM:

Disks and File Systems  File Systems

Commands:

mount
df

Commands:

mount
df

Display Free Space Command:

df

Commands:

df -F hfs
df_hfs
bdf

Unmount a File System Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Dismount a File System

Using SAM:
  1. Disks and File Systems  File Systems 
  2. Select File System
  3. Actions  Remove
(Also removes mountpoint directory.)
Command:

umount filesystem|mountpoint

Command:

umount

Extend a Traditional File System Command:

extendfs

Commands:

extendfs
extendfs -F hfs
extendfs_hfs

Checking a Traditional File System Command:

fsck

Commands:

fsck
fsck -F hfs
fsck_hfs

Tune a File System Command:

tunefs

Command:

tunefs

Repair Traditional File System Command:

fsdb

Commands:

fsdb
fsdb -F hfs
fsdb_hfs

Copy File System Command:

N/A

Command:

dcopy

Convert File System to allow long file names Command:

N/A

Command:

convertfs


Log-Based File System Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Create Log-based File System Using SysMan Menu:

Storage  File Systems Management Utilities  Advanced File Systems (AdvFS) Utilities  Create a New AdvFS Domain

Using SAM:

Disk and File Systems  Logical Volumes  Create

Command:

mkfdmn

Commands:

newfs
newfs -F vxfs (VxFS)
newfs_vxfs (VxFS)

Create File System/Fileset Using SysMan Menu:

Storage  File Systems Management Utilities  Advanced File Systems (AdvFS) Utilities  Create a New AdvFS Fileset

Using SAM:
  1. Disk and File Systems  File Systems
  2. Actions  Create...
Command:

mkfset

Command:

mkfs

Mount File System (Disk) Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Mount File Systems

Using SAM:
  1. Disks and File Systems  File Systems
  2. Select File System
  3. Actions  Add Local File System  Not Using LVM
Command:

mount -t fstype

Commands:

mount -F fstype
mount_vxfs

Display a List of Mounted File Systems Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Display Currently Mounted File Systems


GUI:

(CDE) Application Manager  System_Admin  DailyAdmin  System Information (dxsysinfo)

Using SAM:

Disks and File Systems  File Systems

Commands:

mount
df

Commands:

mount
df

Display Free Space Using SysMan Menu:

N/A

Using SAM:

Disks and File Systems  Volume Groups

Commands:

vdf
df

Commands:

df -F vxfs
df_vxfs
bdf

Defragmentation Using SysMan Menu:

Storage  File Systems Management Utilities  Advanced File Systems (AdvFS) Utilities  Defragment an AdvFS Domain

Using SAM:

N/A

Command:

defragment

Command:

fsadm defrag

Unmount a File System Using SysMan Menu:

Storage  File Systems Management Utilities  General File Systems Utilities  Dismount a File System

Using SAM:
  1. Disks and File Systems  File Systems 
  2. Select File System
  3. Actions  Remove
Command:

umount filesystem|mountpoint

Command:

umount

Check File System Quota Consistency Command:

quotacheck

Command:

quotacheck

Editing Quotas Command:

edquota

Command:

edquota

Tune a File System Commands:

chvol (domain)
chfsets (fileset)
chfile (file)

Command:

vxtunefs

Repair Log-based File System Using SysMan Menu:

Storage  Advanced File System (AdvFS) Utilities Repair an AdvFS Domain

Using SAM:

N/A

Command:

fixfdmn

Command:

fsadm -F vxfs
fsadm_vxfs