All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave <davo_muc@yahoo.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	ed@quillen.net, lvm@davidb.org
Subject: Re: [linux-lvm] pvmove of lvs while filesystems mounted not supported?!?
Date: Mon, 13 Nov 2006 05:47:01 -0800 (PST)	[thread overview]
Message-ID: <902218.58339.qm@web51102.mail.yahoo.com> (raw)
In-Reply-To: <44E2327A.7020907@davidb.org>

Hi David & list readers,

I am still stuck using LVM1 (1.0.8-14) on a RedHat AS3 system (kernel:
2.4.21-47.ELsmp) and may need to move all data from the existing disks to a new set
of disks.

Can I safely use pvmove (under LVM1) to perform this action while the file systems
are mounted or not?  If not, are there other ways LVM can help move all data to the
new disks without having to unmount the file systems in use?  

Thanks,
Dave

--- David Brown <lvm@davidb.org> wrote:

> Edward Quillen wrote:
> > Redhat support is telling me (see quote below) that pvmove is not supported when
> there are mounted
> > filesystems on top of the lvs that are being moved. Can this be true? Everyother
> lvm that I have
> > worked with allows this. I am currently experiencing device mapper hangs when I
> run pvmove while
> > there are filesystems mounted even if there is no processes using the
> filesystems. 
> > Is this supposed to work? If so, has anyone had similar issues? Any help would
> be appreciated? 
> 
> Requiring an unmount of the filesystem would kind of defeat the purpose 
> of pvmove.  In that case, just create a new volume and dd the data across.
> 
> pvmove creates a mirror for each segment it is moving.  That way updates 
> will be written to both segments while the mirror is active.
> 
> I've done it numerous times, including moving very active filesystems 
> off of a flaky drive so that I could replace it.
> 
> Dave Brown
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

  reply	other threads:[~2006-11-13 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15 20:38 [linux-lvm] pvmove of lvs while filesystems mounted not supported?!? Edward Quillen
2006-08-15 20:45 ` David Brown
2006-11-13 13:47   ` Dave [this message]
2006-11-13 16:10     ` Jonathan E Brassow

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=902218.58339.qm@web51102.mail.yahoo.com \
    --to=davo_muc@yahoo.com \
    --cc=ed@quillen.net \
    --cc=linux-lvm@redhat.com \
    --cc=lvm@davidb.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.