CentOS 5 Networking :: Cannot Unmount SMB Share
Sep 18, 2009
I have a SMB share, mounted on a Centos 5 server from a local Win 2003 server, that I cannot unmount (I have to reboot to successfully unmount it)
centos 5 version is 2.6.18-128.7.1.el5
samba version is: 3.0.33-3.7.el5_3.1
That share is mounted by a script called every night to perform an rsync backup to another remote Centos 5 server:
/bin/mount -t cifs -o ro,credentials=/etc/samba smbmount.credentials,uid='ad_domainuser',gid='ad_domaingroup' //win2003server/share /mnt/arch/ >> $LOGFILE 2>&1
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.
View 3 Replies
ADVERTISEMENT
Dec 20, 2009
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
View 2 Replies
View Related
Aug 4, 2011
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.
View 2 Replies
View Related
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:
[Code]...
View 4 Replies
View Related
Feb 19, 2016
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.
View 2 Replies
View Related
Mar 26, 2011
I have to force umount my NFS shares to get my computer to suspend. And I suspend it regularly. I wrote this script:
Code:
sync
sudo umount -a -t NFS -f
sudo pm-suspend
sudo mount -a -t NFS
Is that safe to run regularly?
View 2 Replies
View Related
Dec 29, 2010
I m new study Linux so Would you like guide me how to config CENTOS to share DATA .Anyway , pls if possible pls help me build FILE SERVER, ISA by CENTOS
View 3 Replies
View Related
Jan 7, 2011
I am using CentOS 5.5 with kernel 2.6.18-194.26.1, 64 bit. I am unable to unmount my usb using mouse. I get the error message:
An application is preventing the volume 'XYZ' from being unmounted. No app seems to be accessing the usb. If is copy or modify some content in the usb then sometimes i can unmount it. Once when i inserted a dvd when the usb was already inserted, the usb was allowed to unmount but the dvd wasn't ! Gave me the same error message for the dvd. As root i can do a lazy unmount, but that sometimes corrupts my data.
View 6 Replies
View Related
Oct 14, 2009
I am using CentOS 5.3 , kernal version is 2.6.18-164.el5 I am connected with a LAN ( having systems with XP, Fedora , CentOS etc ), how to see shared Folders in CentOS? plus if i want to share things, what is the procedure?
I have tried with by right clicking->properties->share->configure share... etc but on other systems i cant see my shared folder..?
View 2 Replies
View Related
May 27, 2010
I am trying to mount a file server directory on a client machine. I tried using NFS, but could not mount the share on the client. Several respobses were given to a post on this problem. but I still was not able mount the NFS share. I decided to try instead to mount the directory as a Samba share because I can already access it using Samba from windows, or from KDE or Gnome using smb://fileserver as a desktop location icon URL. When I try to mount the Samba share I get error messages that nearly identical those that occurred with NFS. . Here are some of the setup parameters
CentOS 5.4 on client and server behind a D-Link router
server IP: 192.168.0.44 (can ping it client)
client IP: 192.168.0.101 (can ping from server)
[code]....
This is the only error message that these commands have produced in the messages log, secure log or smbd log for either machine. My immediate goal is to set up the simplest possible local mount that will allow Grsync to backup to the file server.
View 4 Replies
View Related
Sep 27, 2010
I am running version 5.5. I am using Grsync to back up 2 folders to an USB external 1.5 terabyte drive. Sometimes grsync backs the folders up correctly but most of the time, I need to unmount and then mount the drive to get it to work.
View 5 Replies
View Related
Mar 3, 2010
i have Centos 5.3 installed with TXT mode i want to create and share one folder to be accesible to me from the network, to download and share files into it with my Host, i created the folder but dont know how to share it,
View 6 Replies
View Related
Apr 30, 2009
I have set up a Samba share via my CentOS 5 server (the samba share is actually a mounted filesystem, not local machine space). I have been successful in adding permissions for my windows users within the smb.conf, but have an additional need that I cannot figure out. I would like for my Windows administrators to be able to create folders and assign permissions from their machines (and their Windows GUI). Ultimately I need the folders on the Samba share to behave correctly when Windows group permissions are applied by these administrators.
When the folders are created, the "Everyone" identity cannot be deleted and sometimes "Creator Owner" or "Creater Group" show up. I have seen several threads start down this path, but haven't seen a definite answer (I may have just missed it!).
View 1 Replies
View Related
Apr 29, 2010
cannot restrict share access to a single user. I've played with the security and valid users options in the smb.conf and I can get it to mount if I remove the valid users option, but this does not provide the access restriction I need. I also left it open and tried making the folder permissions rwx for backupadmin only and that didn't work. I'm using a credentials file which I include below, but I've tried manually entering them in the command too.
[root@aaphst02 /]# mount -t cifs //aapsan01/aapxen01 /mnt/aapxen01 --verbose -o credentials=/root/smbcreds
mount.cifs kernel mount options: unc=//aapsan01aapxen01,ip=10.0.1.34,user=backupadmin,ver=1,rw,credentials=/root/smbcreds,pass=********
[Code].....
View 3 Replies
View Related
Jun 12, 2009
The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?
View 3 Replies
View Related
Feb 13, 2010
I have Linux installed on one machine with samba running and a second machine running XP. They are going through my router and I am using the same username/passwords for both machines and I have even gone to the point of allowing access to everyone for the share I created and the worgroup in samba is MSHOME just like my XP machine. When I view (or search) my workgroup computers my Linux machine shows up and so do the shares I created but when I try to open them I just get a message that permission is denied and I may not have permission to use this resource. I even tried setting access to the shared folder to 777 but still I can't open this share. Has anyone got any idea of why this is?
View 3 Replies
View Related
Feb 15, 2010
I have OpenVPN running successfully on a CentOS Linux server. All remote clients connect without a problem and can ping the server LAN (10.5.0.0/24) . The server address is
10.5.0.1. All network shares on the server are available to the remote clients via SAMBA shares and this works well.The problem is that I am unable to get the remote clients to access services on the LAN clients. For example, there is a webserver running on a Windows XP PC (on the server LAN @ 10.5.0.2) with no firewall enabled. The remote VPN clients can ping this webserver at 10.5.0.2, but cannot browse the webserver at [URL]. All clients on the server LAN can however browse the webserver. The remote clients are using Windows XP and VISTA with OpenVPN 2.1.1.
I am new to VPNs and networking, but from my research, it seems as if this may be a routing issue. I would appreciate any help you may give in getting the remote clients to access the services on the LAN clients (other than the server @ 10.5.0.1).
The server configuration is:
local 192.168.10.6
port 1194
proto tcp
[code]...
View 5 Replies
View Related
Sep 20, 2010
I can use smbclient -U name //ip.adresss/"My Place" to connect with no errors, but nautilus will not open the folder. nautilus discovers the computer but not the folder. maybe I need some debugging info from nautilus...
View 11 Replies
View Related
Aug 14, 2009
I'm trying to create a CentOS based liveCD that mounts a NFS share and executes one script there. The NFS never mounts altough while logged I can mount it with the very same command that I use in the KS.
In the %post I have :
%post --log=/tmp/post.log --erroronfail
mkdir /mnt/nfs
mount -o nolock 10.23.1.1:/csc/RemoteHome /mnt/nfs
I added the --log in order to debug, but nothing is written in /tmp/post.log. I tried redirection on the mount command with >> /tmp/debug.log but this is not written. Maybe during the post sequence /tmp is RO ? Anyway, I tried with ifup lo, service portmap start in the %post, but doesnt change (I even have a service : command not found in the live cd creator output).
Here is the remainder of the KS :
lang en_US.UTF-8
keyboard us
timezone US/Eastern
[Code]...
View 10 Replies
View Related
Jan 22, 2011
I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got
Firewall off (utf disabled)
Internal Sata /dev/sda1 (EXT4 FS)
External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)
I have two shares
1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.
2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.
View 4 Replies
View Related
Nov 11, 2009
I am trying to mount a nfs share which is located on my freebsd server to new centos 5.4 server but something wrong. If I try to mount nfs share on bash
"mount -t nfs server: /mnt/fornfs /mnt/nfstemp/"
It is working properly. But when I put a line in fstab like this
"server:/mnt/fornfs
/mnt/nfstemp nfs
nfsrsize=8192, wsize=8192,
timeo=14, intr, tcp 0 0"
It do not mount the share. How can I mount it at startup?
View 4 Replies
View Related
Sep 5, 2010
I am trying to install the net install version of 5.5 from an NFS share that I setup with freenas. I have fully functioning DNS (hosted on freebsd) and can mount the iso share on another centos box with the command mount [URL] on that machine.
but when I go to do the same thing in the centos net install I get an error stating simply: "that directory cannot be mounted from the server".
in the settings I have the following values:
NFS server name: nas.example.com
CentOS directory: /mnt/iso1
NFS mount options (optional):
View 1 Replies
View Related
Jan 24, 2011
Howto install CentOS 5.5 as a second OS to share the same SWAP Partition with other linux, for example Debian?
View 4 Replies
View Related
Feb 22, 2010
Is Setting up NFS the best method for mounting share drives between Mac and Linux?
View 6 Replies
View Related
Sep 3, 2009
I use Samba, NFS, RSync and FTP/TFTP in my multi-location setup.
Is there a CentOS standard place to put my sharable file space? I've seen /usr/local/, /var, /var/samba, /user and /share. I have gotten to the point of preferring /share, but I want my servers to adhere to standards in case I am not available. Another alternative is to create a user name that matches the group name and using that user's home directory for the shared file space. This would solve the issue of shared departmental mailboxes and backups, not to mention (though apparently, I'm going to) SELinux configuration... Maybe I've just answered my own question...
What are other people's opinions?
View 1 Replies
View Related
Oct 15, 2009
I'd like to share /usr/share/docs out to my local subnet via httpd so I can read server documentation from my workstation. I've simply done a generic install of httpd and httpd-manual and added this to the bottom of my httpd.conf file:
alias /docs /usr/share/doc
<Directory /usr/share/doc>
Order deny,allow
[code]....
View 2 Replies
View Related
Feb 19, 2010
I'm trying to set up a test system for Windows 7. I've been having trouble getting it to map drives on the domain where I work, so I wanted to set up a test system with a similar setup so I can play around with settings without mucking up our network. Only problem is I can't get it configured to even work with XP, which does work on our domain.
When I type \server in the Run box I get the explorer window showing all of the test shares I've set up. But when I try to access them, it says the network path could not be found. Here is my smb.conf file:
[global]
workgroup = MAJOR
netbios name = VPN
realm = MAJOR.COM
[Code]....
View 14 Replies
View Related
Sep 2, 2010
I'm having some trouble mounting an NFS share on a VM host (both CentOS 5.5):
-------------------------
SAN/NAS BOX (NFS Server):
-------------------------
/ filesystem on VolGroup00/LogVol00 = 7.6GB A 20GB filesystem on vg_vm/lv_vm1 is mounted at /srv/vm1 A 100GB filesystem on vg_vm/lv_data1 is mounted at /srv/data1
Output of 'df -h' (extraneous stuff removed):
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7.6G 1.8G 5.5G 25% /
/dev/mapper/vg_vm-lv_vm1
20G 173M 19G 1% /srv/vm1
/dev/mapper/vg_vm-lv_data1
99G 188M 94G 1% /srv/data1
View 3 Replies
View Related
Apr 18, 2011
Below is my samba config. Is there anything that appears obviously wrong?
Why can't I map a drive?
from a windows 7 x64 workstation:
The network path was not found.
View 9 Replies
View Related
May 8, 2009
I don't think it has anything to do with the config file.More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinuxis on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.Here is the output when I ran [root@fileserver /]# getsebool -a | grep smballow_smbd_anon_write --> onsmbd_disable_trans --> onThese two options were off I tried turning them on.This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.
[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off
[code]....
View 2 Replies
View Related