CentOS 5 :: NFS Share Refuses To Unmount
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
ADVERTISEMENT
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
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
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 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
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
Apr 2, 2009
I'm trying to setup a ssh connection from to my house that way I can learn Linux on a box that won't make my boss the sys admin (Im help desk) grind his teeth. He say that ssh port is allowing connections out of the firewall but not in so I can connect to my house. However If I try to connect to my box I get a message stating that the connection has time out. I have port forwarded the 22 to my box and have even changed the port to see if it is my isp blocking me. I am able to connect via SSH internally but when I try outside my house I am running into trouble. I looked up how to disable my fire wall and as far as I know it is.
View 3 Replies
View Related
Aug 23, 2009
I have installed bind from the repos and am trying to setup a caching name server. After copying the stock name-cachinging.conf to named.conf, I tweaked named.conf to reflect my LAN:
options {
listen-on port 53 { 127.0.0.1; 192.168.1.102; };
listen-on-v6 port 53 { ::1; };
[code]...
View 2 Replies
View Related
Jun 30, 2009
I've just set up a PC with CentOS 5.3 runing on near identical hardware to an existing 5.2 machine. Motherboard is Asus M2A-VM which I discover by chance generally works very well with CentOS. Ethernet is on board Nvidia.The older machine just did run gigabit speed without any intervention at all, rather to my surprise. The newer machine insists on running at 100 Mbit which is annoying as it is connected to a NAS through a gigabit dumb switch.
The obvious difference between the two is that ethtool on the older machine says that supported ports are TP, and so the port is TP. Whereas the newer machine says that supported ports are TP or MII and insists on running MII. I cannot change this with ethtool -s eth0 port tp. Perhaps not too surprisingly, mii-tool says that the supported speeds range up to 100 Mbit.
View 13 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
Aug 25, 2009
I have a home DNS server that has been working for some time today. Today I restarted to restarted it to clear the cache on it and now it refuses to answer and requests. Named starts fine with no errors. Here is named config file that worked for about 2 weeks fine and now doesn't want to work.
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
forwarders {
192.168.1.10;
};
forward only;
};
zone "." {
type hint;
file "/etc/db.cache";
};
View 1 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
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 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
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
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 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
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
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
Jul 22, 2009
I've to make a Windows 2000 share on my Server Linux CentOS 5.1 with all the updates installed with yum. I've a directory on a Windows 2000 that contains some images for a catalogue. I have my internet site on CentOS 5.1 with a Apache - Mysql - PHP web server. I have to mount my directory on a share in /mnt/catalogueimages and made a symbolic link from my /var/www/html/mysite/catimages to this samba share.
This is what I do following your guide a this link: [URL]
I have placed in my /etc/fstab this line:
//SERVER/C/Catalogue /mnt/catalogueimages cifs user,username=Administrator,password=,uid=apache,gid=apache 0 0
My Windows 2000 server have no password.
After that I made the symbolic link:
ln -s /mnt/catalogueimages /var/www/html/mysite/catimages
All it's OK.
The problem is that I can't see the images via browser. I have tried also to put some images in the directory /mnt/catalogueimages, deleting the mount point, in order to see if the problem was in apache: the images are visible via browser. Why I don't reach to see the images mounted with samba?
View 9 Replies
View Related
Feb 25, 2010
i did install and configure samba buy google tutorials. I can ping the centos box from windows but cannt access folder which is on centos. I can ping the machine.
View 9 Replies
View Related