[linux-lvm] vgexport/vgimport fails

Richard Ray rray at mstc.state.ms.us
Mon Aug 1 17:53:05 UTC 2005


On Mon, 1 Aug 2005, Alasdair G Kergon wrote:

> Run vgscan -vvvv and look for the reason it
> gives for ignoring the disks.

..
#device/dev-io.c:250       /dev/hdg: size is 490234752 sectors
#device/dev-io.c:134         /dev/hdg: block size is 4096 bytes
#filters/filter.c:109         /dev/hdg: Skipping: Partition table 
signature found
#device/dev-io.c:408         Closed /dev/hdg
..
#device/dev-io.c:377         Opened /dev/hdh RO
#device/dev-io.c:250       /dev/hdh: size is 488397168 sectors
#device/dev-io.c:134         /dev/hdh: block size is 4096 bytes
#filters/filter.c:109         /dev/hdh: Skipping: Partition table 
signature found
#device/dev-io.c:408         Closed /dev/hdh

I used these two drives seperately prior to adding them to a volume group
When I pvcreated them I used the whole disk not partitions
If I fdisk /dev/hdg I see there is still a partition but in Fedora 2 
vgscan -v shows

     Finding all volume groups
     Finding volume group "vg00"
   --- Volume group ---
   VG Name               vg00
   System ID
   Format                lvm2
   Metadata Areas        2
   Metadata Sequence No  12
   VG Access             read/write
   VG Status             resizable
   MAX LV                255
   Cur LV                1
   Open LV               1
   Max PV                255
   Cur PV                2
   Act PV                2
   VG Size               466.64 GB
   PE Size               4.00 MB
   Total PE              119461
   Alloc PE / Size       119460 / 466.64 GB
   Free  PE / Size       1 / 4.00 MB
   VG UUID               niUNqx-iivo-V5J6-2M1o-yzNv-Jh1S-mQCxtn

   --- Logical volume ---
   LV Name                /dev/vg00/lvol0
   VG Name                vg00
   LV UUID                wWDoA5-AsMp-JDX0-4GAS-1PvM-9y6P-nb1Gve
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                466.64 GB
   Current LE             119460
   Segments               2
   Allocation             next free (default)
   Read ahead sectors     0
   Block device           253:0

   --- Physical volumes ---
   PV Name               /dev/hdg
   PV UUID               CnAXVt-EufA-th1V-c16y-FCPB-s4qN-jicISO
   PV Status             allocatable
   Total PE / Free PE    59843 / 0

   PV Name               /dev/hdh
   PV UUID               7KH5ls-3YAS-d4VZ-MIrD-1V6d-JQO4-tJtTsx
   PV Status             allocatable
   Total PE / Free PE    59618 / 1

In Fedora 2 I have lvm2-2.00.15-2 package
In Fedora 4 I have lvm2-2.01.08-2.1 package

How do I get rid of the partiton without losing data
I don't have a backup

Richard

>
> Alasdair
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>




More information about the linux-lvm mailing list