Operating System - HP-UX
1834674 Members
2329 Online
110069 Solutions
New Discussion

How to NFS mount a rock ridge cd

 
SOLVED
Go to solution
Geoff Wild
Honored Contributor

How to NFS mount a rock ridge cd

Okay, I have the Rock Ridge patches installed on both servers.

I mount the cd like so:

mount -F cdfs -o ro,rr,noauto /dev/cdrom /cdrom

Then export:

exportfs -i -o ro /cdrom


I then go to client machine, and mount like so:

mount -F nfs sha1:/cdrom /zmnt

# file /zmnt/install
/zmnt/install: cannot open for reading

# ll /zmnt
total 40
drwxr-xr-x 1 root bin 2048 May 11 2004 Doc
drwxr-xr-x 1 root bin 2048 May 11 2004 NBClients
dr-x------ 1 root bin 2048 May 11 2004 hp-ux
-r-x------ 1 root bin 13655 May 11 2004 install

The file command works on the NFS server - but not client - what gives? I installed Rock Ridge patches so I don't have to use pfs_mount any more...

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
5 REPLIES 5
Steve Steel
Honored Contributor

Re: How to NFS mount a rock ridge cd

Hi

Unmount and ll -d /zant

If there is no read can be enough


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Zinky
Honored Contributor

Re: How to NFS mount a rock ridge cd

Share out the CDROM mount with "anon=0" and possibly "root=client_hostname".

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Geoff Wild
Honored Contributor

Re: How to NFS mount a rock ridge cd

Nope - not that:

# umount /zmnt

root@svr1000 [ / ]
# ll -d /zmnt
drwxr-xr-x 6 root sys 96 Jul 3 19:11 /zmnt

Originally, I was trying to NFS mount on another server - that didn't have the Rock Ridge - so I thought, maybe both servers need them - makes sense? no? Unfortunately - it still doesn't work...


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Zinky
Honored Contributor
Solution

Re: How to NFS mount a rock ridge cd

exportfs -i -o ro,anon=0,root=clienthostname /cdrom
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Geoff Wild
Honored Contributor

Re: How to NFS mount a rock ridge cd

Thanks Nelson - didn't need the root=


exportfs -i -o ro,anon=0 /cdrom

# mount -F nfs sha1:/cdrom /zmnt

root@svr1000 [ / ]
# file /zmnt/install
/zmnt/install: commands text

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.