[linux-lvm] PVscan Question.

Heinz J . Mauelshagen mauelshagen at sistina.com
Thu Nov 7 11:16:01 UTC 2002


Ivan,

the output of pvscan is strange already, because it shows /dev/hdg _and_
/dev/hdg1 as PVs both at the same time which is impossible (same for hdc).

Partition tables seem to be messy on those devices.

What does "fdisk -l /dev/hd[cg]" show?

Regards,
Heinz    -- The LVM Guy --



On Wed, Nov 06, 2002 at 11:44:38PM +0200, Ivan Uzunov wrote:
> 
> 	Hi :)
> 
> 	I have small and may be stupid questions, I run LVM 1.0.6 with
> kernel 2.4.19 onto redhat system. The LVM is running but when i run
> pvdisplay command onto one of the HDD into LVM output is :
> 
> PV Name               /dev/hdc1
> VG Name               home
> PV Size               76.69 GB [160836417 secs] / NOT usable 16.18 MB
> [LVM: 143
> KB]
> PV#                   3
> PV Status             NOT available
> 			^^^^^^^^^^^
> 
> What's this mean ?
> 
> I have 6 HDD in this LVM and
> HDD : /dev/hda7 /dev/hdc1 /dev/hde1 /dev/hdh1 has this status ; other for
> example /dev/hdb1 is :
> PV Status             available
> 		       ^^^^^^^^^
> 
> 
> 	And second when i run pvscan program i see this :
> 
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/hdg"  is in no VG  [8.01 GB]
> pvscan -- ACTIVE   PV "/dev/hdg1" of VG "home" [76.67 GB / 0 free]
> pvscan -- ACTIVE   PV "/dev/hdh1" of VG "home" [114.47 GB / 0 free]
> pvscan -- ACTIVE   PV "/dev/hde1" of VG "home" [76.67 GB / 0 free]
> pvscan -- inactive PV "/dev/hdc"  is in no VG  [8.01 GB]
> pvscan -- ACTIVE   PV "/dev/hdc1" of VG "home" [76.67 GB / 0 free]
> pvscan -- ACTIVE   PV "/dev/hda7" of VG "home" [60 GB / 0 free]
> pvscan -- ACTIVE   PV "/dev/hdb1" of VG "home" [114.47 GB / 0 free]
> pvscan -- total: 8 [535.10 GB] / in use: 6 [519.09 GB] / in no VG: 2
> [16.01 GB]
> 
> 	Where this 16Gigs goes ? 8 onto /dev/hdg and 8 onto /dev/hdc
> Can i extend LVM volume and use this Gigs without destroying data onto LVM
> ?
> 
> Thank You.
> 
> 
> 						WWell : Ivan Uzunov
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list