NFS soft mount timeout too slow
We have a VERY busy cluster of servers. Our 16 app servers serve our application off of a local SSD on each machine, but they also process images which are then served off of our cdn. Because of this, we have a couple central image servers that we nfs mount from our app servers. We recently had an issue with the image servers in which we were required to shut them down. No big deal, [...]
Continue Reading »NFS volume file permissions
I have a Redhat 6.0 system (SELinux enabled), with a NFS volume mounted at /myvolume. The command ls -la /myvolume says it has owner “nobody” and group “nobody”. On this system I have Apache running as “apache” user and “apache” group. Apache runs a python script through mod_wsgi. This script creates a temporary directory (using tempfile.mkdtemp), creates some files in it and then moves the whole directory inside /myvolume. After the script has done its [...]
Continue Reading »Using NFS for scalable PHP/MySQL web application
Here’s the situation: I have a PHP/MySQL web application that accepts user uploads (pdf files). From these pdf files’ pages a preview image is made on the fly and presented to the web app’s users. Some pdfs might be on the large side, most will be under 50 MB but some extreme cases could be as large as a few hundred MB. A little waiting for the preview image for large pdf files is acceptable [...]
Continue Reading »NFS server setup: 192.168.1.0/24 vs 192.168.1.*
I have my nfs server running on 192.168.1.99 box, and I have my /etc/exports configured using /myshare 192.168.1.*(rw,sync,no_subtree_check) I was able to mount nfs from 192.168.1.50 client box. However I was unable to mount from 192.168.1.49! (“mount.nfs mount(2) permission denied” followed by “mount.nfs access denied by server while mounting”) Then I found that I can make connection if I change client’s ip to 192.168.1.48 Finally, I was able to make it work by using 192.168.1.0/24 [...]
Continue Reading »Does anyone know where a good resource for NFS4 ACLs can be found?
I am attempting to utilize NFS4 ACL’s in an environment already utilizing POSIX ACL’s. I’ve found a handful of sites on the internet that explain some technical details about NFS4 ACL’s and how they’re created, but the tools seem to fail for me when I try to execute them. Does anyone have a good resource/tutorial to explain how to setup NFS4 ACLs? When I try to change the ACL set from the server: [root@ny-bar01 foo_server]# [...]
Continue Reading »Samba share for user groups with Ubuntu. A user can’t access files created by other users
I have a folder mounted by using NFS on the server. That folder has subdirectories, and I want to share specific folders to specific user groups by using SAMBA. It doesn’t work as expected, because every user can create files, but then they can only access their own files, and not the files from others. The NFS mount on the Samba server: 172.16.54.56:/export/proyectos on /proyectos type nfs (rw,noatime,rsize=131072,wsize=131072,acregmin=10,acl,nfsvers=3,addr=172.16.54.56) There’s only one folder right now: drwsrws—+ [...]
Continue Reading »Reporting Penetration Attempts to My Server
I need a log file of penetration attempts to my server. Ideally, this log should contain all attempts including logins, HTTPD activities, FTP activities, NFS, and other conventional open ports. However, it is enough for me to have HTTPD, FTP, and NFS. Is there such service (or log files) available in CentOS (built-in preferred)? Asked by ahmad There is no single log file that included that logs all these things. You will need to go [...]
Continue Reading »Determining disk space usage & file counts for extremely large data sets (any tricks?)
Long time reader, first time asker: I’m a junior-level Linux admin who’s increasingly supporting very large data sets/stores on local & NFS storage. The data is generally in the form of massive folder & file trees with arbitrary names. To give an example of the challenge, I’m working with 20+ TB partitions containing hundreds of thousands of nested directories and tens of millions of files. As these partitions/exports are shared resources I generally have to [...]
Continue Reading »how to mount a directory from another server?
I have two Ubuntu servers. One of them has a directory with data. I want this directory to be visible (and writable) by the second server. How can I do this? What tool to use? Asked by yegor256 On the ‘server’ add an entry into your /etc/exports to share the directory e.g. /directory/with/data secondserver.tld(rw) which allows secondserver read/write access to the directory/with/data then use exportfs to share the directory exportfs -r and you can verify [...]
Continue Reading »Mount Mac OS X 10.7 share on CentOS?
I need to create a mount point/share on a Mac OS X 10.7.4 (non-server) machine that a CentOS 5.2 box can mount. I’ve searched a ton but most instances are for using a linux server and Mac client… I’m going the other way around. I spent a day trying to get this to work via SMB, but apparently the SMB client on CentOS doesn’t work with the SMBX server on OS X. (If anyone knows [...]
Continue Reading »Recent Posts
- What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?
- Know if mysql has done its job
- Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change
- Why is it a bad idea to use customer email as from address
- 100% packets dropped on first RX queue on 3/5 raid6 iSCSI NAS devices using intel igb (resolved)



