LVM partition in command mode
LVM is most popular porcess in HDD partition. In LVM partition has a great facitilities. When you extend your partition using LVM, then without data loss you may extend any partition if you have free space. The free space will be same HDD or any other HDD. You may add or extend with your partition without data loss. As a system admin you have to know LVM partition.
If you have to maintain a mail server, your /var is 1TB. In a certain time (may be 5 - 8 years later, it depends on your user) your /var/log/mail will be fill up 1 TB. Then what will you do?
Whatever, to ignore your problem, please follow below step:
If you have to maintain a mail server, your /var is 1TB. In a certain time (may be 5 - 8 years later, it depends on your user) your /var/log/mail will be fill up 1 TB. Then what will you do?
Whatever, to ignore your problem, please follow below step:
# fdisk -cul /dev/sda [to see hdd status]
# fdisk -cu /dev/sda [hdd partition command]
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1044, default 1): [blank enter]