public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: About ready to move /usr, /var and /home to LVM.
Date: Fri, 13 Apr 2012 11:12:55 -0400	[thread overview]
Message-ID: <27071.1334329975@ccs.covici.com> (raw)
In-Reply-To: <1334311082.13855.14.camel@moriah>

William Kenworthy <billk@iinet.net.au> wrote:

> On Thu, 2012-04-12 at 22:58 +0300, Nikos Chantziaras wrote:
> > On 12/04/12 22:49, Dale wrote:
> > > Howdy,
> > >
> > > Well, it appears we got the init thingy working.  I'm about ready to
> > > move things around since one of my drives is about full and I need a
> > > spare to move things around with.  I use cp -a to copy things while
> > > booted from a USB stick do hicky.  So far, that has always worked and is
> > > pretty fast.  I do have a question tho.
> > >
> > > When I copy this over, do I still need to copy over null, console and
> > > such to /dev?  I know I don't need everything in /dev but do recall
> > > needing those in the past.  Has this changed since I'm using the init
> > > thingy?  Am I forgetting one?  I thought there was three.
> > >
> > > Anything else that could be a gotcha?  I plan to move this twice.  Once
> > > to the spare drive, repartition the OS drive then copy things back over
> > > again.  It's been a while and with LVM about to be used, I hope it is
> > > the last time.
> > 
> > Make sure this is really what you want.  If *any* of the disks in the 
> > LVM goes bad, you lose everything, not just the data on that single disk.
> > 
> > 
> 
> Not necessarily so ... you can remove a failed drive and only lose the
> data on that drive - the data on the other drives is usually accessible.
> If a drive is in the process of failing you have more options to move
> the data to another drive.  If you dont have lvm ... the data on that
> drive is toast anyway.
> 
> Downside, is you have to be aware that you are using LVM and respond
> accordingly ... go at it the wrong way and it will be you who have lost
> the data (on the whole set of disks), not LVM.  Non LVM is simpler, but
> the gain in flexibility offsets that enormously.
> 
> I have used LVM for years now, and have had failed drives, failing
> drives and add/remove drives and have resized partitions quite a few
> times over that period - without losing everything.  Yes, I have
> sometimes lost data on a drive before I could move it off ... but I look
> at it from the point of view that without LVM, I would not have had a
> chance to save what I did manage to get.
> 

I had a bad drive, and I tried to use pvmove, but it stopped when it got
an error and would  not tell me the file it had trouble with nor would
it move any data past that point -- is there a better way to recover
such data?  I simply used the backup to get my data back, rather than
lvm.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



  reply	other threads:[~2012-04-13 15:14 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 19:49 [gentoo-user] About ready to move /usr, /var and /home to LVM Dale
2012-04-12 19:58 ` [gentoo-user] " Nikos Chantziaras
2012-04-12 20:09   ` Dale
2012-04-12 20:16     ` Michael Mol
2012-04-12 21:19       ` Florian Philipp
2012-04-13  0:52         ` Dale
2012-04-13  8:01   ` Paul Colquhoun
2012-04-13  9:58   ` William Kenworthy
2012-04-13 15:12     ` covici [this message]
2012-04-14  1:21       ` Alan McKinnon
2012-04-12 21:04 ` [gentoo-user] " Florian Philipp
2012-04-13  0:56   ` Dale
2012-04-12 22:30 ` Neil Bothwick
2012-04-13  0:58   ` Dale
2012-04-13  1:23 ` Dale
2012-04-13  4:52   ` Matthew Marlowe
2012-04-13 15:21     ` Dale
2012-04-13 14:51 ` Dale
2012-04-13 20:35   ` Dale
2012-04-13 21:19     ` Re[2]: " Stefan Schmiedl
2012-04-14  3:46       ` Dale
2012-04-14  6:19         ` Re[2]: " Stefan Schmiedl
2012-04-14 10:38           ` Dale
2012-04-15  2:02   ` Peter Humphrey
2012-04-15  5:16     ` Dale
2012-04-15  9:26       ` pk
2012-04-15 10:42         ` Dale
2012-04-15 13:52           ` pk
2012-04-15 15:15             ` Dale
2012-04-15  9:27       ` pk
2012-04-15 10:52     ` Alex Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27071.1334329975@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox