NFS umount shows the "Device busy (Error 16)"


 
Thread Tools Search this Thread
Operating Systems SCO NFS umount shows the "Device busy (Error 16)"
# 1  
Old 08-14-2014
NFS umount shows the "Device busy (Error 16)"

Hi there
After making a backup copy of it sometimes happens that when I want to unmount an NFS indicates the error:
Code:
umount: /path_mount  busy: Device busy (Error 16)

if I run lsoff, I can not find the process that is blocking the application.

I'm using OpenServer 5.0.2c as one NFS server
SUSE SLED10SP2 (also happens in SUSE SLES11SP3 ), with settings:
Code:
/pathNFS  x0.x0.xx.xxx  (rw, async, root_squash)

Not if it is an issue of incompatibility Linux/OS5.0.2, or something I'm doing wrong.

As I can discover that is failing?
Thanks for reading this far.



Moderator's Comments:
Mod Comment Please wrap code, configurations, input & output/errors in CODE tags

Last edited by rbatte1; 08-14-2014 at 10:40 AM.. Reason: Added CODE tags
# 2  
Old 08-14-2014
Is the NFS server still running?
# 3  
Old 08-14-2014
This is showing that there is something using the NFS mounted filesystem. This could be a user or scheduled process using this for input or output files or the current working directory. Another alternative would be that there is a sub-mounted filesystem.

Commands such as df | grep patch_mount & fuser -c /path_mount might give you more information about what is in use.

Be aware that deleted files that are still open will still hold the filesystem in-use until their processes end.



I hope that this helps,
Robin
# 4  
Old 08-14-2014
achenle: if the nfs server is still functioning properly.

rbatte1: outputs:
Code:
# df | grep cediback2
/cediback2 (pc10:/backup/cediback2 ): 337148144 blocks        0 i-nodes

fuser, the option -c is not recognized, but shows fuser pc10:/backup/cediback2 processes that are not related (I think) ..
the resource /cediback2 only used for the backup script, other users do not accessed.
The detail of each pid is:
Code:
72
    root    72     1  0   Aug-08       ?    00:00:00 strerr
6995
  caja05  6995  6878  0 07:48:37   ttyp7    00:00:01 /backup/fiscal/unxfis -k -cxx.xx.22.11 -i/dev/p_wcajero05 -o/dev/p_rcajero05
6024
    root  6024  6020  0 07:48:27   ttyp7    00:00:00 login -r xx.xx.22.11 root root -c ansi
6020
    root  6020   347  0 07:48:27       ?    00:00:00 rlogind
532
    root   532     1  0   Aug-08       ?    00:00:04 ./pciconsvr.ip -D0 -L0
531
    root   531     1  0   Aug-08       ?    00:00:00 ./pcimapsvr.ip -D0
53
    root    53    46  0   Aug-08       ?    00:00:03 /etc/ifor_sld
5101
  caja03  5101  5054  0 07:48:18   ttyp2    00:00:01 /backup/fiscal/unxfis -k -cxx.xx.22.12 -i/dev/p_wcajero03 -o/dev/p_rcajero03
51
    root    51    46  0   Aug-08       ?    00:00:00 /etc/sco_cpd
496
    root   496     1  0   Aug-08       ?    00:00:00 /var/scohttp/scohttpd -d /var/scohttp
461
    root   461   459  0   Aug-08       ?    00:00:00 lockd
46
    root    46    45  0   Aug-08       ?    00:00:03 /etc/ifor_pmd
459
    root   459   452  0   Aug-08       ?    00:00:00 lockd
452
    root   452     1  0   Aug-08       ?    00:00:00 lockd
450
    root   450     1  0   Aug-08       ?    00:00:00 statd
45
    root    45     1  0   Aug-08       ?    00:00:00 /etc/ifor_pmd
4491
    root  4491  4480  0 07:48:12   ttyp2    00:00:00 login -c
4480
    root  4480   347  0 07:48:11       ?    00:00:00 telnetd
427
    root   427     1  0   Aug-08       ?    00:00:00 /etc/lmcfsd
