- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: NFS Error
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
10-07-2004 02:48 AM
10-07-2004 02:48 AM
Just set up NFS client on VMS 7.3-2 and mounted file system on my linux box but does not allow me to copy a file to this device.
Am i using the correct command (see attached...)
Regards
Peter
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 03:01 AM
10-07-2004 03:01 AM
Re: NFS Error
You have a problem with permission between Linux and VMS (proxies accounts).
Yo may prove this command:
TCPIP> add proxy tcpip$nobody /uid=-2/gid=-2/host=*
TCPIP> sysconfig -r nfs noproxy_enabled=1
TCPIP> sysconfig -r nfs noproxy_uid=-2
TCPIP> sysconfig -r nfs noproxy_gid=-2
After shutdown and reboot TCP/IP services.
Best Regards.
Daniel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 03:02 AM
10-07-2004 03:02 AM
Re: NFS Error
As the RMS-E-PRV indicates, the account you're are using has no write access to the MFD of that disk.
Did you check the protection on that disk?
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 03:19 AM
10-07-2004 03:19 AM
Re: NFS Error
Do i have to shut down tcpip services or can i just stop nfs and restart??
Regards
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 03:27 AM
10-07-2004 03:27 AM
Re: NFS Error
You can also do on a console on the nfs server
$ reply/enable=network
to see the nfs messages.
hth,
HF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 03:30 AM
10-07-2004 03:30 AM
Re: NFS Error
Check the /etc/exports file on the Linux machine and, as I suggested in yours previous thred, the /var/log/messages (just do a tail /var/log/messages after you try the copy command on VMS). Can you read anything from this disk or just a dir command?
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 03:51 AM
10-07-2004 03:51 AM
Re: NFS Error
Tried reply/enable=network and i dont recieve any messages when the copy fails.
Let me just check this.
On the Linux box i have edited the /etc/exports file and entered /data/vmsalpha(sync) 129.100.2.1/16
I have added the user nfs_user 400:400 this is the same as user on the alpha.
Then i have started the nfsd daemon.
On the alpha i have created user account nfs_user [400,400] given privileges sysnam and grpnam,then i have added the proxy:
TCPIP>ADD PROXY NFS_USER /NFS=(OUTGOING,INCOMING)/UID=400/GID=400/HOST=ERITHMAIL
and mounted the remote directory:
TCPIP>MOUNT DNFS1: /HOST="ERITHMAIL" /PATH="/data/vmsalpha/"
then i want to copy file pctest.txt to remote directory:
COPY PCTEST.TXT DNFS1:[000000]
I this correct have i missed anything??
Regards
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 04:00 AM
10-07-2004 04:00 AM
Re: NFS Error
Some Linux use nfs V4 not yet supported by
the VMS nfs server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 04:05 AM
10-07-2004 04:05 AM
Re: NFS Error
Anyhow, can your exports be accessed by a nfs V3 client ?
/hf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 04:09 AM
10-07-2004 04:09 AM
Re: NFS Error
that the user nfs_user has write access
to the exported directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 06:57 AM
10-07-2004 06:57 AM
Re: NFS Error
Thinks like this have been discussed before:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=448989
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=246673
Perhaps your answer is in one of these
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 07:28 AM
10-07-2004 07:28 AM
Re: NFS Error
Try to modify yours /etc/exports line to:
/data/vmsalpha(sync) 129.100.2.1/16(rw)
Try as Faris suggested:
su - nfs_user -c "echo test > /data/vmsalpha/test"
ls -l /data/vmsalpha/test
If the owner of /data/vmsalpha is not nfs_user do a:
chown 400:400 /data/vmsalpha
By the way (sorry if this is a stupid question but sometimes happens) is the directory /data/vmsalpha created?
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 08:19 PM
10-07-2004 08:19 PM
Re: NFS Error
However when i try to write a file it gives the message:
Device currently write locked
Reg
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 11:57 PM
10-07-2004 11:57 PM
Re: NFS Error
What is the exact reported error? Can you try to access to this NFS disk from another Linux machine?
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 12:04 AM
10-08-2004 12:04 AM
Re: NFS Error
-RMS-E-WLK, device currently write locked
Unfortunately i don't have another Linux machine!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 12:16 AM
10-08-2004 12:16 AM
Re: NFS Error
a chmod 777 on the directory on linux
(access to everybody)
to see if that works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 12:21 AM
10-08-2004 12:21 AM
SolutionThe only reported error in VMS abbout RMS-E-WLK is taht you have mounted the NFS device whit the /NOWRITE qualifier. I suppose that you have not done this.
So probably there is an error on the Linux side. Please see the Linux NFS-HOWTO
http://www.faqs.org/docs/Linux-HOWTO/NFS-HOWTO.html
maybe the most interesant for you is
http://www.faqs.org/docs/Linux-HOWTO/NFS-HOWTO.html#SYMPTOM4
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 12:32 AM
10-08-2004 12:32 AM
Re: NFS Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 02:38 AM
10-11-2004 02:38 AM
Re: NFS Error
However the dump file on the Alpha was over 14GB but the one on the Linux is only 1.41GB i have checked the log file and it seems to have copied all the data but im not sure it has done this correctly!! and have no real way of checking this dump file ie. no spare machine and not enough space to create a new DB on the alpha or linux box.
Also the oracle export normally takes 1 and a half hours but to the Linux box it took 5 and a half is this normal? any way of improving this??
Cheers
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 03:00 AM
10-11-2004 03:00 AM
Re: NFS Error
As the file sizes you mentioned are a factor of 10 different could there be an arithmentic error in how you are obtaining the file sizes?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 03:06 AM
10-11-2004 03:06 AM
Re: NFS Error
Abbout the size I have realy no idea why is the file 10 times smaller. Check another time the sizes.
The speed is normaly slower, but I never tested on huge files. NFS was used for small files only.
An idea regarding yours problem:
If you need only to make an export of the database you can install the client part of Oracle on Linux and run the export (exp) command directly from linux.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 03:09 AM
10-11-2004 03:09 AM
Re: NFS Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:01 PM
10-11-2004 06:01 PM
Re: NFS Error
Check if you can write so large files on yours Linux. There are many restrictions for files larger than 2G, you must have the right kernel. There is also a restriction in the NFS V2 protocol, where the files are also restricted to 2G.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:24 PM
10-11-2004 08:24 PM
Re: NFS Error
Is there an easy way to check this?
Regards
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:54 PM
10-11-2004 08:54 PM
Re: NFS Error
with SuSE Linux, you normally see this in in the "uname -a" kernel name (something like "...-4GB").
HTH,
Martin