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 ).

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?

{ 8 comments }

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/?

{ 26 comments }

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?

{ 31 comments }

What does it mean for a file to be “setuid?” How do keep track of all setuid enabled file?

{ 4 comments }

How do I make directory under Linux operating systems using the command prompt (bash shell)?

{ 5 comments }

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?

{ 26 comments }

How do I configure file system quotas to control how much available storage space can be used on a given UFS file system (such as /export/home) under Solaris UNIX operating systems?

{ 3 comments }