411
    root   411     1  0   Aug-08       ?    00:00:00 /usr/bin/X11/scologin
41
    root    41     1  0   Aug-08       ?    00:00:03 /etc/syslogd
385
    root   385     1  0   Aug-08       ?    00:00:00 /etc/nbd
367
    root   367     1  0   Aug-08       ?    00:00:00 /etc/snmpd
356
    root   356     1  0   Aug-08       ?    00:00:00 /usr/lib/lpd
351
    root   351     1  0   Aug-08       ?    00:00:04 routed
347
    root   347     1  0   Aug-08       ?    00:00:00 /etc/inetd
330
    root   330     1  0   Aug-08       ?    00:00:00 rusersd
329
    root   329     1  0   Aug-08       ?    00:00:00 rwalld
320
    root   320     1  0   Aug-08       ?    00:00:00 portmap
279
    root   279     1  0   Aug-08       ?    00:00:00 /opt/K/SCO/lli/5.0.2k/bin/dlpid /var/opt/K/SCO/lli/5.0.2k/dlpidPIPE
272
    root   272   268  0   Aug-08       ?    00:00:00 /etc/pwr/lib/listen system/start-2 pwrd/startup /dev/fd/4
268
    root   268     1  0   Aug-08       ?    00:00:00 /etc/pwr/bin/pwrd
2589
    root  2589     1  0 19:36:05   tty01    00:00:00 /bin/login pc10
22263
    root 22263 22242  0 07:11:23   ttyp5    00:00:00 login -c
22242
    root 22242   347  0 07:11:23       ?    00:00:00 telnetd
19898
19897
19131
  caja02 19131 19076  0 07:10:52   ttyp3    00:00:00 /backup/fiscal/unxfis -k -cxx.xx.22.13 -i/dev/p_wcajero02 -o/dev/p_rcajero02
1661
  caja16  1661  1611  0 07:17:54   ttyp5    00:00:00 /backup/fiscal/unxfis -k -cxx.xx.22.14 -i/dev/p_wcajero16 -o/dev/p_rcajero16
12197
    root 12197 12184  0 07:59:31   ttyp8    00:00:00 login -c
12184
    root 12184   347  0 07:59:31       ?    00:00:00 telnetd
11919
    root 11919 11350 82 10:53:45   ttyp6    00:00:00 -sh
11381
    root 11381 11364  0 07:09:35   ttyp3    00:00:00 login -c
11364
    root 11364   347  0 07:09:35       ?    00:00:00 telnetd
11350
    root 11350 11338  0 10:53:39   ttyp6    00:00:00 login -c
11338
    root 11338   347  0 10:53:39       ?    00:00:00 telnetd
10939
    root 10939   347  0 10:48:33       ?    00:00:00 telnetd


Moderator's Comments:
Mod Comment Again, please use CODE tags for all code, input & output/errors.

Last edited by rbatte1; 08-14-2014 at 11:56 AM.. Reason: CODE tags
# 5  
Old 08-14-2014
And what does
Code:
fuser -u /cediback2

give ?
# 6  
Old 08-14-2014
Quote:
Originally Posted by rbatte1
This is showing that there is something using the NFS mounted filesystem. This could be a user or scheduled process using this for input or output files or the current working directory. Another alternative would be that there is a sub-mounted filesystem.

Commands such as df | grep patch_mount & fuser -c /path_mount might give you more information about what is in use.

Be aware that deleted files that are still open will still hold the filesystem in-use until their processes end.



I hope that this helps,
Robin
It could also be shared back out.
# 7  
Old 08-14-2014
The most likely mistake is that YOU are in a directory on the filesystem when you try to umount. In that situation you cannot umount even if you are root (unless you use the -f (force) switch which is not recommended).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

"Locate" Shows Files but Not "LS" in Terminal

