[linux-lvm] pvmove errors

Zac Slade krakrjak at volumehost.net
Tue Jan 31 08:10:05 UTC 2006


On Tuesday 31 January 2006 01:17, Tom Lanyon wrote:
> I need to move all the data off of my external scsi array and remove it
> from my volume group.
> The external array is /dev/cciss/c1d0p0, so I issued a pvmove with the
Sounds straightforward.

> following results:
> >/sbin/sh-2.05b# pvscan
> >pvscan -- reading all physical volumes (this may take a while...)
> >pvscan -- ACTIVE    PV  "/dev/cciss/c1d0p1" of VG "Volume0" [99.99 GB /
> > 99.99 GB Free] pvscan -- ACTIVE    PV  "/dev/cciss/c0d0p2" of VG
> > "Volume0" [136.61 GB / 68.89 GB Free] pvscan -- total: 2 [236.62 GB] / in
> > use: 2 [236.62 GB] / in  no VG: 0 [0]
I don't see /dev/cciss/c1d0p0 in the pvscan output.  It does show 
that /dev/cciss/c1d0p1 is unused.  Also /dev/cciss/c0d0p2 is much larger than 
c1d0p1.
> >/sbin/sh-2.05b# pvmove /dev/cciss/c1d0p1
Is this what you mean?  pvmove will remove all extents used on the specified 
PV off of it.
> I've tried a --force but that didn't help.
I'm unclear about what device you are trying to reduce.......  A little more 
clarity please.

--
Zac Slade




More information about the linux-lvm mailing list