I have a local web server running locally in the office.
It has two hard drives:
- 120 GB SSD - on which
/is mounted, So the web server
/var/htmlis on the SSD
- 1TB HDD - mounted in
/mediaon which daily backups of all the websites are stored.
Both the drives are eventually going to get exhausted. I cannot just swap the current Hard drive and add a new one there, I need to increase the partition sizes so that new sites backups keep running smoothly.
While searching for solutions, I came across LVM, But all the tutorials that I found are creating logical partitions from scratch (unused physical partitions) Which is not actually a solution for my case, Is there any way to move to using LVM without losing any current data?
Operating system on server is Ubuntu 14.04 LTS.
The filesystem is ext4. The SSD has 47GB Free and HDD has 450GB free space.