- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: system mount problem
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
05-03-2004 02:52 PM
05-03-2004 02:52 PM
hostA:/tmp/EDP /home/peter/EDP ,
However , when the user in host B read the file , then it will hang , I have to re-mount it , but if I read the file again , it will also hang again. so I have already mount the path many times, I use "df" , it display
hostA:/tmp/EDP /home/peter/EDP
hostA:/tmp/EDP /home/peter/EDP
hostA:/tmp/EDP /home/peter/EDP
"
"
could suggest what is wrong ? thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 03:02 PM
05-03-2004 03:02 PM
SolutionOn both machines:
exportfs -av
Note and correct any errors you see.
There may be clues in the /var/log/messages file on one or the other server.
The cause of this can be:
inconsistent network settings.
problems with network cabling.
problems with switch settings.
Check the settings of network ip addresses in /etc/sysconfig/network-scripts
It would be nice to see some kind of error message from somewhere. You should be able to find and post something from /var/log
Poke around. NFS is very sensitive to the slightest issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 03:36 PM
05-03-2004 03:36 PM
Re: system mount problem
kernel: nfs: task 1619 can't get a request slot
hostA /etc/exports
/tmp/EDP hostB(rw,no_root_squash)
I successfully export the file ,
the system mount work fine previously ,
could suggest what is wrong ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 03:45 PM
05-03-2004 03:45 PM
Re: system mount problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 03:52 PM
05-03-2004 03:52 PM
Re: system mount problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 09:43 PM
05-03-2004 09:43 PM
Re: system mount problem
umount: /home/peter/EDP
: device is busy
umount: /home/peter/EDP
: device is busy
umount: /home/peter/EDP
: device is busy
umount: /home/peter/EDP
: device is busy
umount: /home/peter/EDP
: device is busy
umount: /home/peter/EDP
: device is busy
umount: /home/peter/EDP
: device is busy
umount: /var: device is busy
umount: /usr: device is busy
umount: /users: device is busy
umount: /tmp: device is busy
umount: /home: device is busy
umount: /dev/pts: device is busy
umount: /: device is busy
except reboot , how can I umount the path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 09:57 PM
05-03-2004 09:57 PM
Re: system mount problem
If it still won't work, then use 'umount -f /home/peter/EDP'.
This forces a mount of a stale (read: broken) NFS mount.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 10:13 PM
05-03-2004 10:13 PM
Re: system mount problem
and when use -f , it pop the below mesages
[root@peter tmp]# umount -f /home/peter/EDP
umount2: Device or resource busy
umount: /home/peter/EDP: Illegal seek
umount2: Device or resource busy
umount: /home/peter/EDP: device is busy
umount2: Device or resource busy
umount: /home/peter/EDP: device is busy
umount2: Device or resource busy
umount: /home/peter/EDP: device is busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 10:43 PM
05-03-2004 10:43 PM
Re: system mount problem
You can play with kernel nfs mount table but you'll lose stability.
(man rpc.mountd)
I think you can change settings in /etc/exportfs using the
sync
directive, which in my experience can reduce a bit those situation. You can set some limits as suggested in
#man nfs
hope somebody has better solution. I'll let you know.
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 11:28 PM
05-03-2004 11:28 PM
Re: system mount problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 11:33 PM
05-03-2004 11:33 PM
Re: system mount problem
umount2: Device or resource busy
umount: /home/peter/EDP : Illegal seek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 01:09 AM
05-04-2004 01:09 AM
Re: system mount problem
You should:
1)chkconfig nscd off
service nscd stop
2) stop nfs [look @ 1) ]
2a) init 1
3) man rpc.mountd
and look for the file where nfs stores the remote mount point [is something like xtab ] (it takes a client list in a file so he can remember his "clients" when he boots ut) bkup it and clear it
when you play with nfs remember to stop-play start nscd.
Try to track the route of NFS packet [ Reboot without starting NFS and check file changings..
]
Peace, R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 05:18 AM
05-04-2004 05:18 AM
Re: system mount problem
fuser
fuser -cu /mounted_fs
lists processes
fuser -cuk /mounted_fs kills all processes on the mounted filsysetm
fuser -u /folder lists processes in a folder thats not a mounted filesystem
fuser -uk kills processes in a folder
There appears not to be a -u command in Linux but the man for fuser will probably tell you how to accomplish what I'm recommending.
:=)
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 05:38 AM
05-04-2004 05:38 AM
Re: system mount problem
In HPUX it is #fuser -kuc
# fuser -km /home/peter/EDP
Then try unmount the file system
Hope this works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 05:32 PM
05-04-2004 05:32 PM
Re: system mount problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 05:43 PM
05-04-2004 05:43 PM
Re: system mount problem
Look at 'man 5 nfs', in particular the 'rsize' and 'wsize' values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:12 PM
05-04-2004 06:12 PM
Re: system mount problem
it seems not the speed problem , it seems the previous "dead" mount still in the memory and the host B can't unmout it , could suggest how to do it ? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:27 PM
05-04-2004 06:27 PM
Re: system mount problem
1) Stop all NFS on the server.
Depending on how much you use NFS on the server depends whether this is a truely feasable option. You'll need to stop the 'nfs' services, the 'nfslock' and you might also need to stop the 'rstatd' servce. Then stop the 'portmap' service before restarting them, in reverse order.
2) Reboot client workstation, making sure it doesn't use the NFS mount nastily in the boot process.
Then do some testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:38 PM
05-04-2004 06:38 PM
Re: system mount problem
I explain my case clearly , our network have problem suddenly then all the linkage broken and the system mount between all hosts was disconnected , now I can't mount it back , I also found that if I export a new path , it works fine ( the remote site can mount it ) , but if mount the existing exported path ( I mean the path that exported previously ) , it is not work .
The problem happened in all my hosts , could suggest what can i do ? very thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:50 PM
05-04-2004 06:50 PM
Re: system mount problem
mount: hostA:/tmp/EDP failed, reason given by server: Permission denied
In which case you need to clear the mount table on the client machine (using 'umount' or restarting it).
If this doesn't work, then you need to ensure that the exports are being read correctly, using the 'exportfs -av' command. It will re-export all current exports, but more importatnly, it will *LIST* every mount point and any errors associated with it on the server side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 07:13 PM
05-04-2004 07:13 PM
Re: system mount problem
I think you got my point ,
I tried exportfs -av , it list some paths , like it " exporting edp:/home/EDP/temp
reexporting edp:/home/EDP/temp to kernel" , is it a problem ? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 07:29 PM
05-04-2004 07:29 PM
Re: system mount problem
If you are trying to:
mount hostA:/tmp/EDP /home/peter/EDP
Then you have to EXPORT '/tmp/EDP' on machine 'hostA'.
As you're exporting 'edp:/home/EDP/temp', then on hostB, you have to be using the command 'mount edp:/home/EDP/temp /home/peter/EDP'.
(NOTE: This makes 2 assumptions, that hostname 'edp' resolves to the correct IP, and that the local directory '/home/peter/EDP' exists, and has no contents).