public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] LVM for data drives but not the OS
       [not found]   ` <gEVJ8-ou-21@gated-at.bofh.it>
@ 2011-04-07 12:15     ` Gregory Shearman
  2011-04-07 12:41       ` Dale
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory Shearman @ 2011-04-07 12:15 UTC (permalink / raw
  To: gentoo-user

In linux.gentoo.user, you wrote:
> Neil Bothwick wrote:
>> On Thu, 07 Apr 2011 05:22:41 -0500, Dale wrote:
>>
>>    
>>> I want to do it this way because I don't trust LVM enough to put my OS
>>> on.  Just my personal opinion on LVM.
>>>      
>> This doesn't make sense. Your OS can be reinstalled in an hour or two,
>> your photos etc. are irreplaceable.
>>
>>    
>
> It does to me.  I want to keep things so that if there is a problem, I 
> know how to fix it or can at least get to a point that I can get help on 
> it.  If LVM fails and I can't boot, then I loose everything on LVM 
> because I would have to reinstall from scratch.  If it fails just on my 
> data stuff, I can get help and fix it because I can still boot up and 
> get to my email program.  Also, I have the important stuff backed up to 
> DVD.  I would only loose things that I can download again.  I would just 
> rather avoid that and I'm sure AT&T would agree.  That's a lot of 
> downloading.

I have all my partitions on LVM except the boot partition. I've used LVM
for more years than I could count and have *never* had a failure related
to LVM.

I backup my machines to an external drive (2 backup drives actually)
using rsync.

If I have a failure and cannot boot then I just put in my Gentoo Minimal
CD (which has all the LVM tools available) and I can fix the damage. If
the damage isn't fixable then I can just copy over the backups.

LVM snapshots make live backups a breeze. Backups are always in a
consistent state and I've tested them and they *work*.

-- 
Regards,
Gregory.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] LVM for data drives but not the OS
  2011-04-07 12:15     ` [gentoo-user] LVM for data drives but not the OS Gregory Shearman
@ 2011-04-07 12:41       ` Dale
  2011-04-07 14:45         ` [gentoo-user] " James
  0 siblings, 1 reply; 4+ messages in thread
From: Dale @ 2011-04-07 12:41 UTC (permalink / raw
  To: gentoo-user

Gregory Shearman wrote:
> In linux.gentoo.user, you wrote:
>    
>> Neil Bothwick wrote:
>>      
>>> On Thu, 07 Apr 2011 05:22:41 -0500, Dale wrote:
>>>
>>>
>>>        
>>>> I want to do it this way because I don't trust LVM enough to put my OS
>>>> on.  Just my personal opinion on LVM.
>>>>
>>>>          
>>> This doesn't make sense. Your OS can be reinstalled in an hour or two,
>>> your photos etc. are irreplaceable.
>>>
>>>
>>>        
>> It does to me.  I want to keep things so that if there is a problem, I
>> know how to fix it or can at least get to a point that I can get help on
>> it.  If LVM fails and I can't boot, then I loose everything on LVM
>> because I would have to reinstall from scratch.  If it fails just on my
>> data stuff, I can get help and fix it because I can still boot up and
>> get to my email program.  Also, I have the important stuff backed up to
>> DVD.  I would only loose things that I can download again.  I would just
>> rather avoid that and I'm sure AT&T would agree.  That's a lot of
>> downloading.
>>      
> I have all my partitions on LVM except the boot partition. I've used LVM
> for more years than I could count and have *never* had a failure related
> to LVM.
>
> I backup my machines to an external drive (2 backup drives actually)
> using rsync.
>
> If I have a failure and cannot boot then I just put in my Gentoo Minimal
> CD (which has all the LVM tools available) and I can fix the damage. If
> the damage isn't fixable then I can just copy over the backups.
>
> LVM snapshots make live backups a breeze. Backups are always in a
> consistent state and I've tested them and they *work*.
>
>    

If you know how to do that, then that works.  Right now, I have no 
experience with LVM.  All I know is what I have read which is about as 
clear as mud.  ;-)

Dale

:-)  :-)

P. S.  I wonder why this reply was not threaded with the rest?  I see 
this happen sometimes with other threads.  Always been curious about that.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: LVM for data drives but not the OS
  2011-04-07 12:41       ` Dale
@ 2011-04-07 14:45         ` James
  0 siblings, 0 replies; 4+ messages in thread
From: James @ 2011-04-07 14:45 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967 <at> gmail.com> writes:

> If you know how to do that, then that works.  Right now, I have no 
> experience with LVM.  All I know is what I have read which is about as 
> clear as mud.  

Yes, I agree with you Dale.
The docs on LVM raid and many related issues are
in poor shape, confusing and missing current information.

James







^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] LVM for data drives but not the OS
       [not found]           ` <gFkev-8r9-27@gated-at.bofh.it>
@ 2011-04-08 15:15             ` David W Noon
  0 siblings, 0 replies; 4+ messages in thread
From: David W Noon @ 2011-04-08 15:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

On Fri, 08 Apr 2011 15:50:03 +0200, Dale wrote about Re: [gentoo-user]
LVM for data drives but not the OS:

[snip]
>Ooooh.  Still some progress tho.  lol  So, if I was going to use LVM,
>I create a partition first, either whole drive or part of it then use
>LVM on that?

You use pvcreate to create a physical volume from the partition; this
formats the partition for LVM use, rather than for a filesystem. When
you have enough physical volumes on enough disks -- it's usually one
large PV per disk -- you then use vgcreate to amalgamate those physical
volumes into a volume group.  You can then use lvcreate to allocate
logical volumes within that volume group.

After that, you use mkfs to format each logical volume, as if it were a
partition.  You can then add them to /etc/fstab and mount them as
needed.

Note that the amalgamation of physical volumes into a volume group
allows you to do some neat things: you can "stripe" a logical volume
across multiple physical volumes to improve its I/O bandwidth; your
volume group is what DASD managers call a "concatenation set", which
means its effective size is the sum of the physical volume sizes, so
you can create a logical volume that is bigger than any of the physical
volumes involved.

But before you do any of that fancy stuff, get used to using LVM2 as a
smarter partition manager.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwnoon@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-08 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <gEUDo-72k-19@gated-at.bofh.it>
     [not found] ` <gEVzt-b2-39@gated-at.bofh.it>
     [not found]   ` <gEVJ8-ou-21@gated-at.bofh.it>
2011-04-07 12:15     ` [gentoo-user] LVM for data drives but not the OS Gregory Shearman
2011-04-07 12:41       ` Dale
2011-04-07 14:45         ` [gentoo-user] " James
     [not found] ` <gF1ES-22O-19@gated-at.bofh.it>
     [not found]   ` <gF2hz-3ba-17@gated-at.bofh.it>
     [not found]     ` <gF3nk-50O-23@gated-at.bofh.it>
     [not found]       ` <gFhqh-3wh-3@gated-at.bofh.it>
     [not found]         ` <gFicG-4Ul-7@gated-at.bofh.it>
     [not found]           ` <gFkev-8r9-27@gated-at.bofh.it>
2011-04-08 15:15             ` [gentoo-user] " David W Noon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox