≡ Menu

Filesystem Tutorials and HowTos

Tutorials and commands about Linux, Apple OS X, BSD and Unix like file system. Includes file system management, creating file systems & volumes, software RAID, backups, recovery, and conman operations on file systems ( rss feed ).

Linux: NFS4 mount Error reason given by server: No such file or directory

I recently installed NFS server v4 on my HP Linux server. However, I'm not able to mount it from Linux nfs4 client using the following command:

mount.nfs4 server2:/data /data

I'm getting the following error:

mount.nfs4: mounting server2:/data failed, reason given by server:
No such file or directory

How do I fix this problem?
[click to continue…]

RHEL / CentOS Linux: Mount and Access NTFS Partition

How to enable NTFS support on CentOS Linux version 5 or 6? How do I mount ntfs partition under RHEL 5 or 6?
[click to continue…]

Find out if NFS Service Running On Linux / Unix Server

How do I find out if NFS server or service is running or not on my Linux or Unix based server?
[click to continue…]

Linux: Find Alternative Superblocks

I think my file system has been damaged. Instead of block 1, I want to use block n as superblock. How do I find out an alternative superblock location under Linux?
[click to continue…]

UNIX / Linux: HowTo Use unison File Synchronizer

I know how to use rsync for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer. However, I would like to synchronizing files between two directories, either on one computer, or between a computer and another server. How do I maintain the same version of files on multiple servers?
[click to continue…]

Linux incrond inotify: Monitor Directories For Changes And Take Action

I want to copy (rsync to remote server) a directory tree whenever file uploaded or deleted in /var/www/html/upload/ directory under Linux operating systems for backup purpose and/or load balancing purpose without getting into complex file sharing setup such as NFS or GFS iscsi storage. How do I monitor /var/www/html/upload/ and its subdirectory for new files and executes rsync command to make copy back to www2.example.com:/var/www/html/upload/?
[click to continue…]

Linux RAM Disk: Creating A Filesystem In RAM

Software RAM disks use the normal RAM in main memory as if it were a partition on a hard drive rather than actually accessing the data bus normally used for secondary storage such as hard disk. How do I create and store a web cache on a RAM disk to improve the speed of loading pages under Linux operating systems?
[click to continue…]

UNIX / Linux: Explains setuid File Permission

What does it mean for a file to be "setuid?" How do keep track of all setuid enabled file?
[click to continue…]

Linux: Howto Make a Directory Command

How do I make directory under Linux operating systems using the command prompt or bash shell?
[click to continue…]

Linux Create Software RAID 1 (Mirror) Array

How do I create Software RAID 1 arrays on Linux systems without using GUI tools or installer options? How do I setup RAID 1 array under Linux systems?
[click to continue…]