This is my first post in Centos.org Forums.
I have searched the forum for a solution for my situation but found none, so here it is:
I have a server running CentOS 7 where I host a mail, web and ftp software servers (sentora to be more specific)
In my server I have a 250Gb HDD that is at 90% full.
I have bought a 1Tb HDD and I want to extend /dev/mapper/centos-root partition.
And following are my 2 questions.
1. Should I clone the old HDD (250Gb) to the new one (1Tb)? If yes, how can I do it?
-or-
2. Can I somehow map the new HDD (1Tb) to the /dev/mapper/centos-root partition so that I wil have a total of 1,25Gb? If yes, how?
Here is my "lsblk" command:
Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 231.8G 0 part
├─centos-root 253:0 0 198G 0 lvm /
├─centos-swap 253:1 0 3.9G 0 lvm [SWAP]
└─centos-home 253:2 0 30G 0 lvm /home
sr0 11:0 1 1024M 0 rom
Thanks in advanced!