Migrating away from LVM
Posted
by
Kye
on Super User
See other posts from Super User
or by Kye
Published on 2012-11-13T08:28:29Z
Indexed on
2012/11/13
11:07 UTC
Read the original article
Hit count: 328
I have an Ubuntu home media server setup with 4.5TB split across a few hard-drives (1x3TB, 2x1TB) and I'm using LVM2 to manage the volumes. I have recently added a 60GB SSD to my server, and I wish to use it to house the 'root' partition of my server (which is currently under the LVM group).
I don't want to simply add it to the LVM volume group, because (afaik) there's no way to ensure that the SSD will be used for the root filesystem. If I just throw it at the VG, it may be used to house my media, which would defeat the purpose of having the SSD in the first place.
I feel that my only solution is to somehow remove my root partition from the LVM setup and copy it across to the SSD. My boot partition is, of course, not part of the LVM group.
My disk setup is as follows:
60GB SSD: EMPTY.
1TB HDD: /boot, LVM space.
1TB HDD: LVM space.
3TB HHD: LVM space.
I have a few logical volumes. my root (/), a 'media' volume for my media collection, a backup one for my network backups.etc.
Does anyone have any advice as to how to go about this? My end goal is to have the 60GB SSD used for my boot and root partitions, with everything else on the 3TB/1TB/1TB hard-drives.
© Super User or respective owner