Tag: disks and storage devices

How to repair an LVM disk using fsck

How to repair an LVM disk If, due to errors on the disk, the system cannot boot, then usually in the emergency mode console you need to check the disk partitions, approximately as follows (you need to specify your disk name and partition number): umount /dev/sda2 fsck -y /dev/sda2 But if we are talking about LVM, or LVM with encryption,...

How to determine why Linux boots into Emergency mode

How to determine the exact reason why Systemd falls in emergency mode A Linux system can go into an emergency mode shell if it encounters problems during boot. The screen prompts you to execute the command journalctl -xb to find the causes of system problems. It is also proposed to execute systemctl default or exit so that the system tries...

How to find out which process is causing high disk usage in Linux

Monitoring input and output operations Excessive load on the disk can be caused by such a reason as a virus infection or incorrect program settings. In any case, you need to start by identifying the process (program) that most reads and writes to disk. iotop – analog of top for tracking disk load in real time The top program allows...

How to know when the ext4/ext3/ext2 filesystem was created and when it was last mounted

How to know when the ext4/ext3/ext2 filesystem was created The ext4, ext3, and ext2 file systems store their creation date. This date can be the first day the disk was used or the day it was last formatted. You can find out the day the file system was created using the tune2fs and dumpe2fs utilities. tune2fs allows the system administrator...

How to find out the number of starts and the total working time of a disk in Linux

You can find out how many hours any hard drive or solid state drive has run. You can also view information about the number of times the disc has been turned on. Some discs store information about the total amount of data read and written, as well as unexpected shutdowns (for example, due to a computer freeze or power outage)....
Loading...
X