May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Improving filesystem read performance using “noatime”

Improving filesystem read performance using “noatime”

 

Linux records information about when files was last accessed. There is a cost associated with recording the last access time. The ext3 file system of Linux has an attribute that allows the super-user to mark individual filesystem to ignore recording of last access time. This may lead to […]

How to check/repair (fsck) filesystem after crash or power-outage

How to check/repair (fsck) filesystem after crash or power-outage

 

At some point your system will crash and you need to perform a manual repair of your file system. A typical situation would be power loss while you are working on the system. You reboot and the system stops and indicates you must perform a […]

LVM

LVM

First LVM Setup

1) fdisk /dev/sdb

WARNING: DOS-compatible mode is deprecated. It’s strongly recommended to switch off the mode (command ‘c’) and change display units to sectors (command ‘u’).

Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-13054, default 1): Using default […]

Create a Logical Partion

Creation deletion of Logical Partition and extended

1) List the Partition Table

[root@localhost ~]# fdisk -l

2) Create Extended Partition on the New disk /dev/sdb

fdisk /dev/sdb

[root@localhost ~]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk […]

Hard Disk Specs details on Linux

Hard Disk Specs details on Linux

Open the terminal and type the command: # hdparm -I /dev/sda OR $ sudo hdparm -I /dev/sda

[root@localhost thermal_zone]# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media Model Number: VBOX HARDDISK Serial Number: VB81a9afe9-f59293fa Firmware Revision: 1.0 Standards: Used: ATA/ATAPI-6 published, ANSI INCITS 361-2002 Supported: 6 5 […]