From: Greg Freemyer <freemyer-ml@NorcrossGroup.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] What command do I use to make a PV active?
Date: Mon Jul 7 10:29:01 2003 [thread overview]
Message-ID: <1057592224.10033.30.camel@david.internal.NorcrossGroup.com> (raw)
In-Reply-To: <20030704134905.A28295@sistina.com>
On Fri, 2003-07-04 at 07:49, Heinz J . Mauelshagen wrote:
> 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).
This is a lab/test machine. I have a couple of others that have a
similar LVM layout, and all of them have hot-swap drives. I likely
moved a drive around at the wrong time.
>
> >
> > # 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.
It is already active, and I just tried a reboot. sda3 is still
inactive.
>
> Is "TruStore-Data" accessable fine (LVs ok) ?
I have 3 LVs on sdb1, they are working fine.
I have a copy of my Linux Distro CDs and spare space for sdb1 snapshots
on sda3. They are not working.
Obviously I can recreated the CD copies, but I prefer not to do this.
Is there something else I can try?
FYI: None of this data is very important, so I won't complain too loud
if you ask me to do something and it ends up blowing everything away.
Thanks
Greg
--
Greg Freemyer
next prev parent reply other threads:[~2003-07-07 10:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-03 11:58 [linux-lvm] What command do I use to make a PV active? Greg Freemyer
2003-07-04 6:50 ` Heinz J . Mauelshagen
2003-07-07 10:29 ` Greg Freemyer [this message]
2003-07-07 12:32 ` Heinz J . Mauelshagen
2003-07-07 16:42 ` Greg Freemyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1057592224.10033.30.camel@david.internal.NorcrossGroup.com \
--to=freemyer-ml@norcrossgroup.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox