- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to use pfs_mount
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:15 PM
01-03-2002 03:15 PM
Alan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:19 PM
01-03-2002 03:19 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:23 PM
01-03-2002 03:23 PM
Re: How to use pfs_mount
Make sure you have no pfs daemons running.
This is the following order.
1. pfs_mountd
2. pfsd&
Then use pfs_mount command to mount the CD.
Check the man page for pfs_mount to check the type and the corresponding option.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:24 PM
01-03-2002 03:24 PM
Re: How to use pfs_mount
Apart from above posts more details on 'pfs_mount' can be found in Technical Knowledge Base document #KBAN00000252.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:24 PM
01-03-2002 10:24 PM
Re: How to use pfs_mount
## Starting daemons
cd /tmp
nohup /usr/sbin/pfs_mountd ???v &
sleep 10
nohup /usr/sbin/pfsd 4 ???v &
sleep 10
## Contents of /etc/pfs_fstab for Oracle CD's (which is why most people use pfs_mount)
/dev/cdrom /SD_CDROM pfs-rrip retry=3,soft,intr,xlat=unix 0 0
After this you can mount an Oracle CD with a simple pfs_mount -a
Unmount with pfs_umount /SD_CDROM
After the umount you may kill the daemons in reverse order of starting them ...
Hope this helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:52 PM
01-03-2002 11:52 PM
Re: How to use pfs_mount
in case of local mount :
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount ???t rrip ???x unix /dev/dsk/c9t9d0 /cdrom
----
in case of remote mount :
On remote server :
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount ???t rrip ???x unix /dev/dsk/c9t9d0 /cdrom
edit /etc/pfs_exports & add :
/cdrom ???access=client_hostname
pfs_exportfs ???a ???v
On local server :
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd 4 &
/usr/sbin/pfs_mount otherserver:/cdrom /cdrom
after use don't forget to pfs_umount /cdrom (on both systems if remote). Afterwards you can also kill pfs_mountd & pfsd daemons.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 12:12 AM
01-04-2002 12:12 AM
Re: How to use pfs_mount
This is my script ./pfsmcd that does the automatic pfs mounting and unmounting after you have /etc/pfs_fstab configured
1) unmounts if mounted
2) mounts if not mounted
=====================================================
#!/usr/bin/ksh
if ps -ae|grep -v grep|grep pfs_mountd > /dev/null 2>/dev/null
then
echo pfs_mountd already started
else
echo Starting pfs_mountd
nohup /usr/sbin/pfs_mountd &
sleep 5
fi
if ps -ae|grep -v grep|grep pfsd > /dev/null 2>/dev/null
then
echo pfsd already started
else
echo Starting pfsd
nohup /usr/sbin/pfsd &
sleep 5
fi
if /sbin/mount|grep /cdrom > /dev/null 2>/dev/null
then
echo Unmounting /cdrom
pfs_umount /cdrom > /dev/null 2>/dev/null
else
echo Mounting /cdrom
pfs_mount /cdrom > /dev/null 2>/dev/null
fi
=====================================================
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 06:50 PM
01-04-2002 06:50 PM
Re: How to use pfs_mount
just remember that PFS *needs* NFS to be up and running!
So, check with "rpcinfo -p" - any output except an error is ok...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:24 AM
01-10-2002 10:24 AM
Re: How to use pfs_mount
Alan