≡ Menu

File system

How to enable TLS/SSL encryption with Glusterfs storage cluster on Linux

I setup GlusterFS cluster on Ubuntu Linux. How do I enable network encryption using TLS/SSL for my Glusterfs storage cluster on Linux for security reasons when using over insecure network such as WAN (wide area network) or the Internet? How do I setup I/O encryption and management encryption with Glusterfs?
[click to continue…]

I want to share my web server DocumentRoot /var/www/html/ across 2 Apache web server. Both of my web servers are behind load balanced reverse proxy powered by Nginx. How do I setup and install GlusterFS (“distributed storage”) which is a scalable network filesystem on Ubuntu Linux 16.04 LTS server?
[click to continue…]

How to wipe a signature from a disk device on Linux with wipefs command

I recently decommissioned Debian Linux based nas server and moved disk from my nas server to Linux-powered desktop. However, when I run fdisk command, I am getting the following error:
    /dev/sdb: device contains a valid ‘LVM2_member’ signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions
What is a wipefs and how do I use it on Linux?
[click to continue…]

How to find all hard links in a directory on Linux

I have a file named /etc/passwd i and I would like to find all hard links to this file in a directory. How do I find out all other hard links to the /etc/passwd in /backups/ directory? How can find all hard links to a given file using Linux or Unix command line option?
[click to continue…]

How to add an extra second hard drive on Linux LVM and increase the size of storage

I have 250GB disk installed on my home Linux server. I just bought a brand new 250GB SATA disk and I want to add a new disk to my existing LVM volume to increase its size total size to 500GB. How do I add a disk to LVM and extend an LVM volume on Linux operating system?
[click to continue…]

How to automatically mount zfs file system on Linux/Unix/FreeBSD

I have created a zfs file system called data/vm_guests on Ubuntu Linux server. After the server reboot, zpools do not automatically mount at /data/vm_guests. It is failing my KVM guest machines. How can I mount my ZFS (zpool) automatically after the reboot?
[click to continue…]

How To Build and Install the Latest Version of btrfs-tools on Linux

Since Linux kernel version 2.6.29-rc1, Btrfs has been included in the mainline kernel. How do I download and build/compile the latest version of Btrfs on Linux?
[click to continue…]

Btrfs Filesystem /etc/fstab Entry To Mount It Automatically At Linux System Startup

I‘ve RAID-1 based btrfs store backups on my person system and how do I mount a multi-volume btrfs filesystem using /etc/fstab file when my Linux server comes online?
[click to continue…]

How To Join Several Partition Together To Form a Single Larger One On a Linux Using mhddfs

I‘ve three old hard drives: sized 60, 60 and 120 GB. And 200 GB of video files, which I need to store on these drives. How would I store all my files on three hard drive without split a file into pieces or creating RAID array? How can I combines a several mount points (partitions) into the single one on a Linux operating systems?
[click to continue…]

Linux Change Disk Label Name on EXT2 / EXT3 / EXT4 File Systems

How can I modify partition labels on a Linux operating systems? How to change disk name on the ext4 file system on a Ubuntu Linux using command line?
[click to continue…]