Author Topic: Setting up LVM  (Read 9401 times)

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Setting up LVM
« on: April 09, 2013, 11:30:02 PM »
I'm just wondering whether anyone has any experience with LVM? I don't know much about it but it looks like something I should be using. I have an SSD and a HDD and I have just done a clean build, so before I go too far now would be a time to change. Can I just have /home setup on LVM? Are there any downsides?

Cheers
Ozi

VastOne

  •      v-ger
  • Posts: 4187
    • View Profile
    • VSIDO Community
Re: Setting up LVM
« Reply #1 on: April 09, 2013, 11:31:28 PM »
^ I agree and want to use it as well.. I would not mind collaborating on this with you and anyone else interested to get it setup on VSIDO and then do a write up about it
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #2 on: April 09, 2013, 11:47:06 PM »
Excellent! here is a starting point.

Debian Sid / Wheezy Netinstall with LVM – Network Installation Guide
http://www.if-not-true-then-false.com/2012/debian-unstable-testing-netinstall/

:)

VastOne

  •      v-ger
  • Posts: 4187
    • View Profile
    • VSIDO Community
Re: Setting up LVM
« Reply #3 on: April 10, 2013, 12:04:42 AM »
^ I want to be able to setup LVM on a current install ... I am wondering if that is possible
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #4 on: April 10, 2013, 12:15:06 AM »
My current thoughts are that it would be possible by adding another drive and setup LVM on it, and then start moving stuff to it and the recommissioning existing drives to LVM, arranging your stuff as you go as LVM gets bigger. Rather than smoke everything and start again.

I haven't tried this, I'm just assuming it will work.




VastOne

  •      v-ger
  • Posts: 4187
    • View Profile
    • VSIDO Community
Re: Setting up LVM
« Reply #5 on: April 10, 2013, 12:25:03 AM »
I have 3 drives in this system and I also have several fsarchiver backups of the absolute most critical one (the VSIDO build partition)

So I can do that... I will start the process tomorrow, it is supposed to rain! (no golf)
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #6 on: April 10, 2013, 12:35:25 AM »
What are you afraid of getting wet? ;)

I'm assuming that LVM can't be overlayed on an existing partitioned drive. I'd like to know if someone has any ideas about this too.

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #7 on: April 11, 2013, 12:43:02 AM »
Some useful stuff!

The monumental #! LVM guide - el_koraco
http://crunchbang.org/forums/viewtopic.php?id=19411

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #8 on: April 11, 2013, 10:05:45 PM »
ZFS might be also a possibility too.

Quote
ZFS is a combined file system and logical volume manager designed by Sun Microsystems. The features of ZFS include protection against data corruption, support for high storage capacities, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs. ZFS is implemented as open-source software, licensed under the Common Development and Distribution License (CDDL). The ZFS name was registered as a trademark of Oracle until September 20, 2011

http://linuxaria.com/pills/zfs-is-ready-for-your-linux-desktop?lang=en


dizzie

  • DEFCON 1
  • Posts: 731
  • Bastard Operator From Hell
    • View Profile
Re: Setting up LVM
« Reply #9 on: April 11, 2013, 10:34:23 PM »
ZFS on Linux? Good luck! you're going to need a lot of it (oh and do take backups, to a few disks and cds)
Reclaim your culture, it's within your reach!

My Blog | Facebook | Twitter | G+ | VSIDO |

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #10 on: April 11, 2013, 11:29:17 PM »
Hi dizzie that's what I thought too! Just thought I'd throw it into the mix, and then wait for someone else to try. ;)

hinto

  • Posts: 85
    • View Profile
Re: Setting up LVM
« Reply #11 on: April 12, 2013, 01:58:58 AM »
I'm still not sure why LVM is good. (maybe for restore points?)  At least once a week I wish I had repartitioned away LVM when I blew away RHEL.
-Hinto
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

VastOne

  •      v-ger
  • Posts: 4187
    • View Profile
    • VSIDO Community
Re: Setting up LVM
« Reply #12 on: April 12, 2013, 02:12:18 AM »
^ Thats the same way I feel about it... fsarchiver does an unbelievable job in archiving and restoring my critical systems and it takes less than 30 seconds for each one.. I have my critical systems at less that 1 gig so I can throw them on a usb and restore them anywhere...

It is by far the most effective Disaster Recovery tool I have ever used, and I spent a career working in Disaster Recovery
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

dizzie

  • DEFCON 1
  • Posts: 731
  • Bastard Operator From Hell
    • View Profile
Re: Setting up LVM
« Reply #13 on: April 12, 2013, 08:42:59 AM »
Hi dizzie that's what I thought too! Just thought I'd throw it into the mix, and then wait for someone else to try. ;)
My ZFS guide : http://fredslev.dk/2012/zfs-2-drives-mirrored/
Reclaim your culture, it's within your reach!

My Blog | Facebook | Twitter | G+ | VSIDO |

ozitraveller

  • Posts: 397
    • View Profile
    • Star
Re: Setting up LVM
« Reply #14 on: April 13, 2013, 03:29:40 AM »
Excellent well done thanks dizzie. :)