I am trying to extend an existing lvm and it is failing. I seem to be getting conflicting info on the status of things -
pvcreate -v /dev/dasdk1 pvcreate -- locking logical volume manager pvcreate -- checking physical volume name "/dev/dasdk1" pvcreate -- getting physical volume size pvcreate -- checking maximum physical volume size pvcreate -- checking partition type pvcreate -- checking volume group name pvcreate -- creating new physical volume pvcreate -- setting up physical volume for /dev/dasdk1 with 4806696 sectors pvcreate -- writing physical volume data to disk "/dev/dasdk1" pvcreate -- physical volume "/dev/dasdk1" successfully created pvcreate -- unlocking logical volume manager pvdisplay -v /dev/dasdk1 pvdisplay -- "/dev/dasdk1" is a new physical volume of 2.29 GB vgextend -v volgrp1 /dev/dasdk1 vgextend -- locking logical volume manager vgextend -- checking volume group name "volgrp1" vgextend -- checking volume group "volgrp1" existence vgextend -- checking for inactivity of volume group vgextend -- reading data of volume group "volgrp1" from lvmtab vgextend -- INFO: maximum logical volume size is 255.99 Gigabyte vgextend -- reading data for all physical volumes from disk(s) vgextend -- extending VGDA structures of volume group "volgrp1" vgextend -- ERROR: no physical volumes usable to extend volume group "volgrp1" /sbin/vgcreate -v volgrp2 /dev/dasdk1 vgcreate -- checking volume group name vgcreate -- checking volume group directory existence vgcreate -- locking logical volume manager vgcreate -- checking volume group "volgrp2" existence vgcreate -- counting all existing volume groups vgcreate -- reading all physical volume data from disks vgcreate -- checking if all given physical volumes in command line are new vgcreate -- checking physical volumes name "/dev/dasdk1" vgcreate -- checking physical volume "/dev/dasdk1" vgcreate -- size of physical volume "/dev/dasdk1" is 4806696 sectors vgcreate -- checking for new physical volume "/dev/dasdk1" vgcreate -- "/dev/dasdk1" is not a new physical volume vgcreate -- checking volume group name of physical volume "/dev/dasdk1" vgcreate -- physical volume "/dev/dasdk1" already belongs to volume group "volgrp1" vgreduce -v volgrp1 /dev/dasdk1 vgreduce -- locking logical volume manager vgreduce -- checking volume group name "volgrp1" vgreduce -- checking volume group "volgrp1" existence vgreduce -- checking volume group "volgrp1" activity vgreduce -- reading data of volume group "volgrp1" from disk(s) vgreduce -- reducing VGDA structures of volume group "volgrp1" vgreduce -- physical volume "/dev/dasdk1" doesn't belong to volume group "volgrp1" vgdisplay -v volgrp1 --- Volume group --- VG Name volgrp1 VG Access read/write VG Status available/resizable VG # 0 MAX LV 256 Cur LV 1 Open LV 0 MAX LV Size 255.99 GB Max PV 256 Cur PV 8 Act PV 8 VG Size 18.28 GB PE Size 4 MB Total PE 4680 Alloc PE / Size 4680 / 18.28 GB Free PE / Size 0 / 0 VG UUID lYy109-vv0i-7DnP-l99H-1wuz-cSwk-45JUfC --- Logical volume --- LV Name /dev/volgrp1/lvol1 VG Name volgrp1 LV Write Access read/write LV Status available LV # 1 # open 0 LV Size 18.28 GB Current LE 4680 Allocated LE 4680 Allocation next free Read ahead sectors 1024 Block device 58:0 --- Physical volumes --- PV Name (#) /dev/dasdc1 (1) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasdd1 (2) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasde1 (3) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasdf1 (4) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasdg1 (5) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasdh1 (6) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasdi1 (7) PV Status available / allocatable Total PE / Free PE 585 / 0 PV Name (#) /dev/dasdj1 (8) PV Status available / allocatable Total PE / Free PE 585 / 0 Regards, Sandeep Batta Host System Services, Phone : 919-224-1282 email : [EMAIL PROTECTED] ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
