All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Linda A. Walsh" <lvm@tlinx.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] pvmove: Physical Volume "/dev/sdc1" not found in Volume Group + minor bug
Date: Thu, 07 Aug 2014 12:06:04 -0700	[thread overview]
Message-ID: <53E3CE1C.4050506@tlinx.org> (raw)

I'm trying to move an LV from one VG on 1 PV to another VG on another PV,
but it doesn't seem to like my syntax. Isn't it: " -n LV FROMPV TOPV"

>  sudo pvmove -n Win /dev/sda1 /dev/sdc1
  Physical Volume "/dev/sdc1" not found in Volume Group "HnS"


Pertinent details:
>  lvs  #(From volume in HnS)
  LV                       VG      Attr      LSize  
  Sys                      HnS     -wc-a----  96.00g

>  pvs  #(from VG HnS on PV /dev/sda1, destination PV = /dev/sdc1
  PV         VG      Fmt  Attr PSize  PFree
  /dev/sda1  HnS     lvm2 a--  21.83t 10.20t
  /dev/sdc1  Data    lvm2 a--  43.66t 39.46t

----
Before I got to that point:
>  sudo pvmove -n Win /dev/sda1 /dev/sdc1
  Required device-mapper target(s) not detected in your kernel
(for some reason kernel module isn't auto-loaded???  (the minor bug..))
So:
>  sudo modprobe dm-mirror

-- Don't know if any other modules are needed?  I have:
>  ls -d  /sys/module/dm*
/sys/module/dm_bufio/  /sys/module/dm_mirror/  /sys/module/dm_region_hash/
/sys/module/dm_log/    /sys/module/dm_mod/     /sys/module/dm_snapshot/
---
Available (not loaded):
>  sudo modprobe dm-<COMPLETE>
dm-bio-prison       dm-raid             dm-zero
dm-persistent-data  dm-thin-pool

I'm assuming I only needed the dm-mirror so it could do the
mirroring?  What syntax should I be using?

Thanks!
       

             reply	other threads:[~2014-08-07 19:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-07 19:06 Linda A. Walsh [this message]
2014-08-07 19:23 ` [linux-lvm] pvmove: Physical Volume "/dev/sdc1" not found in Volume Group + minor bug emmanuel segura
2014-08-08 17:58   ` [linux-lvm] vgmerge: "your closed volumes are still active"...why? Linda A. Walsh
2014-08-08 18:20     ` emmanuel segura
2014-08-09 16:56       ` [linux-lvm] vgmerge & move... done, not bad Linda A. Walsh

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=53E3CE1C.4050506@tlinx.org \
    --to=lvm@tlinx.org \
    --cc=linux-lvm@redhat.com \
    /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.