- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to make depot on NFS 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-14-2007 09:50 AM
01-14-2007 09:50 AM
Unable to make depot on NFS mount
The command I am using is:
make_depots –v –x \
swcopy.write_remote_files=true \
–s /dev/dsk/c0t1d0 –d /nas/…/Rel_B.11.11/core
Running this command produces the output: “ERROR: swopy command failed”
swcopy.log contains the message “The target source is already in use either within this same session or by another session. A read or write lock was denied” and I am then pointed to look at swagentd.log
swagentd.log gives the message “Cannot lock ‘/nas/…/Rel_B.11.11/core’ because another command holds a conflicting lock. The process id of that command is 0”
pid 0 is the “swapper” process.
This error persists after several attempts at rebooting the machine and restarting the swagentd process.
Although the command doesn’t create the depot, it does create some of the directory structure, namely: catalog directory, dfiles directory and also the swlock file within catalog.
I am not really sure why the swapper process is holding the lock on the NFS mount, but any ideas for a fix or even a solid workaround would be appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2007 03:46 PM
01-14-2007 03:46 PM
Re: Unable to make depot on NFS mount
I had a similar problem with CIFS mounted file systems.
Read this reply from HP: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1085158
Anyway, try to eliminate any other issues by doing the same on a locally mounted file system.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 09:03 AM
01-15-2007 09:03 AM
Re: Unable to make depot on NFS mount
Thanks for the reply.
We have tried this workaround before but we are also unable to Ignite from the copy of the depot residing on the NAS.
So the method of doing so at the moment involves having to copy a new depot to the NAS, then copy it back off when we need to use it.
Unfortunately this isn't really practical given the speed of our network at the moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 09:49 AM
01-15-2007 09:49 AM
Re: Unable to make depot on NFS mount
Can root manually write to this location ?
Root access may be denied on this NFS mount.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 10:07 AM
01-15-2007 10:07 AM
Re: Unable to make depot on NFS mount
I can manually write as Root in the directory. I can freely create new files/directories as Root before and after the command fails.
There does seem to be a swlock file created (as well as some of the directory structure), and swagentd seems pretty convinced that there is a lock held but I have executed this command after first deleting this residual directory structure and then rebooting the local machine.
It may be some misunderstanding on my part of the functionality of make_depots but as far as I can tell no other commands should have been running to take a lock on the destination (certainly no SD commands were run).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 12:03 PM
01-15-2007 12:03 PM
Re: Unable to make depot on NFS mount
Can you get off the CD and copy the CD content/files onto /tmp/make-new-dir ?
what is being exported ? exportfs command ?
who is using the share exported-file-system ? run: fuser -u /exported-file-system-name
also, is the NAS configured proper for NFS ? Might want to double check that the files are for NFS type configuration.
good luck