UNMOUNT a windows file system

Thread Tools Search this Thread
Operating Systems Linux UNMOUNT a windows file system
# 1  
Old 02-28-2008
UNMOUNT a windows file system

I try to unmount :
smbumount /mnt/directory

But I receive :

Could not umount /mnt/directory: Device or resource busy

Any idea ?
Many thanks.
# 2  
Old 02-28-2008
You have to exit all processes accessing the device. You can find them with:

fuser -c /mnt/directory

# 3  
Old 02-28-2008
Thank you,
but :
# fuser -a /mnt/directory
/mnt/directory: Input/output error

And :

# fuser -k /mnt/directory
/mnt/directory: Input/output error

# 4  
Old 03-02-2008
I suppose its fuser -c and not fuser -a
# 5  
Old 03-03-2008
The way I commonly use is to execute lsof and grep the directory in the output. Of course that is only if lsof is installed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ext2 file system from windows

Hi all, I have some problem with the ext2 file system format. In particolar, I have a unix based system full backup, which is a .iso file. In order to create a bootable usb, i have to format the USB with ext2 FS, and then I have to mount that image on it. The problem is that, I need to it... (3 Replies)
Discussion started by: Mr. Piros
3 Replies

2. AIX

NIM NFS file system cannot unmount

Hello, I have a script on my NIM Master that runs with crons and performs mksysb backups of all NIM Clients once a week. There is a problem with one of the clients as it stucks and never finishes the mksysb backups. I tried to unmount the NFS file system created by the NIM in order to perform... (5 Replies)
Discussion started by: omonoiatis9
5 Replies

3. HP-UX

[Solved] Mount HP-UX File System in Windows 7

Hello, We just got a rx4640 that is running on: HP-UX B.11.31 U ia64 2426088954 unlimited-user license There is a plenty of space in it and we would like to use it for storage. I can access with ftp and place the files in there but i need to mount the file system in every PC that is running... (7 Replies)
Discussion started by: gjk
7 Replies

4. Shell Programming and Scripting

Asking user for input file location using a .sh file in windows system

Hi all, I am creating a .sh file in windows environment using notepad. i need a code which i can write in this .sh file so that it asks me for an input file stored anywhere in my C drive of my windows computer. Please help me out with this. (1 Reply)
Discussion started by: bansalpankaj88
1 Replies

5. UNIX for Dummies Questions & Answers

What happens if i unmount local file system when is mounted to a different server?

Hi, as title says what happens if i unmount local file system when is mounted to a diffrent server ? (2 Replies)
Discussion started by: galuzan
2 Replies

6. UNIX for Advanced & Expert Users

A file system visible for solaris and windows?

Hi, I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition. I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering: - I... (6 Replies)
Discussion started by: Dann-E
6 Replies

7. AIX

How to export AIX File system NFS to Windows ?

Hello, Can someone please point to an easy document or steps how to export AIX file system /whatever to Windows O/S Basically Windows should see this filesystem / directory and should be able to write in this filesystem / directory Thanks (2 Replies)
Discussion started by: filosophizer
2 Replies

8. Filesystems, Disks and Memory

reading unix file system from windows

I found a more appropriate section to post my question. Thanks! (0 Replies)
Discussion started by: cneill
0 Replies

9. Linux

Please help me, about the file sharing with windows system

Did anybody can teach me how to set the premission in the samba server? How to i set the premission in one folder but two access right. With one folder but the user access rights is diffirent. One user can full access the folder, and another one user only read only. thx for helping... (1 Reply)
Discussion started by: cloudlor
1 Replies

10. Solaris

mounting windows(vfat) file system

how can i mount windows file system into solaris using vfstab or mount command. also please tell me how to display the partition information. (1 Reply)
Discussion started by: ajoy patel
1 Replies
Login or Register to Ask a Question