Before anyone attempts to use a newly created PFS file system, it is a good idea to verify that it is correctly mounted. This can easily be done by invoking df -f PFS on any node that has a PFS proxy daemon. Example 5-2 shows an example of this, with the PFS file system pfs-demo0 included in the df output.
hpc-node1# df -f PFS /dev/pfs_psuedo (pfs_pseudo): 0 blocks 0 files |
Alternatively, if you execute the pfsmount command without any arguments, it will list every mounted PFS file system in the cluster. This is illustrated in Example 5-3.
hpc-node1# /opt/SUNWhpc/bin/pfsmount Mounted PFS filesystems: hpc-node4: pfs-demo0 on pfs-demo0 hpc-node5: pfs-demo0 on pfs-demo0 |
The PFS file system pfs-demo0 is now ready to use. You can use Solaris utilities to create and delete PFS files and directories in the directory /pfs-demo0, just as you would in any UFS file system. To achieve best performance, however, applications should access the PFS facilities via MPI I/O calls.