HP 3PAR Solaris Implementation Guide

# zfs create <name>/name_2>
# cd /name>/<name_2>
You create file systems with the newfs command. The newfs command accepts only logical raw
device names. The syntax is as follows:
# newfs [ -v ] [ mkfs-options ] raw-special-device
For example, to create a file system on the disk slice c0t3d0s4, you would use the following
command:
# newfs -v /dev/rdsk/c0t3d0s4
The -v option prints the actions in verbose mode. The newfs command calls the mkfs command
to create a file system. You can invoke the mkfs command directly by specifying a -F option
followed by the type of file system. For example:
# mkfs -F ufs /dev/rdsk/c0t3d0s4 /test_mount
Examples of Growing a Volume
The following examples show how to grow a volume using SSTM and VxVM.
Growing an SSTM Volume
Host - Sol 10 MU9
Stack - SSTM with emlxs
File System - UFS
1. Create a LUN on the HP 3PAR StoreServ Storage and export to the host:
# createvv <cpg_name> <lun_name> <size>
# createvlun <lun_name> <LUN_ID> <host_name>
2. Scan the device tree on the host (other commands are required for different HBA drivers):
# cfgadm -o show_FCP_dev -al
# luxadm probe
# devfsadm
3. Run the format command on the host, set the LUN type and label it:
# format
Select the LUN and then 'type':
format> type
Select '0' (Auto configure):
Specify disk type (enter its number)[2]: 0
72 Configuration Examples