Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-26-2009, 10:11 AM   #1
Registered: Nov 2009
Posts: 66

Rep: Reputation: 19
Qn's on setup LVM partitions, useful, overheads?

Doing a fresh install and deciding to use LVM, I'd like to know if this is a "more-trouble-than-worth-it" deal as opposed to multiple normal logicals for / /home /tmp /swap ...and a primary /boot; though I'd split up the LVM like that.

The overall usage would involve:
a primary /boot

a full distro split as / /home /tmp /var /swap
running a virtualiser(unsure which one!)

a minimal textmode maintenance of same distro all in / plus own /swap

a /stuff maybe for backups, big downloads or such

an empty / maybe for a new distro tryout.

Aside from the primary /boot would I be able to have all the rest inside 1 whole LVM partition?

Might it be better to have the maintenance outside the LVM, presuming it can mount the LVM?

I believe there are 2 ways for encrypted LVM:
1)set up an encrypted partition and the LVM goes onto it.
2) do the LVM then encrypt each part/volume.

Number (1) would simplify for just 1 password, though perhaps depending on distro's setup routine it could do a 'master' password for all parts in scenario (2).

My main questions are:

Given a single core cpu and the encryption and running a virtual sometimes, is using an LVM a more intensive workload and more so for the hard disk i/o compared to ordinary encrypted partitions?

Backup strategies, are they simpler or more complex?
If the LVM is one whole thing, for my setup maybe 80Gb, is there a suitable tool to get it all as-is or bzipped onto an ext hdd, in fact is LVM understood by the Linux backup/imaging tools?

What about individual parts inside the LVM, could I use a boot-cd, mount the LVM (decrypt as required) and tar up the various parts?

Having my maintenance outside the LVM might be better for that last given a boot-cd could just do the maintenance and then it, being the same distro, would more easily manage the LVM, yeah?

I've looked over some LVM docs and they don't quite address what I've asked above, so it's people's real-world experiences I'm seeking.

Old 11-26-2009, 12:38 PM   #2
Registered: Nov 2009
Location: mass
Distribution: debian lenny
Posts: 34

Rep: Reputation: 15
i use the auto encrypted lvm when i install Debian and split the main 4 partition types it recommends. it runs the same. i have a 3.0 ghz amd 64 4 gigs ram and 1tn hdd ive noticed no lag if that is what you mean by more intensive. its just when i run fdisk -l in term i get errors saying my partion layout isn't correct yeah its funky.
Old 11-26-2009, 01:21 PM   #3
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
hi, well the pc's likely to be ordinary 2Ghz 1G ram. Certainly when running the virtual I know the cpu will be worked more as there's the "layer" aspect with the encryption, filesystem, LVM, virtual, filesystem.

I'm relatively ok with hdd basics using tools to look directly at them and making sure to copy all the Grub bits somewhere in case a new install trashes them, so I know about how the head will whizz about over the various normal partitions as it needs to get access to files on them.

I'm at the point of not knowing enough where the LVM enters the picture and if it's the same with multi-parts inside the LVM, That is, there's no extra intensive whizzing about or is there, so affecting hdd wear?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM partitions noir911 Red Hat 2 06-09-2009 07:19 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 12:16 PM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 07:15 PM
networking qn's Slack specific aikidoist72 Slackware 28 07-20-2005 07:07 AM
What are typical buffer manager I/O overheads? saisuman Linux - General 0 01-18-2004 01:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration