HP StorageWorks Tru64 UNIX Kit V3.0B for Enterprise Virtual Array Installation and Configuration Guide (AA-RUGPB-TE, October 2003)

Testing Connections to the Enterprise Virtual Array
30 Tru64 UNIX Kit V3.0B for Enterprise Virtual Array Installation and Configuration Guide
To create the partitions on a virtual disk using the default partition sizes, enter the
following:
# disklabel -rw disk
Where:
disk is the character device name found in /dev/rdisk
For example, to create partitions on block device, dsk8, enter:
# disklabel -rw dsk8
To view a virtual disk partition, enter:
# disklabel -r device
Creating a File System on a Virtual Disk
The newfs command is given here as an example for creating a UNIX File
System (UFS). For Advanced File System (AdvFS) and for making devices
available for Logical Storage Manager (LSM), similar types of commands exist.
For additional information, consult the related documentation.
Use the newfs command to create a UFS file system on a virtual disk the same
way that you would create a file system on a disk device by entering the following:
# newfs special-device disk-type
For example:
# newfs /dev/rdisk/dsk8c
Where:
special-device is the appropriate device special file (see the example below)
To create a UFS file system using the above examples, enter the following:
# newfs /dev/rdisk/dsk8c
This creates a UFS file system on the c partition (whole disk-device).
Mounting the File System
To access the virtual disk, mount it as a device file system to a mount point. For
example:
# mount /dev/disk/dsk8c/mnt
To view the mounted file system, enter:
# df