Mounting and verifying file systems for HP-UX

Open-Systems Host Attachment Guide

Version
9.8.7
Audience
anonymous
Part Number
MK-90RD7037-31

After you have created the mount directories, mount the file system for each new logical volume and verify the file systems.

  1. Use the mount command to mount the file system for the volume.
    # mount /dev/vg06/lvol1 /VSP-LU00                                 
             

    In this example, /dev/vg06/lvol1 is the Block-type lvol name and VSP-LU00 is the mount directory name

  2. Repeat step 1 for each new logical volume on the storage system.
  3. Use the bdf command to verify that the file systems are correct. Be sure the capacity (listed under Kbytes) is correct for each device.
    # bdf                                                            
    Filesystem          Kbytes    used   avail  %used  Mounted on
    /dev/vg00/lvol1      59797   59364       0  100%   /
     :
    /dev/vg06/lvol1    2348177       9 2113350    0%   /VSP-LU00               
    /dev/vg07/lvol1    2348177       9 2113350    0%   /VSP-LU01              
    /dev/vg08/lvol1    7052764       9 6347478    0%   /VSP-LU02   
  4. Perform basic UNIX operations, such as file creation, copying, and deletion, on each logical device to be sure the new devices on the storage system are fully operational.
    # mount /dev/vg06/lvol1 /VSP-LU00                                         
    # cd /VSP-LU00                                            
    # cp /bin/vi /VSP-LU00/vi.back1                            
    # ll                                                      
    drwxr-xr-t   2 root     root        8192 Mar 15 11:35  lost+found
    -rwxr-xr-x   1 root     sys       217088 Mar 15 11:41  vi.back1
    # cp vi.back1 vi.back2                                     
    # ll                                                       
    drwxr-xr-t   2 root     root        8192 Mar 15 11:35  lost+found
    -rwxr-xr-x   1 root     sys       217088 Mar 15 11:41  vi.back1
    -rwxr-xr-t   1 root     sys       217088 Mar 15 11:52  vi.back2
    # rm vi.back1                                              
    # rm vi.back2 
  5. If you want to unmount a file system after it has been mounted and verified, use the umount command (for example, umount /VSP-LU00).