As with UFS file systems, you can use the Solaris utilities mkfs and mount to create and mount PFS file systems. For example, the following creates a 64-Kbyte PFS file system named pfs-demo0. Execute it on any server node.
adm# mkfs -F pfs pfs-demo0 64K
The -F option specifies the file system's type, which is pfs.
Next, mount the file system on each client node that has a PFS proxy daemon.
hpc-node0# mount -F pfs pfs-demo0 /pfs_demo0 hpc-node1# mount -F pfs pfs-demo0 /pfs_demo0 :
Alternatively, you can execute the following on a single node. This will cause the PFS file system to be mounted on all nodes in the cluster.
# /opt/SUNWhpc/bin/pfsmount pfs-demo0 /pfs_demo0
You may also want to add an entry for each PFS file system in the file /etc/vfstab. This will make it unnecessary to include the -F option when making and mounting the file systems. Example 5-1 shows how a PFS file system entry might look in the file /etc/vfstab.
#device device mount FS fsck mount mount #to mount to fsck point type pass at boot options pfs-demo0 - /pfs_demo0 pfs - no - |