OS-X 10.8.4 Using locate I get these results: 10:~ mize$ locate /Users/mize/*.sh /Users/mize/Zend/workspaces/DefaultWorkspace/SLM/vendor/ZF2/bin/check-cs.sh /Users/mize/copy_ascii_upload.sh /Users/mize/copy_ascii_upload_to_server.sh /Users/mize/copy_form_functions_php_to_jpl.sh... (7 Replies)
Discussion started by: Gary Mize
7 Replies

2. Solaris

Repeated error - "se_hdlc: clone device must be attached before use" in /var/adm/messages

Below is the error being repeated on my Solaris 9 Sun-Fire-V890 machine. SAN team confirmed as everything is fine from their end. I did google and found that some people say its a known Oracle bug when you have Oracle 10G installed on your system but I kind of disagree with them. Please see below... (2 Replies)
Discussion started by: vikkash
2 Replies

3. Solaris

"Device busy" When Reopening Serial Port

Any help much appreciated. I am a Java developer, not a Solaris adept. I'm having an issue reopening serial port with the Java app I am developing. I develop in Windows and deploy the app on Solaris 10 (Sunfire X4170 with Xeon.) On the target machine my app uses the two serial ports... (11 Replies)
Discussion started by: Jim Ryan
11 Replies

4. Red Hat

DELL M910 with RedHat Linux 5.5 getting "Buffer I/O error on device sdd"

Dear Guru, IHAC who is using Redhat Linux 5 on DELL M910. When system bootup, it show "Buffer I/O error on device sdd" error message. Below is the "dmesg" output. The scenario is: If more external FC SAN disk LUN add, the device would change other name. So it will impact the raw device... (7 Replies)
Discussion started by: devyfong
7 Replies

5. UNIX for Dummies Questions & Answers

UNIX rm -rf error "rm: cannot remove `filename' : Device or resource busy"

Hi Everyone, I am trying to remove a directory: $ rm -rf directory_name/ rm: cannot remove `directory_name/filename': Device or resource busy What does this mean, and why can't I remove these files? I already tried moving into the directory, and removing the files individually, but I... (7 Replies)
Discussion started by: Anna_Z
7 Replies

6. Linux

Umount of a "busy" disk

A product I am working on manages storage. We are currently porting it from Solaris to Linux. The product allows its user, among other things, to add and remove file server volumes, where these volumes are exported using the NFS or the CIFS protocol. The problem is that when the user requests to... (5 Replies)
Discussion started by: dhzdh
5 Replies

7. Emergency UNIX and Linux Support

Mapping between "Pseudo name" and "Logical device ID" in powerpath with SVM changed....

Dear All, I was having powerpath 5.2 on SUN server with SVM connected to CLARIION box.Please find the following output : root # powermt display dev=all Pseudo name=emcpower3a CLARiiON ID=CK200073400372 Logical device ID=60060160685D1E004DD97FB647BFDC11 state=alive; policy=CLAROpt;... (1 Reply)
Discussion started by: Reboot
1 Replies

8. Solaris

Metastat shows "maintenance" and "last-erred"

Hi All, Sorry to post a problem for my first post but I'm in a bit of a pickle at the minute! I have an Ultra45 connected to a Storedge 3100 series, 2 internal, 2 external disks with a db application running on the external disks. Now everything is working fine and we've had no downtime or... (4 Replies)
Discussion started by: TheSteed
4 Replies

9. HP-UX

Cannot umount - device busy

Anyone have any idea why I cannot umount a directory even though fuser shows no process attached to it? fuser -cu /data/oracle/GMPSHRDM/export /data/oracle/GMPSHRDM/export: umount /data/oracle/GMPSHRDM/export umount: cannot unmount /data/oracle/GMPSHRDM/export : Device busy umount:... (2 Replies)
Discussion started by: keelba
2 Replies

10. UNIX for Dummies Questions & Answers

umount, device busy, but..

I'm trying to unmount a file system, but umount says the device is busy. A fuser -c /myfs tells me that nothing on this fs is in use. Any idea? Oh, and btw, why isn't my signature beeing displayed? Show user's signature is enabled and I have entered one :/ (10 Replies)
Discussion started by: sTorm
10 Replies
Login or Register to Ask a Question