How to mount a filesystem on CentOS/RHEL 7

To start storing data on a block device (e.g. a partition, logical volume, or antire storage device) you first need to install a filesystem on the block device. After that you then need to mount the filesystem. Mounting a filesystem is simply the act of associating a directory (aka a […]Read more »

Formatting storage devices on CentOS/RHEL 7

A storage device is a term used loosely to mean anything that’s used for storing data. Storage devices comes in various forms, but they most commonly in the form of a partition (e.g. /dev/sdb2), or an unpartitioned block device (e.g. /dev/sdc), or a logical volume (e.g. /dev/mapper/centos-home). Before you can […]Read more »

Creating Partitions on CentOS/RHEL 7

A block devices is usually a physical device that’s used for storing data, e.g. Hard drives and solid state drives. A partition is basically a way to organise a block device’s storage into smaller segments, that means creating partitions allows you to use a percentage of your block device’s storage space for a specific purpose and leave the rest available for other uses.

Systemd – The anatomy of a unit file

A unit is a resource that systemd can manage. If you look inside the /usr/lib/systemd/system directory, you will find files with different extensions, e.g. .socket, .target, .mount, …etc.

GRUB2 – Resetting the root password on CentOS/RHEL 7

If you have forgotten what your CentOS/RHEL system’s root password is, then you need to reset your machine’s root password. Resetting the root password requires rebooting your CentOS 7 machine, and then edit the GRUB parameters during boot time.