Umount CIFS


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Umount CIFS
# 1  
Old 09-20-2011
Umount CIFS

hi guys

I have to umount a CIFS from a Windows machine...but it's been imposible

there is one special task

Code:
/sbin/umount.cifs /mondobackup

that task cannot be kill...so I cannot umount the unit

any idea how to kill this and umount this CIFS share?

by the way I've tried

umount -l
umount -f

same thing now I have these other commands holding the mount

Code:
ps aux | grep [m]ondo
root      5254  0.0  0.0   1420   292 ?        D    12:15   0:00 /sbin/umount.cifs /mondobackup
root      7593  0.0  0.0   1564   476 ?        D    13:18   0:00 fuser -cu /mondobackup
root      7724  0.0  0.0   1564   472 ?        D    13:18   0:00 fuser -ck /mondobackup
root      7882  0.0  0.0   1424   300 ?        D    13:20   0:00 /sbin/umount.cifs /mondobackup -f
root      8029  0.0  0.0   1424   300 pts/20   D    13:21   0:00 /sbin/umount.cifs /mondobackup -l

thanks a lot

Last edited by kopper; 09-20-2011 at 02:58 PM..
# 2  
Old 09-20-2011
See what's at the bottom of dmesg | less
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 09-20-2011
Quote:
Originally Posted by Corona688
See what's at the bottom of dmesg | less
something like this


Code:
CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode
 CIFS VFS: No writable handles for inode

# 4  
Old 09-20-2011
Try to track down and kill any processes still using the share. That may allow it to finish unmounting.

If not, you may have to reboot. You'll never kill a lazy unmount. IMHO -l amounts to a denial-of-service bug: Open files will hold it open, but new ones can't be opened, causing a situation where there's no service and you can't force it to complete.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 09-20-2011
Found this too

Code:
CIFS VFS: cifs_mount failed w/return code = -6
 CIFS VFS: cifs_mount failed w/return code = -6
 CIFS VFS: Error 0xfffffffa on cifs_get_inode_info in lookup of \io.sys
 CIFS VFS: Error 0xfffffffa on cifs_get_inode_info in lookup of \msdos.sys

so my server will have to be rebooted.... Smilie
# 6  
Old 09-20-2011
Those don't look that bad, but don't look relevant either.
This User Gave Thanks to Corona688 For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

accidentally umount -a

Hi all, I accidentally unmounted filesystems using umount -a command. How to recover from this. Please help. Thanks in advance! when i try to use mount -a i got the following output. # mount -a mount: /dev/vg00/lvol05 already mounted or /opt busy mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies

2. Linux

Is umount -l dangerous?

I had a umount busy issue, that the usual fuser -mk did not solve, I did a umount -l and was able to unmount the device, I then got in trouble by the storage team staff: Here was a snippet of their response: Using "umount -l" is a potentially dangerous act. The command combination for a lazy... (8 Replies)
Discussion started by: pastajet
8 Replies

3. HP-UX

Is it really impossible to force umount on HP-UX

Hello, yeah... here my question : Exist some way to force umount on HP other than reboot? Thanks gb (12 Replies)
Discussion started by: gogol_bordello
12 Replies

4. HP-UX

how to force umount

sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies

5. UNIX for Dummies Questions & Answers

Unable to umount CDRom

Hi, I am writing a multi-cd spanning installer for a particular software in Linux (Redhat 4 or greater / Suse ) My Program is in Java. A Shell Script is used to fork the java process. I found out that when the Installer tries to go to the next disc when prompted so, by the installer, the eject... (1 Reply)
Discussion started by: jiju.jacob
1 Replies

6. Solaris

umount is failing

I am trying to umount a NFS share. When I do the following: # umount syrupg21 umount: /oebs/syrupg21: device is busy device bussy so I like to check what is working on the system.... # fuser -muv /oebs/syrupg21/ # So no locks should be there... any clue? Regards, Johan... (3 Replies)
Discussion started by: suntac
3 Replies

7. UNIX for Advanced & Expert Users

umount help

hi all, I inherit a Solaris7 system with /home mounted via a share from the NFS server. When I look at mnttab, there are two entries mounted under /home. Let's say they are server:/home/a and server:/home/b. I would like to maintain /home/a but not /home/b. However, I just don't know where... (4 Replies)
Discussion started by: andrec
4 Replies

8. UNIX for Dummies Questions & Answers

umount error

the program as follow: mount /dev/fd0135ds18 /mnt cd /mnt touch file1 cat /file2 >/mnt/file1 umount /dev/fd135ds18 when error tell device busy could you tell me the reason? (1 Reply)
Discussion started by: fresh
1 Replies

9. 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

10. UNIX for Dummies Questions & Answers

umount

:confused: Twofold question for you unix "guru's" 1) When attempting to use the umount command I get a message stating that the partition that I want to unmount is busy. Is there another command that I need to use prior to the umount command to clear the partition of activity????? ... (2 Replies)
Discussion started by: rod23
2 Replies
Login or Register to Ask a Question