Easy LVM | LAS | s18e08

Easy LVM | LAS | s18e08

Want to stack your Linux box full of hard drives? Join them into one giant pool of storage? It’s easy, we’ll show you how to combine two drives, or even hundreds!

Plus – Is Microsoft trying keep Linux off PC’s with Windows 8? We discuss!

And so much more!

All this week on, The Linux Action Show!

Thanks to:

GoDaddy.com Use our codes LINUX to save 10% at checkout, or LINUX20 to save 20% on hosting!

Direct Episode Download Links:

HD Video | Large Video | Mobile Video | WebM Video | MP3 | OGG Audio | OGG Video | YouTube


[ad#shownotes]

Episode Show Notes:

News:
LVM Easy:

Find us on Google+

Find us on Twitter:

Follow the network on Facebook:

Catch the show LIVE at 10am on Sunday:

39 Responses to “Easy LVM | LAS | s18e08”

  1. Daniel Sandman Says:

    I don’t consider Android as linux. Yes, i know.. it is built ontop a forked linux kernel but there it stops. I feel a bit like Google is hijacking the linux experience. So yes, i agree with Stallman on this.

    I actively did not get a Android device because of the above. I went Maemo/Meego. Going Android would feel like step backwards but then that might be the only step offered soon. I am hoping Samsung consider a merge with Meego/Bada now when Bada will go open next year.. that would be awesome and the natural choice for pro-linux consumers.

  2. Frazar Says:

    I really like the approach you take lately. With those little tutorials you make following your show much easier for linux newbies. I have a small ubuntu machine as fileserver which a friend of mine had to set up. Thanks to TechSnap and LAS I can do that myself now. Great work!

  3. szantaii Says:

    The YouTube link in  `Direct Episode Download Links’ points to Season 18 Episode 07, not to Episode 08. The correct link is: http://www.youtube.com/watch?v=wMnt70elFp4

  4. Aiziks742 Says:

    LUKS is awesome, I use LUKS running on LVM which runs on my raid 5 array which lets me keep my raid encrypted, while still allowing me to grow my raid array if I need/want to.

    One word of warning about LUKS however, the one and only master key is stored in the same location as an MBR.  So if you accidentally install grub on your LUKS drive you’ll overwrite your master key, and if you haven’t made a backup (something LUKS makes very easy) you’ll end up with a lot of lost data.

  5. hatchery_ Says:

    What’s with that Fallout 3 loading screen that occasionally appears during cuts? Just made me play the game again 😉

  6. Jesper Madsen Says:

    You asked about whether or not anyone had used LUKS – I do on both my (linux) laptops.

    And yes, it’s super-duper awesome 😉
    I use Gentoo on both so the setup is a bit custom and I wouldn’t know how other distro’s do it, but I essentially have a small initial ramdisk which contains a few choice binaries (luksOpen, busybox and vgchange{for LVM}) and an “init” script.
    During boot it pauses (courtesy of the init script) and prompts me to enter the correct password – provided I get it right, the volume group is unlocked which the script then mounts and hands off the rest of the boot process to Gentoo’s regular init scripts.

    But yes, LUKS is great especially so because you can choose a wide range of encryption schemes depending on what your preferences are as well. Definitely something I’ll never do without from now on.

  7. Jesper Madsen Says:

    whoops, double-post

  8. Anonymous Says:

    Haha good catch!

    It’s a background layer to Allan’s image. When the live switcher, switches, it sometimes renders the background first, then Allan in front of it. When that happens, you get a peak at the image I stuck back there!

    -Chris

  9. Al Says:

    not sure if you talked about this so sorry if missed it. What happens if one of your lvm drives die?
    Do you just lose all that data? Can you have an extra drive just to help with this?
    Thanks!

  10. Guest Says:

    I’m using LVM + LUKS on Fedora. Anaconda (installer) has always made LVM + LUKS really easy and convenient thing to do [1].

    I have done some Fedora and MeeGo spins by using kickstart [2] that uses LVM + LUKS.

    [1]
    Fedora 15 – http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/Create_LVM-x86.html
    Fedora 16 – http://www.linuxbsdos.com/2011/08/08/feature-preview-of-fedora-16-installer/
    Fedora 17 – http://blog.linuxgrrl.com/category/fedora/anaconda/

    [2]
    http://fedoraproject.org/wiki/Anaconda/Kickstart

  11. Guest Says:

    I’m using LVM + LUKS on Fedora. Anaconda (installer) has always made LVM + LUKS really easy and convenient thing to do [1].

    I have done some Fedora and MeeGo spins by using kickstart [2] that uses LVM + LUKS.

    [1]
    Fedora 15 – http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/Create_LVM-x86.html
    Fedora 16 – http://www.linuxbsdos.com/2011/08/08/feature-preview-of-fedora-16-installer/
    Fedora 17 – http://blog.linuxgrrl.com/category/fedora/anaconda/

    [2]
    http://fedoraproject.org/wiki/Anaconda/Kickstart

  12. Old486whizz Says:

    Nice.. Personally you missed out ‘extents’, which might help explain the volume group principal (ie, breaking each partition/disk into a group of extents, and then you assign those out to LV’s.

    Also, mirroring will actually require an additional “sync log” volume, which can be very small, and it’s done at the logical volume level and not the volume group level.
    I’ve tried that out but found that very troublesome, especially where I wanted to be safe if I loose one physical drive (which is the point of mirroring).. I’ve found using dmraid with nvidia mobo much better (plus it mirrors EVERYTHING for me below the VG..

    I have used LUKS ontop of LVs. So normally it’s like a layer between LV’s and Filesystems (filesystems sit on top).. I also have to look deeply into aligning it to my SSD blocks.

    It has 2 great features
    1) You can have more than 1 password to decrypt the LV… Say you have 1 emergency password set up, you can then have each person who uses the PC to have their OWN password. Or they have access to some drives and not others.
    2) The data is written in random blocks… IE, if you simply save a file which is written sequentially to the filesystem, the crypto layer actually writes it using an algorythm to the back end storage – this means the guys trying to decrypt it can’t just try and decrypt sequential data but also have to try and rearrange the data before decrypting…. At least, that’s what I remember reading.
    It uses the /etc/crypttab file or something too, which is very nice.

    I would love to try and get it working with me storing the decrypt key on a usb key or something, so I don’t need to type in a password – just plug in a USB stick… Perhaps you could cover that?

    Also, end of the message now, perhaps on techsnap or LAS you could look into something like rexify?
    http://rexify.org/
    It’s a software / configuration management piece which I *just* found (haven’t looked into yet), and I’m looking at trying to use something like this at home to manage my different laptop/PC/server configs and try to fit it in with a custom PHP-driven system builder I’ve created similar to Cobbler (using kickstart files and a custom USB booter).

    Cheers

    old486whizz

  13. Old486whizz Says:

    You can ‘mirror’ LVs (logical volumes) using 3 physical partitions… That way if you loose 1 drive you *should* be able to recover.
    I personally recommend using hardware raid 1 or raid 5 (or 6), and using ‘dmraid’ to configure the drives, but you do basically need 2 identical drives to mirror.

  14. Anonymous Says:

    Think you could do a segment on Greyhole http://www.greyhole.net/ at some point?  A comparison between ZFS, Greyhole and LVM (any other disk pooling methods?) could be interesting. 

  15. Rahul Says:

    Your UEFI coverage was extremely confusing. Note that some motherboards and some notebooks already ship with UEFI and are supported just fine by linux though currently the implementations typically only implement regular unsigned booting.

    UEFI does have the option of booting only from signed code, but  it is possible for the OEMs to provide an option in the firmware to boot from either signed-only or unsigned images. Note that even previous versions of Windows (including 7) will not boot if only signed-booting is implemented, so OEMs have a good reason to continue to provide the option in the UEFI firmware to boot from unsigned images.

  16. Colin Kilt Says:

    Is it just me or is there a “Please Stand By” still from Fallout3 every now and again between edits? Subliminal messages like “Get ready to kill some mutants…..”??

  17. Colin Kilt Says:

    I would love a wee segment in the show that was about the command-line. Anything from file conversions using ffmpeg to connecting your usb to the serial port. Just whatever.

  18. Anonymous Says:

    I just wanted to commit, that YES it does matter if our phones are fully open or not. We payed 200 to 300 dollars for these things!!! Technically more given that they generally cost 600 to 700. We buy them subsidized and the cell companies make 300 percent of the difference in price back with your cell plan. Especially with the 2GB caps now!!!!

    Any ways, why shouldn’t we have complete control over something we pay BIIIGGGG bucks for?? yes there are some people that don’t give a crap. But alot of those same people don’t give a crap about being able to put Linux on their PC, they continue on with windoze cause its what they were handed when they bought the thing.

    But for those who truly care about FREEDOM over their own property, fighting tooth and nail to have Linux, Android, and every other “”Open”” platform to actually be open is worth the effort. This crap with Google saying they’re “Open” one day, and then keeping everything behind closed doors and making deals with Adobe to have flash work on Android and be bundled with Chrome and Chrome OS is out right 2 faced.

  19. Anonymous Says:

    I didn’t know this UEFI was already being used by motherboards. But one of the requirements Microsoft has is that the “Secure Boot” be enabled by default. They came out and claimed they won’t be telling manufacturers to prevent people from disabling the Secure Boot. But they also didn’t say they would require them to give the ability to disable it either.

    Most likely the large majority of PC manufacturers will give the ability to disable it. But this is mainly a worry with tablets and not having an easy way to get to the settings to disable this. Personally I am trying hard to not buy any PC that come with WIndows installed on it. And probably be building most my desktops custom in the future.

    But this will definitely put a bit more hesitance in the minds of possible new Linux users. One more thing that needs to be done to their computer before this weird “Linux Thing” can be installed. We’ll see where manufacturers will go with this one. Who knows, maybe this will cause more of them to include a LInux option instead of Windows when ordering your next computer, huh?? :-)

  20. Anonymous Says:

    May I asked what Maemo/Meego device you have? I got into Android before I realized how maniulative Google’s definition of “Open Source” is. I have a Droid 2 Global, which apparently has been abandoned by those who know how to unlock boot loaders :'(

    Do you the customary N900? I wish I could find a way to get Meego on my Droid 2 Global, because its plenty powerful, but again, the boot loader seems to be doomed to be forever locked….

  21. Anonymous Says:

    May I asked what Maemo/Meego device you have? I got into Android before I realized how maniulative Google’s definition of “Open Source” is. I have a Droid 2 Global, which apparently has been abandoned by those who know how to unlock boot loaders :'(

    Do you the customary N900? I wish I could find a way to get Meego on my Droid 2 Global, because its plenty powerful, but again, the boot loader seems to be doomed to be forever locked….

  22. Darrall bastian Says:

    I know this is not the best place to put this but I would like to see a show that goes over everything android.  I am a current IOS user but been really looking at switching.  My big concerns are security from apps(how many apps have malware can I protect my self.)  What hardware should be looking for.  basically everything someone new to android should know.

  23. Sirfender Says:

    Great look at LVM. I’m a Linux noob, but have loved learning about it.

  24. Anonymous Says:

    The cheap  Moncler Men Vests is the latest popular, unique style and very fashionable. Once you got it, you will find that it worth paid. Come on and join us. We can meet what you want. Welcome to buy discount Moncler Men Vests.
    Welcome to our website: www.chap-moncler-coat.com to choice some coats you like.

  25. Roger Says:

    What you are looking for is available on fellow podcasts:

    All About Android
    http://twit.tv/aaa

    Android Central Podcast
    http://www.androidcentral.com/podcast

  26. Guest22 Says:

    O jesus not Allan I can’t survive another bore fest.

  27. ormaaj Says:

    These were some of the best episodes of LAS (and techsnap too) in a long time. This format covering things that aren’t necessarily news is a refreshing change, even though I’m sure many people already know a lot of this. Honestly I’d much rather watch this kind of thing than sit though yet another Ubuntu review.

  28. Sarsmdsh Says:

    Hi Chris and Allan. Great show guys. You got me hooked and watching techsnap as well now. Just a Question. Seeing as you guys are on home server type scenarios will you be doing a take on FOGClonezilla servers again for home like you did (Chris) in the old IN DEPTH LOOK show. Cheers guys. Wynand NZ

  29. Thomas Overton Says:

    Hey Chris,
    FYI  tried to use LINUX at Godaddy checkout and got code expired.  No biggy, but thought you ought to know.

    Thomas

  30. jgm Says:

    I’m not sure this provides a good reason to allow non-secured booting. Chris made a throwaway comment about not being able to boot Win 7 or XP but failed to realize that’s the key to understanding this. While the primary (and official) motivation is system security, I contend the secondary (and unofficial) motivation is just this. With Windows 8’s radical changes, Microsoft takes the risk of it becoming the new Vista. However, with secure booting, Windows 7 can’t become the new XP. There’ll be no 10-year holdouts; buying a new motherboard will force end users to upgrade to Windows 8 (or current).

    The fact that Microsoft could have required vendors to allow options for disabling secure boot or adding keys *but didn’t* provides a clear wink-wink-nudge-nudge signal to OEMs about what Microsoft wants them to do. Linux probably wasn’t on anyone’s minds.

    I did not like Allan’s suggestion that consumer motherboards will “probably” allow this to be disabled. It’s an assumption that we can’t just wait and see about – as with laptops, which he was quite on the ball to bring up. If we just wait and see, we could find Linux incapable of booting on any new laptop once Windows 8 rolls out. This is something that users need answers to (and input on) from OEMs and vendors immediately about their plans.

    I’m not sure what Chris’ point was about the success of Microsoft products over the last 5 years. Microsoft IS an OS monopoly and has the power to get all OEMs to agree to its logo terms; the Kin has nothing to do with the fact that it would be OEM suicide to not be certified to run Windows 8. Is he expecting Windows 8-installed machines to fail in the marketplace because people can’t run Linux on them? The average consumer isn’t going to care about (or understand) secure boot or UEFI or encryption keys or even knows that other operating systems exist.

  31. Iasdbu739 Says:

    The Simon & Garfunkel duo must have its Garfunkel back. The sooner the better.

  32. YesPapa Says:

    LVM is great, I’m using it on a daily basis on production servers. Thank you for the quick intro, hopefully it will get people less worried about getting started with LVM, as it isn’t the scary monster it may look like at first. 
    Just a couple of points: you say that you can put any type of filesystem on top of LVM, such as ext4, Reiser, ZFS. ZFS? I really don’t think is this possible. ZFS combines two layers, the Logical Volume and the Filesystem. So although I haven’t tried, I really don’t see how it would be possible to format an LVM volume with ZFS. But I could be wrong!
    Another point: as I said, I do like working with LVM. However in terms of features, it waaaay behind VxVM (Veritas/Symantec). ZFS is also very (very!) good, and hopefully Btrfs will catch up with Oracle’s brilliant volume manager/filesystem to offer GPL users the same enterprise-level storage management.

    LVM is great on laptop/desktop and local disks on a server. However for production SANs you owe yourself to check out ZFS and/or VxVM if you can.

  33. moncler jackets and coats Says:

    Moncler jackets uk are undoubtedly a buy to the fashion trend. A quality exceptional moncler jackets can very last you for a long time. Even although Moncler jackets sale fashions seem and go, for unobtrusive layering below Moncler Coats Womens  or overcoat, it can’t be beaten for warmth and comfort Moncler jackets men. They really are a whole great offer simpler to put on than normal moncler down jackets and much a whole great offer more comfortable jackets, enabling for reduce of movement too as Moncler jackets . Whether you’d probably just like jackets and coats for every day time city put on or country exploits.

  34. Guillaume Boudreau Says:

    They did talk briefly about Greyhole while they reviewed Amahi.http://www.jupiterbroadcasting.com/9531/amah-server-review-las-s17e04/
    This was quite a while ago, and both Greyhole and Amahi have improved quite a lot since then, but still.

  35. velja27 Says:

    When I click on the Youtube link it opens up a Best Firewall Ever s18e07, instead of Easy LVM s18e08.
    By the way I really like your show, it’s quite interesting and you are filling quite a nice niche especially considering that most of the internet users don’t even use the TV anymore. 

  36. xielin Says:

    http://www.monster-beatsbydresale.org/

    Beats By Dr Dre
    Dr Dre Headphones
    Dr Dre Beats

    评论
    Beats By Dr Dre
    Dr Dre Headphones
    Dr Dre Beats
    Beats By Dr Dre Diddy
    Beats By Dr Dre Just Beats
    Beats By Dr Dre Pro
    Beats By Dr Dre Solo
    Beats By Dr Dre Studio
    Beats By Dr Dre Tour
    HeartBeats By Lady Gaga
    Monster Butterfly
    Monster iBeats
    Monster Miles Davis
    Monster PowerBeats
    Monster Turbine Pro
    New Arrival

  37. xielin Says:

    http://www.salebeatsbydreheadphone.com/

    Beats By Dre
    Beats Dr Dre
    Beats By Dre Headphones

    评论

    Beats By Dre
    Beats Dr Dre
    Beats By Dre Headphones
    ARTIST SERIES
    Graffiti Headphones
    Justin Bieber
    Kobe Bryant
    Lady Gaga
    Lamborghini
    LeBron James
    Limited Edition
    Michael Jackson
    Nate Robinson
    NBA Yankees
    Spider Man
    Superman
    Vivienne Tam
    In-Ear Speakers
    Beats Tour
    Diddy Beats
    Heart Beats
    Just Beats
    Monster Butterfly
    Monster iBeats
    Monster Miles Davis Tribute
    Power Beats
    Over-Ear Headphones
    Beats Pro
    Beats Solo
    Beats Studio
    Just Beats
    New Arrival

  38. yuye Says:

    その中のMBT ブーツサッカースパイクの綿入れの靴は大麻の糸、アディダス スパイク サッカーあや絹、薄い絹織物、錦などの織物の布の合成を縫う靴でです。漢は多く分けて形をつくことが現れるかに代わって、底は麻糸で編んで、またユニフォーム 通販2の先が方履を上げると語っています;魏晋の時期に、流行ってい靴の先端で両けネイティブ フィッツシモンズものの刺青
    トリーバーチ シューズを刺繍します。破棄する時、ニューバランス下駄が1種になるのは流行して、それはぼうっとする歯の靴があるので、扁、学部、歯の3から一部は構成します。 皮革、綿のフェルトなどの製造する革靴、革靴はまた“乗馬靴”あるいは“高統の長靴”を語って、もとは北方の遊牧民族のために着て、長靴、革靴、フェルト製靴、単靴、綿の長靴、雲の長靴、トリーバーチ 店舗ガチョウを使って長靴のなどの分けることを突く日照りのナイキ バスケシューズ 長靴があります。ネイティブ フィッツシモンズ孫ヒンが長靴の始祖だと伝えられて、南北朝の時期は北方で広範に流行っていて、そして江南まで(へ)伝わって、唐代已官(至って明清やっと朝廷に命令を下された庶民が長靴を着ることを禁止する、官の官吏だけ長靴を着ることができる)に着いたどうにか全て。

  39. cc123456 Says:

    The Barbour
    jackets
    is a top 
    brand from UK.  But now the high quality barbour quilted jacket
    was more popular in the worldwide .  You can use the barbour
    jacket
    keep warm, 
    windproof so on.Charming barbour
    coat
    make your life easy.Welcome to
    http://www.barbourjacketshop.com
     , there are many style of barbour ladies
    jacket
    ,  barbour
    mens jacket and barbour
    kids jacket
    you can 
    choose.The charming style and better price barbour
    jacket
    must be can help  you.

Leave a Reply