I bought a new enterprise grade SSD to replace my Samsung SSD. It was $500, not cheap. Anyway, the purpose is to have a more reliable and longer-lasting root hard drive, since a non-enterprise drive is effectively a ticking time bomb.
My system is CentOS 7 x64. My server is a dedicated server (not a virtual machine or VPS).
My server is live. It would take more time than I have to set up a new drive from scratch and copy everything over, because the last time it took me weeks, and I didn't also have a full time job like I do now. So it isn't feasible.
Instead I want to clone the drive to the new one, which is larger than the old one.
Although my server is live, I am willing to take it offline for a couple hours if need be to do the clone. But the less time it's offline the better, of course. I have a lot of sites on there.
How can I clone the old drive to the new drive? What do I use to do the clone?
I cannot go in person, it's way too far away. I also do not have access to a windows system.
I could dd the whole live drive to the new one, but I read online that there could be errors if I tried that. They said it's best to take it offline and mount it as read only first and then clone the drive to the new one.
So, how exactly do I do this? Is dd the right solution? Do I mount both onto a second server so I can ssh into a second server to mount the two drives? Or what is the best way in this scenario?
Server details
CentOS 7 x64 (dedicated server)
#lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10.9T 0 disk
└─sda1 8:1 0 10.9T 0 part /mnt/home1
sdb 8:16 0 10.9T 0 disk
└─sdb1 8:17 0 10.9T 0 part /mnt/home2
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 4G 0 part /boot
└─sdc2 8:34 0 927.5G 0 part
├─centos-root 253:0 0 911.5G 0 lvm /
└─centos-swap 253:1 0 16G 0 lvm [SWAP]
sdd 8:48 0 16.4T 0 disk
└─sdd1 8:49 0 16.4T 0 part /mnt/home3
loop0 7:0 0 4G 0 loop /home/virtfs/[removed]/var/tmp