ddrescue is a tool that can be used to repair and clone disks on a Linux system. This includes hard drives, partitions, DVD discs, flash drives, or really any storage device. It performs data recovery by copying data as blocks.
storage
How to force fsck to check filesystem after system reboot on Linux
Checking the file system for errors is an important part of Linux system administration. It is a good troubleshooting step to perform when encountering bad performance on read and write times, or file system errors. In this tutorial, we will explain a procedure on how to force fsck to perform a file system check on the next system reboot or force file system check for any desired number of system reboots, whether it is the root or a non-root mount point.
How to label a partition or volume on Linux with e2label
The purpose of this tutorial is to show how to label a hard disk in Linux. Labeling hard drives under a Linux system gives a user a better way to organize all of the block system’s devices on their system. The tool we can use for this task is the e2label command.
Ubuntu 22.04 disk space check
There are a few tools at your disposal for checking disk space on Ubuntu 22.04 Jammy Jellyfish. These tools and commands can be used to check a hard drive’s capacity and the size of the files on it, or just to check the size of a particular directory or file.
How to recover partition table in Linux
The partition table of a hard disk holds all the information about where each partition begins and ends. If the partition table gets deleted or becomes corrupt in some way, most likely your operating system will not be able to boot or you will face other hard disk issues. But there is good news: if your partition table is lost, it is possible to recover it using software such as testdisk.
How to set or change boot partition flag on Linux
The boot partition flag is used to indicate that an MBR partition is bootable. Although MBR has been superseded by GUID Partition Table in recent years, MBR is still very prevalent across many systems. The boot loader resides on a bootable partition and is what tells your system where to look for the operating system.
Introduction to MySQL storage engines
MySQL is probably the most famous Relational Database Management System (RDBMS). Developed as a free and open source software, it was originally backed by the MYSQL AB company, but is now owned by Oracle. In MySQL the “storage engine” used for a table determines how data is handled.
Format ssd in Linux
In this tutorial, we go through the steps to format a Solid State Drive (SSD) on a Linux system. This can be done via GUI or command line, and we will cover the process for both. The guide will be applicable regardless of what Linux distribution you’ve decided to use, especially the command line method.
LVM backup and restore snapshot in Linux
Logical Volume Manager (LVM) is used on Linux to manage hard drives and other storage devices. As the name implies, it can sort raw storage into logical volumes, making it easy to configure and use.
Change Docker root directory /var/lib/docker to another location
By default, Docker stores most of its data inside the /var/lib/docker
directory on Linux systems. There may come a time when you want to move this storage space to a new location. For example, the most obvious reason might be that you’re running out of disk space.
Convert ext3 to ext4 in Linux
The ext4 filesystem includes multiple improvements in terms of performance, over its predecessor ext3. Ext4 is not only faster than ext3, but can also handle much larger filesystems and files, and lots of other improvements under the hood. If you haven’t yet upgraded to ext4 on Linux, it’s definitely time to do so.
How to check HDD firmware version in Linux
The command line terminal on Linux systems can give us a lot of insight into the hardware of a computer. Among many other things, we can retrieve the HDD firmware directly by using the Linux command line.