[linux-lvm] What command do I use to make a PV active?

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Jul 4 06:50:02 UTC 2003


On Thu, Jul 03, 2003 at 01:05:43PM -0400, Greg Freemyer wrote:
>  
> Somehow I inactived a PV

Hmm, there's no direct (in)activation of PVs.
A bit strange, that both are in diffrent states (they should be either inactive
in case the VG is or both active in case the VG got activated).

> 
> # pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/sda3" of VG "TruStore-Data" [53.63 GB / 48.63 GB free]
> pvscan -- ACTIVE   PV "/dev/sdb1" of VG "TruStore-Data" [74.54 GB / 13.54 GB free]
> pvscan -- total: 2 [128.19 GB] / in use: 2 [128.19 GB] / in no VG: 0 [0]
> 
> What command do I use to make it active?

If the VG "TruStore-Data" is inactive, "vgchange -ay TruStore-Data" should turn
/dev/sda3 active as well.

Is "TruStore-Data" accessable fine (LVs ok) ?

> 
> Thanks
> Greg
> -- 
> Greg Freemyer
> 
> _______________________________________________
> 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/

-- 

Regards,
Heinz    -- The LVM Guy --

*** 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