[Novalug] Upgrading with LVM

Mark Smith mark@winksmith.com
Mon Aug 18 21:56:11 EDT 2014


perhaps your life could be simpler by just have two disks?  just keep
your HOME disk unadulterated.  rebuilding your system should just accept
the new disk and even put in an entry for /home into your fstab file.

On Mon, Aug 18, 2014 at 06:06:45PM -0400, Theodore Ruegsegger via Novalug wrote:
> I've been reading and rereading LVM documentation and it all seems to
> be about much more complex problems than mine; perhaps someone can
> supply the missing clue.
> 
> My objective:
> 
> Whenever I upgrade my machines to a new release, I try to leave my
> /home partition untouched and just install the new version fresh. Once
> everything's upgraded, I'll replace the newly-created, empty /home
> directory with a mount point for my old /home partition. Without LVM,
> this means I have to estimate how much space to allocate to / for the
> OS and installed software in the foreseeable future. Typically I guess
> just a bit too little and have to wipe the whole disk, repartition,
> install, then restore /home from backup.
> 
> I could just make one big / partition, but then I can't overwrite it
> without blowing away /home.
> 
> Where I am now:
> 
> I used the Kubuntu installer and selected the LVM option for the disk.
> Now I want to upgrade to the next release.
> 
> What's Confusing me:
> 
> With LVM, I won't run out of space in / but it's beginning to look
> like the Kubuntu installer's idea of using LVM is equivalent to making
> one big / partition, except that it's one big / logical volume. Is
> that indeed what I've done? If so, am I again going to have to blow it
> all away and then restore /home from backup?
> 
> Or has LVM spared me this pain in some clever way that I'm not seeing?
> Is there perhaps a way to split off a separate volume for /home from
> the existing one for / and then tell the installer to lay off that
> /home volume?
> 
> Ted
> **********************************************************************
> The Novalug mailing list is hosted by firemountain.net.
> 
> To unsubscribe or change delivery options:
> http://www.firemountain.net/mailman/listinfo/novalug

-- 
Hei konā mai
Mark Smith
mark@winksmith.com



More information about the Novalug mailing list