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

Mounting an advanced file system:, Verifying the file systems

Page 20 highlights

Mounting an advanced file system: 1. Mount the file system: # mount -t advfs domain_name#fileset_name mount_directory Example To mount the file system with mount directory: mount -t advfs domain1#fileset1 /HP5700_LU2c 2. Assign the appropriate ownership and permissions: # chown owner:group*device_file_name* Example To assign ownership to dsk10c with owner Oracle, group dba, enter: chown oracle:dba *dsk10c* Verifying the file systems Verify that the new file systems were created correctly and are functioning properly. 1. Display all mounted file systems. # df The default display for drive capacity is 512-byte blocks. To view the capacity in kilobytes rather than in 512-byte blocks, enter df -k. 2. Go to a new device directory: # cd /mount_directory Example cd /HP5700_LU2c 3. Copy a file from the root directory to the new device: # cp /filename file_name.back1 Example To copy file vmunix from the root directory to the HP5700_LU2c device, enter: cp /vmunix vmunix.back1 20 Installing and configuring Tru64 for the XP disk array

  • 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

Mounting an advanced file system:
1.
Mount the file system:
# mount –t advfs
domain_name
#
fileset_name mount_directory
Example
To mount the file system with mount directory:
mount –t advfs domain1#fileset1 /HP5700_LU2c
2.
Assign the appropriate ownership and permissions:
# chown
owner
:
group
*
device_file_name
*
Example
To assign ownership to dsk10c with owner Oracle, group dba, enter:
chown oracle:dba *dsk10c*
Verifying the file systems
Verify that the new file systems were created correctly and are functioning properly.
1.
Display all mounted file systems.
# df
The default display for drive capacity is 512-byte blocks. To view the capacity in kilobytes rather
than in 512-byte blocks, enter
df –k
.
2.
Go to a new device directory:
# cd /
mount_directory
Example
cd /HP5700_LU2c
3.
Copy a file from the root directory to the new device:
# cp /
filename file_name
.back1
Example
To copy file
vmunix
from the root directory to the HP5700_LU2c device, enter:
cp /vmunix vmunix.back1
Installing and configuring Tru64 for the XP disk array
20