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
^ 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
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/ (http://www.if-not-true-then-false.com/2012/debian-unstable-testing-netinstall/)
:)
^ I want to be able to setup LVM on a current install ... I am wondering if that is possible
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.
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)
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.
Some useful stuff!
The monumental #! LVM guide - el_koraco
http://crunchbang.org/forums/viewtopic.php?id=19411 (http://crunchbang.org/forums/viewtopic.php?id=19411)
ZFS might be also a possibility too.
QuoteZFS 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 (http://linuxaria.com/pills/zfs-is-ready-for-your-linux-desktop?lang=en)
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)
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. ;)
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
^ 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
Quote from: ozitraveller 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. ;)
My ZFS guide : http://fredslev.dk/2012/zfs-2-drives-mirrored/ (http://fredslev.dk/2012/zfs-2-drives-mirrored/)
Excellent well done thanks dizzie. :)
Made for FreeBSD though 8)
I haven't tried FreeBSD, but it's on my TODO list. :)
Good luck with that :)
https://groups.google.com/a/zfsonlinux.org/forum/?fromgroups=# (https://groups.google.com/a/zfsonlinux.org/forum/?fromgroups=#)!topic/zfs-announce/ZXADhyOwFfA
Debian: Add to /etc/apt/sources.list
deb http://archive.zfsonlinux.org/debian (http://archive.zfsonlinux.org/debian) wheezy main
deb-src deb http://archive.zfsonlinux.org/debian (http://archive.zfsonlinux.org/debian) wheezy main
I'm looking for some advice on setting up LVM on SSD + HDD. can I setup LVM only on /Home or does it have to be everything? Shoudl I enable TRIM support or not? Debian wiki is short on LVM info.
Not sure on the LVM question, but the answer for enabling TRIM is "NO"!
EDITED/CORRECTED 20150329
Since 2011 Trim has been enabled in the Linux Kernel. It is however, NOT optimized for whatever reason. My advice in this 'HowTo' posted at, "How To: SSD + TRIM + Linux (http://vsido.org/index.php?topic=958.msg10896#msg10896)
Thanks Jedi I'm loading into to ram also which certainly helps making this more snappy. :)
Single drive ZFS on a GPT disk, is by far, faster and more complex than ext3/4. No 2tb limit, no 4 primary partitions crap limit either. Want me to go on? ;D
I had already decided to use gpt rather than msdos. No, no need thanks Dizzie. :)
Let me know if you need help buddy :)
Advantages and benefits of ZFS and Btrfs over ext4
http://distrowatch.com/weekly.php?issue=20130415#qa (http://distrowatch.com/weekly.php?issue=20130415#qa)
I have a box I need to rebuild, so I see a project coming up !
Thanks Dizzie I'll let you know how I go. :)
ZFS on Linux is still having "child diseases" So be careful :)
Thanks Dizzie!
I might wait until they get inoculated then! :)
Install FreeBSD :)
I'll see what I can do over the weekend. :) I have plenty of space for another vm!
EDIT:
Ok I'm intrigued, instructions please. :)
Hey ozitraveller! You can get the latest FreeBSD ISO from ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.1/
I would grab the 'mem-stick' iso and use 'dd' to make a bootable USB image and install away! It's not quite the same as your regular garden variety distro of Linux, so you might want to read a little about it first. I have the 32-bit version 9.0 installed on a 12 or 13 year old laptop, that has given it new life! However, there was a learning curve for me to get up and over before I was successful at it! That said, it was a blast to play with...
Thanks jedi !
I found these, so far:
http://www.freebsd.org/doc/en/books/handbook/ (http://www.freebsd.org/doc/en/books/handbook/)
http://www.a1poweruser.com/Install_Guide_Frame_w-Counter.php (http://www.a1poweruser.com/Install_Guide_Frame_w-Counter.php)
https://cooltrainer.org/2012/01/02/a-freebsd-9-desktop-how-to/ (https://cooltrainer.org/2012/01/02/a-freebsd-9-desktop-how-to/)
Yeah it ain't too difficult obviously if I was able to get it going and am still using it!!! ??? :D ???
It's friday here, so I think I'm going to systhesize myself some beer! And lubricate myself.... ;)
It's beer o'clock!
Well I actually have a command line FreeBSD installed in a vm. :) Ugly screens, reminds me of Arch installer.