You are not logged in.

#1 2008-01-22 17:18:55

Agent69
Member
Registered: 2006-05-26
Posts: 189

LVM2 On Single Disk Systems

As I understand it from the TLDP article, LVM2 can be useful on single disk systems. Does anyone here actually use LVM2 this way?

Here a link:

http://www.tldp.org/HOWTO/LVM-HOWTO/ben … small.html

Offline

#2 2008-01-22 18:13:00

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: LVM2 On Single Disk Systems

I do. Originally just to get acquainted with LVM, but now it seems like a wise idea that I didn't allocate the whole space on the partition to Arch. 15 GB are available on the PV and originally only 5 GB had been allocated, then I extended that to 8 GB, and now I'm facing the decision again: free up some stuff or enlarge again?


1000

Offline

#3 2008-01-22 19:37:03

msoltyspl
Member
From: Poland
Registered: 2007-07-09
Posts: 11

Re: LVM2 On Single Disk Systems

I use LVM2 on all linuxes I have, although with large-size extents (512M).

Offline

#4 2008-01-22 20:29:40

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: LVM2 On Single Disk Systems

Definitely!  My initial interest was also without a real need, but I've grown to love it.  Interleaving my secondary partitions (for me, swap and /home) in between segments of my root (/) partition tends to smooth out reads and writes across the drive/partition devoted to lvm2, and (help) avoid "hot spots".  They are wonderful - I have a 16 GB one on a 250 GB drive that I'll likely never use - but I have it if I need it. I'm using less than 5 GB now for /, /home, and swap (everything).  If I need more, I can grow it or give it another partition. Very flexible and efficient, and gives better performance.

Also, though I don't use it (and it doesn't seem well-documented at the moment), you can use lvm2 to create 'snapshots' - very clean, handy, convenient backups of a partition, for later transfer to external media (i.e., CD/DVD).

Quite useful for a home user.

Offline

#5 2008-01-23 00:04:12

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: LVM2 On Single Disk Systems

Yes, I use it as well... quite handy if you are a tinkerer and redesign the layout of the system from time to time... i use lvm with cryptsetup-luks on top of it.

Offline

#6 2008-01-23 00:58:14

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: LVM2 On Single Disk Systems

Thank you to everyone. I would be basically just tinkering, since I am just a hobbyist, and I think that LVM sounds like something that could be fun to play with.

Thanks again.

Offline

#7 2008-01-23 02:16:23

MrWeatherbee
Member
Registered: 2007-08-01
Posts: 277

Re: LVM2 On Single Disk Systems

I initially used LVM to circumvent the 15 disk-volume limitation introduced when kernels started using libata. I need[ed] much more than that for multi-booting.

I'm glad I was "forced " into using LVM as it introduced me to all the other added flexibility and functionality it affords.

Last edited by MrWeatherbee (2008-01-23 02:17:22)

Offline

Board footer

Powered by FluxBB