* [linux-lvm] LVM2 not function
@ 2003-12-18 7:59 Li Yang-r58472
2003-12-18 19:37 ` more
2003-12-19 8:17 ` Neerav
0 siblings, 2 replies; 4+ messages in thread
From: Li Yang-r58472 @ 2003-12-18 7:59 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
Hi,
I used LVM come with Redhat9 on my desktop computer. Recent days I want to upgrade my kernel to 2.6.0-test11 which needs LVM2 to work with the device-mapper. To be more up to date, I also recreated the lvs to use lvm2 metadata. But when I rebooted the computer, new created lv can't mount. It said it's not a valid block device. So I check the status with "lvm lvscan", it showed that these lv turned to be inactive. So I removed and recreated these lv. Right after creation, these lvs were ACTIVE and mountable, but after reboot, they became inactive and unusable again. Does anyone have clue?
--
Leo Li
Software Engineer
Metrowerks -- a Motorola company
Office: +8610-65642272
LeoLi@motorola.com
[-- Attachment #2: Type: text/html, Size: 3366 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LVM2 not function
2003-12-18 7:59 [linux-lvm] LVM2 not function Li Yang-r58472
@ 2003-12-18 19:37 ` more
2003-12-19 8:17 ` Neerav
1 sibling, 0 replies; 4+ messages in thread
From: more @ 2003-12-18 19:37 UTC (permalink / raw)
To: linux-lvm
Li Yang,
You should run "vgchange -ay" to active all the LVs.
Li Yang-r58472 wrote:
> Hi,
>
>
>
> I used LVM come with Redhat9 on my desktop computer. Recent days I
> want to upgrade my kernel to 2.6.0-test11 which needs LVM2 to work
> with the device-mapper. To be more up to date, I also recreated the
> lvs to use lvm2 metadata. But when I rebooted the computer, new
> created lv can't mount. It said it's not a valid block device. So I
> check the status with "lvm lvscan", it showed that these lv turned to
> be inactive. So I removed and recreated these lv. Right after
> creation, these lvs were ACTIVE and mountable, but after reboot, they
> became inactive and unusable again. Does anyone have clue?
>
>
>
> --
>
> Leo Li
>
> Software Engineer
>
> Metrowerks -- a Motorola company
>
>
>
> Office: +8610-65642272
>
> LeoLi@motorola.com
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LVM2 not function
2003-12-18 7:59 [linux-lvm] LVM2 not function Li Yang-r58472
2003-12-18 19:37 ` more
@ 2003-12-19 8:17 ` Neerav
2003-12-19 12:14 ` Ken Fuchs
1 sibling, 1 reply; 4+ messages in thread
From: Neerav @ 2003-12-19 8:17 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
Hi Leo Li,
Please run "vgscan -ay" as this command will activate
all the VGs and hence the LVs in your system.
Also, check if this command is present in your
/etc/rc.sysinit boot script, so that your VGs and LVs
are available for auto mount after reboot.
Regards,
Neerav
----- Original Message -----
From: Li Yang-r58472
To: 'linux-lvm@sistina.com'
Sent: Thursday, December 18, 2003 12:47 PM
Subject: [linux-lvm] LVM2 not function
Hi,
I used LVM come with Redhat9 on my desktop computer. Recent days I want to upgrade my kernel to 2.6.0-test11 which needs LVM2 to work with the device-mapper. To be more up to date, I also recreated the lvs to use lvm2 metadata. But when I rebooted the computer, new created lv can't mount. It said it's not a valid block device. So I check the status with "lvm lvscan", it showed that these lv turned to be inactive. So I removed and recreated these lv. Right after creation, these lvs were ACTIVE and mountable, but after reboot, they became inactive and unusable again. Does anyone have clue?
--
Leo Li
Software Engineer
Metrowerks -- a Motorola company
Office: +8610-65642272
LeoLi@motorola.com
[-- Attachment #2: Type: text/html, Size: 5114 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LVM2 not function
2003-12-19 8:17 ` Neerav
@ 2003-12-19 12:14 ` Ken Fuchs
0 siblings, 0 replies; 4+ messages in thread
From: Ken Fuchs @ 2003-12-19 12:14 UTC (permalink / raw)
To: linux-lvm
>Please run "vgscan -ay" as this command will activate
>all the VGs and hence the LVs in your system.
The correct sequence of commands is:
vgscan
vgchange -a y
>> I used LVM come with Redhat9 on my desktop computer. Recent days I
>>want to upgrade my kernel to 2.6.0-test11 which needs LVM2 to work with
>>the device-mapper. To be more up to date, I also recreated the lvs to
>>use lvm2 metadata. But when I rebooted the computer, new created lv
>>can't mount. It said it's not a valid block device. So I check the
>>status with "lvm lvscan", it showed that these lv turned to be inactive.
>> So I removed and recreated these lv. Right after creation, these lvs
>>were ACTIVE and mountable, but after reboot, they became inactive and
>>unusable again. Does anyone have clue?
Sincerely,
Ken Fuchs <kfuchs@winternet.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-19 12:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18 7:59 [linux-lvm] LVM2 not function Li Yang-r58472
2003-12-18 19:37 ` more
2003-12-19 8:17 ` Neerav
2003-12-19 12:14 ` Ken Fuchs
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.