HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide: Tru64 UN - Page 19

Creating mount directories, Mounting the file systems

Page 19 highlights

2. Create a new fileset in the new or existing advanced file system domain. # mkfset domain_name fileset_name Creating mount directories Create a mount directory for each device. Assign each mount directory a unique name that identifies the device being mounted. 1. Create a mount directory. # mkdir /mount_directory_name Example To create a mount directory for LUN 2 (partition c) on the disk array, enter: # mkdir /HP5700_LU2c 2. Verify the new mount directory. Example # ls / Mounting the file systems After the file systems and mount directories have been created, mount the file system for each new device. Mounting a Tru64 file system: 1. Mount device: # mount device_file_name mount_directory Example - Tru64 5.1B To mount device dsk10c with mount directory name HP5700_LU2c, enter: # mount /dev/disk/dsk10c HP5700_LU2c 2. Assign the appropriate ownership and permissions: # chown owner:group *device_file_name* Example - Tru64 5.1B To assign ownership to dsk10c with owner Oracle, group dba enter: # chown oracle:dba *dsk10c* XP Disk Array Configuration Guide for Tru64 UNIX 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40

2.
Create a new fileset in the new or existing advanced file system domain.
# mkfset
domain_name fileset_name
Creating mount directories
Create a mount directory for each device. Assign each mount directory a unique name that identifies
the device being mounted.
1.
Create a mount directory.
# mkdir /
mount_directory_name
Example
To create a mount directory for LUN 2 (partition c) on the disk array, enter:
# mkdir /HP5700_LU2c
2.
Verify the new mount directory.
Example
# ls
/
Mounting the file systems
After the file systems and mount directories have been created, mount the file system for each new
device.
Mounting a Tru64 file system:
1.
Mount device:
# mount
device_file_name mount_directory
Example — Tru64 5.1B
To mount device dsk10c with mount directory name HP5700_LU2c, enter:
# mount /dev/disk/dsk10c HP5700_LU2c
2.
Assign the appropriate ownership and permissions:
# chown
owner
:
group
*
device_file_name
*
Example — Tru64 5.1B
To assign ownership to dsk10c with owner Oracle, group dba enter:
# chown oracle:dba *dsk10c*
XP Disk Array Configuration Guide for Tru64 UNIX
19