I have a dedicated server containing 4x500GB HDD running on Centos 6. My main disk got full and it caused MySQL server to terminate, for which I had to clear some space to solve it (temporarily).
Below is the result for running the following command parted -l
Model: ATA MB0500EBNCR (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext2 boot
2 525MB 492GB 491GB primary ext4
3 492GB 496GB 4295MB primary linux-swap(v1)
4 496GB 500GB 4295MB extended
5 496GB 500GB 4294MB logical ext4
Model: ATA MB0500EBNCR (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
Model: ATA MB0500EBNCR (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
Model: ATA MB0500EBNCR (scsi)
Disk /dev/sdd: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
This folder "/home/admin/domains/mydomain.com/public_html/Documents" is large in size and I would like to move it to another partition. (From "sda" to "sdb")
What is the proper way to do so while maintaining the URL path to the files on the new partition? mydomain.com/Documents