Ubuntu Servers :: Mounted NFS Share Will Not Unmount?
Jan 8, 2010
We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!
Code:
david@scatha $ mount | grep nfs
example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=123.123.123.123)
Now when I try to unmount it:
I'm having a some pretty weird problems with some mounted file share in Ubuntu Server 10.04 LTS. Currently we are mounting several file share stored on a SLES Files Server onto our Ubuntu Web Servers using the CIFs protocol. Occasionally ( no rhyme or reason ) we will find that when you do a directory listing on the mounted share, while you are on the Ubuntu Server, there are no files being listed. Yet if you browse the SLES File Server or any other of the identical Ubuntu Servers (with the same mounts), the files are there ready to go.
Before using SLES for our file server we tried windows, and experience many of the problem you that you see on the forums of CIFs errors on the console screen. I'm beginning to wonder if 1. we can resolve the CIFs problems in Ubuntu 10, or do we need to down grad to Ubuntu 9 or 3.) change to something other than CIFs.
When using the following cifs mount command, mount -t smbfs -o username=username,password=password //srv/shr /usr/localfolder/and the cifs share does not exist, localfolder is mounted like d????????? ? ? ? ? ? localfolderafter a number of time , when umounting we get a kern <soft lock>Is there any way to fail the mount if the destination share does not exist, ive had a quick look through man mount but can not see a solution.
there are some drives in my system that appear to be always mounted (were at some point) that I cannot get rid of - i checked fstab, and do not appear there - 2 are related with the use of truecrypt, and 1 is from an exernal HD
And it is (should be...) unmounted at the end of the script: /bin/umount /mnt/arch/
When the script tries to unmount the share, this error is returned: unmount error 16 = Device or resource busy Refer to the umount.cifs(8) manual page (man 8 umount.cifs)
When I try to manually unmount the share from console (even after serveral hours), no error is given but the share does not unmount.
I have an NFS4 and Kerberos server on the same machine running a CentOS Plus 5.4 kernel (due the Redhat NFS kernel bug). On shutdown the command to mountd produces a [FAILED] response and the NFS share refuses to unmount, complaining that it is busy. This occurs even if no client machines have been started. i.e. with all machines stopped, start the server only (no clients) then shutdown the server - produces the same result.
Immediately after the server has been started, query the nfs daemon: # service nfs status produces normal output, except for: # rpc.mountd is stopped
I recently built a computer for a friend that is only going to be used to run a network share.
The problem I am running into is that whenever the computer restarts the share, while visible, cannot be accessed by the two Windows 7 laptops in the house.
If I run 'sudo umount /media/storage' followed by 'sudo mount /dev/sda1 /media/storage' the once visible but inaccessible share is now accessible.
I do not understand why this would be. I have added the line 'usershare owner only = false' to my smb.conf file.
Running 8.3..On 7.6 I had a automount and I was able to mount/unmount without issue. With 8.3, I can mount, but when I am in Thunar and i unmount, it gives me a permission denied.In /etc/groups I am in plugdev.
Im having trouble sharing a mounted iso in narty. i have mounty installed which is what i use to mount my iso's with and i attempted to share the folder it creates in my home folder over the network to a windows based machine with no luck.
I am running slackware-current and using the Novatel usb760 3G modem. before i use kppp to "dial out" I have to eject the device. It works fine except that i periodically get a popup window with:
"Failed to eject "VZAccess Manager Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL."
it happens every 30 minutes to every 10 seconds. anyone ever experience something like this?
most of the partitions on my computer are ntfs type and need to be mounted via ubuntu so how can i share the entire partition or folders from it and for it to mount automatily when remote computer reqest to enter one of those partitions?
I'm having a problem changing permissions on a network share. The share is mounted on my server using cifs. It has been working perfectly for a week or more. I use a bash script to copy files from a temporary folder on the server to folders on my HTPC that are mounted on my server.The server is Ubuntu Server 10.04 and the HTPC is XBMC Live Dharma.
The problems began when I added chmod lines to my bash script to temporarily change permissions. I had the entire mounted share set to 777 on the server, and I was worried that I might accidentally delete the files or something, so I set it to 555 and then modified my script. This was not intended to be a permanent solution, but I wanted to use it as a band-aid solution until I figured out how to do it properly. The mounted folder is called "tabitha" and it is mounted in the home folder of the user "turvy" on the server.The script looks like this:
I have a problem while rebooting my 9.10 server when I have SAN partition mounted. The message is something about the swap that can not be cleaned during the process. All works if I unmount the partitions before shutting down or rebooting.So I though to create a bash script that unmounts the parts during runlevel 0 and 6.I've created a simple script like this in /etc/init.d:
After in-place upgrade from 9.10 to 10.04, the message
Code: Unmount of /dev/nbd0 failed appears on the console at shutdown, with a warning that data may be lost, and followed by a 10 second countdown, after which shutdown continues normally. Syslog shows this one line at each boot:
Code: Oct 23 10:04:16 m2a74am kernel: [ 1.203334] nbd: registered device at major 43 Nothing gets mounted explicitly at /dev/nbd0, so I am puzzled about the error message on shutdown.
I have samba installed. I also have a Windows NTFS disk mounted on Ubuntu. To share the file, I migrate to the folder with the file manager, right click on it and select "Sharing Options". I get the message
'net usershare' returned error 255: net usershare add: cannot share path /mnt/Windisk/<path> as we are restricted to only sharing directories we own. Ask the administrator to add the line "usershare owner only = false" to the [global] section of the smb.conf to allow this.
I'm trying to mount a mounted NFS share. I have a server that connects through VPN to a network, that has the NFS share exported. I am able to successfully mount the NFS share on that server, in /media/iSCSI. Now I want to share this NFS share with other servers, that are on the same network as the VPN-ed server, but are not connected to VPN. When I try to export the mounted share, I get:
I have a Hitachi SimpleNET adapter (entry-level NAS device) on a Seagate FreeAgent 1TB external HDD (formatted ext3). The NAS device is connected over 100MB/s ethernet to a Netgear Wireless G router. All other devices connect using Wireless G. The NAS runs embedded Linux on an ARM processor and it runs vsftpd and Samba for file transfers.
If I transfer a large file using an FTP client the transfer maxes out at around 2.5MB/s. For my purposes that's good enough, especially considering the Wireless G bottleneck. If I transfer a file from a Windows 7 client (using samba) I get around 2.2MB/s. I know the CIFS protocol has more overhead than FTP and the difference in speed isn't that noticeable.Any combination of Ubuntu and Samba results in me getting less than 1MB/s. I've tried mounting it through Nautilus (GVFS) and /etc/fstab. FTP from this same Ubuntu client gets around 2.5MB/s.
I don't have root access on the SimpleNET to change the smb.conf. I've made a few adjustments to the mount options with no success. how to either speed up 10.04 as a Samba client or mount a folder on an FTP server locally? I've tried both curlftpfs and FUSEFTP. With curlftpfs any write operation results in an I/O error and it crashes intermittently. With FUSEFTP I never got that far and couldn't even browse the folder.
In my fstab I have this entry to connect to my NAS box:
Code: //192.168.0.1/share /mnt/share cifs username=user,password=******,auto 0 0.For a while it was connecting on startup with no problem (it connects via wifi). But now when I navigate to the directory there is nothing there. However if I run mount it reports this:
It's the strangest thing, I've done this on a couple othervers with no issues whatsoever... here goes:I need to mount a windows share to copy some files to it, so I used this command which gets no errors:
Code: sudo mount -t smbfs -o username=XXXXX,password=XXXXX,domain=XXXX.com //192.168.12.30/operrors /home/XXXX/scripts/operrors
I have suddenly lost the desktop icon (of a hard drive) for a mounted network share. It is funny because, I have other network mounts which share the same server, and there icons are appearing, and this particular share just does not show up with the icon, even if I try mounting it different locations in the filesystem. Any ideas. I really like those cute icons on my desktop.
I am running Ubuntu 10.4 [64bit] on a AMD dual core with 4gb of RAM. My Problem: I am mounting to a Windows share from my Ubuntu box and everything is working as expected however, when a file is added, deleted, or modified the Ubuntu File browser does not reflect that change until the next refresh. The Windows users with Explorer will reflect the change immediately and automatically.
Is there a way to make the Ubuntu File Browser respond like Explorer when mounting to a Windows share? I call this behavior "maintaining state".
so after searching and reading, and searching some more, im stuck. i cant seem to get a mounted thumb drive to give write access. first thing to know is that, im using a seagate dockstar with a primary thumb drive[sda1] booting debian and samba.
i guess you could say im still in the testing phase, just trying to make sure files can be shared, mounted and accessed by users. the problem is stated as the title. i have successfully shared a folder in sda1 with rw access, but i cant do the same for the second drive[sdb1].
for sda1 with rw access, here are the smb.conf settings:
Code: [shared] path = share available = yes valid users = mark
Noticed this in both Ubuntu 10.04 & now Mint 9, both Gnome. I didn't have PCLinuxOS2010 KDE installed long enough to experience it so I don't know if it's a property of Linux or part of Gnome.I have two users, both myself and my wife, and I noticed thatn I mount an internal SATA drive I can only see/access it under the user that mounted it. In order for the other user to see it I need to un-mount the drive. Drive is a 1TB SATA formatted NTFS.I can't imagine this is normal and the 2nd drive is shared for pics/data/etc. Strange quirk is that my install is on a partitioned primary drive, 320gb, that also has Windows on it so the OS must access the drive in order to boot - both users can see the mounted 215gb Windows NTFS partition simultaneously.Is there a setting that needs to be changed or is this normal?
Sorry if this is the wrong section for this type of question. Anyway, I have two servers running Ubuntu 10.04. Server A has an NFS share that is mounted on server B, and the former has this share set up with specific permissions for a group called netusers. This group basically grants its users read/write permissions, and blocking all of files from anyone who's not part of the group.My question is this: how can I set up the permissions on server B, such that if I was to add a new user on server B, he would have read/write access to the share? I tried adding a counterpart group called netusers with the same permissions on B, but that didn't work.