pvmove: Physical Volume "/dev/sdc1" not found in Volume Group + minor bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
_______________________________________________
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/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux