Friday, January 10, 2014

Rock Ridge extensions ... pfs_mount?

Do you have problems mounting Oracle cd? or perhaps a Windows burned one?
There is the minimal needed steps to mount a RickRidge CD on HP-UX 11i and how to export it to other machine:

In the system where you've the CD do the next:
0.- mysystem:/#mkdir -p /mnt/pfs_cdrom (use your own)
1.- mysystem:/#nohup /usr/sbin/pfs_mountd &
2.- mysystem:/#nohup /usr/sbin/pfsd &
3.- Add the filesystem to /etc/pfs_fstab:
Sample: /dev/dsk/cXtYdZ /mnt/pfs_cdrom pfs-rrip xlat=unix 0
3.1.- As is not usual mount Rock Ridge CD i prefer do it manually and not in pfs_fstab
4.- If you want export to other system perform steps 5 & 6 if not, go to 7.
5.- Put the rigth entry to your filesystem in the /etc/pfs_exports (man pfs_exports(5))
6.- mysystem:/#pfs_exportfs -av
7.- mysystem:/#pfs_mount /mnt/pfs_cdrom

Now is the moment to mount in our remote system, so you must perform a few steps:

0.- remotesystem:/#mkdir -p /mnt/pfs_cdrom (use your own)
1.- remotesystem:/#nohup /usr/sbin/pfs_mountd &
2.- remotesystem:/#nohup /usr/sbin/pfsd &
3.- remotesystem:/#pfs_mount -o xlat=unix,rrip mysystem:/mnt/pfs_cdrom /mnt/pfs_cdrom

No comments:

Post a Comment