Hullo List, I've just checked the processes running on my server and discovered a huge stream of the following, one per day: root 4643 0.0 0.5 1760 664 ? S Oct20 0:00 /USR/SBIN/CRON root 4644 0.0 0.8 2028 904 ? S Oct20 0:00 /bin/sh -c test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily root 4645 0.0 0.3 1252 348 ? S Oct20 0:00 run-parts --report /etc/cron.daily root 4692 0.0 0.8 2028 924 ? S Oct20 0:00 sh /etc/cron.daily/find root 4693 0.0 0.8 2048 952 ? S Oct20 0:00 sh /usr/bin/updatedb --localuser=nobody root 4707 0.0 0.8 2048 952 ? S Oct20 0:00 sh /usr/bin/updatedb --localuser=nobody root 4708 0.0 1.3 2340 1444 ? S Oct20 0:00 sort -f root 4709 0.0 0.2 1244 316 ? S Oct20 0:00 /usr/lib/locate/frcode nobody 4710 0.0 0.5 1412 656 ? D Oct20 0:04 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype auto -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -type d -regex (^/tmp$)|(^/usr/tmp$)|(^/var/tmp$)|(^/afs$)|(^/amd$) |(^/alex$)|(^/var/spool$) ) -prune -o -print
I checked the message log and realised that I hadn't unmounted the nfs mount to my other linux box when I dismantled it last week, and cron is trying to access a mount point that it can't. However, I can't seem to kill any of the processes or unmount the nfs mount. I've restarted nfs-server and portmap. I can't umount /mntpoint , it says :
Cannot MOUNTPROG RPC: RPC: Port mapper failure - RPC: Unable to receive umount: /ducati: device is busy
It would be a shame to reboot the box as it has sat there running reliably and happily since last May. Thanks, Jenny.
On Thu, 24 Oct 2002 Jenny_Hopkins@toby-churchill.com wrote:
I checked the message log and realised that I hadn't unmounted the nfs mount to my other linux box when I dismantled it last week, and cron is trying to access a mount point that it can't. However, I can't seem to kill any of the processes or unmount the nfs mount. I've restarted nfs-server and portmap. I can't umount /mntpoint , it says :
Cannot MOUNTPROG RPC: RPC: Port mapper failure - RPC: Unable to receive umount: /ducati: device is busy
Hi Jenny,
have you tried
umount -f /ducati
Assuming you have a recent kernel (newer than 2.1.something) that should do it.
Hope that helps
Chris
On Thu, Oct 24, 2002 at 12:20:42PM +0100, Jenny_Hopkins@toby-churchill.com wrote:
I checked the message log and realised that I hadn't unmounted the nfs mount to my other linux box when I dismantled it last week, and cron is trying to access a mount point that it can't.
Can you make the mount point come back? Even if it's a different machine with different contents it should work as long as it's on the same IP with the same exported name as the NFS connection is stateless.
J.
On Thu, Oct 24, 2002 at 05:56:37PM +0100, Jonathan McDowell wrote:
On Thu, Oct 24, 2002 at 12:20:42PM +0100, Jenny_Hopkins@toby-churchill.com wrote:
I checked the message log and realised that I hadn't unmounted the nfs mount to my other linux box when I dismantled it last week, and cron is trying to access a mount point that it can't.
Can you make the mount point come back? Even if it's a different machine with different contents it should work as long as it's on the same IP with the same exported name as the NFS connection is stateless.
doesn't work all of the time, if you had files open on the mount point and they mystically disappear the kernel can get more than a bit upset.. have had this at work a couple of times this week, usually its quicker to reboot the machine than to try and play around with the mounts though =(
Its still worth a try though.
Adam