Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] re-patition problem
       [not found] <3C4690E7.000029.23123@smtp2>
@ 2002-04-01  7:37 ` netxiong
  2002-04-03  5:49 ` [linux-lvm] why I can't find lvm VG after reboot netxiong
  2002-04-06  2:09 ` [linux-lvm] It doesn't work netxiong
  2 siblings, 0 replies; 5+ messages in thread
From: netxiong @ 2002-04-01  7:37 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

I encounter a problem,I make a lvm VG on /dev/hda7,but after a re-patition,/dev/hda7 
becomes /dev/hda6, my lvm doesn't work,how can I get back my lvm VG????,I think I 
didn't touch the data stored on previous /dev/hda7.I don't know if my data on the VG can be retrieved??

[-- Attachment #2: Type: text/html, Size: 571 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-lvm] why I can't find lvm VG after reboot
       [not found] <3C4690E7.000029.23123@smtp2>
  2002-04-01  7:37 ` [linux-lvm] re-patition problem netxiong
@ 2002-04-03  5:49 ` netxiong
  2002-04-03  6:38   ` Ben Lutgens
  2002-04-03  6:53   ` James Hawtin
  2002-04-06  2:09 ` [linux-lvm] It doesn't work netxiong
  2 siblings, 2 replies; 5+ messages in thread
From: netxiong @ 2002-04-03  5:49 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

I have setup a VG on a softraid system consist of 3 disks,I name the VG as lvmraid and make a ext2 file system on it,It can be mounted to a dirctory and work well,but after I reboot the system,I can't find the VG,the proc system also doesn't show it and I can't use vgremove to remove it.
what is wrong with it,helllllllllllllllllllllp!!!this has troubled me for two days


[-- Attachment #2: Type: text/html, Size: 730 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] why I can't find lvm VG after reboot
  2002-04-03  5:49 ` [linux-lvm] why I can't find lvm VG after reboot netxiong
@ 2002-04-03  6:38   ` Ben Lutgens
  2002-04-03  6:53   ` James Hawtin
  1 sibling, 0 replies; 5+ messages in thread
From: Ben Lutgens @ 2002-04-03  6:38 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

On Tue, Apr 03, 2001 at 07:52:24PM +0800, netxiong wrote:
>I have setup a VG on a softraid system consist of 3 disks,I name the VG as lvmraid and make a ext2 file system on it,It can be mounted to a dirctory and work well,but after I reboot the system,I can't find the VG,the proc system also doesn't show it and I can't use vgremove to remove it.
>what is wrong with it,helllllllllllllllllllllp!!!this has troubled me for two days
>

is there a "vgchange -ay" somewhere in your init procedure?
is LVM a module or is it compiled staticly into the kernel?

http://www.sistina.com/lvm_howtos/lvm_howto/
Look at section 7.5

-- 
Ben Lutgens		http://people.sistina.com/~blutgens/	
Sistina Software Inc.
 (mail -s "get -info" blutgens-info@sistina.com) for my gpg key, IM info
etc.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] why I can't find lvm VG after reboot
  2002-04-03  5:49 ` [linux-lvm] why I can't find lvm VG after reboot netxiong
  2002-04-03  6:38   ` Ben Lutgens
@ 2002-04-03  6:53   ` James Hawtin
  1 sibling, 0 replies; 5+ messages in thread
From: James Hawtin @ 2002-04-03  6:53 UTC (permalink / raw)
  To: linux-lvm


On Tue, 3 Apr 2001, netxiong wrote:

> I have setup a VG on a softraid system consist of 3 disks,I name the VG as lvmraid and make a ext2 file system on it,It can be mounted to a dirctory and work well,but after I reboot the system,I can't find the VG,the proc system also doesn't show it and I can't use vgremove to remove it.
> what is wrong with it,helllllllllllllllllllllp!!!this has troubled me for two days
>
>

Are the following two lines in your rc.sysinit?

Do that after you activate your raid.

# activating volume manager
vgscan
vgchange -a y

When you shutdown you must....

vgchange -a n

do that just before
mount -n -o remount,ro /

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-lvm] It doesn't work
       [not found] <3C4690E7.000029.23123@smtp2>
  2002-04-01  7:37 ` [linux-lvm] re-patition problem netxiong
  2002-04-03  5:49 ` [linux-lvm] why I can't find lvm VG after reboot netxiong
@ 2002-04-06  2:09 ` netxiong
  2 siblings, 0 replies; 5+ messages in thread
From: netxiong @ 2002-04-06  2:09 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

At 02-4-3 12:51:00 you wrote:
>On Tue, 3 Apr 2001, netxiong wrote:
>
>> I have setup a VG on a softraid system consist of 3 disks,I name the VG as lvmraid and make a ext2 file system on it,It can be mounted to a dirctory and work well,but after I reboot the system,I can't find the VG,the proc system also doesn't show it and I can't use vgremove to remove it.
>> what is wrong with it,helllllllllllllllllllllp!!!this has troubled me for two days
>>
>>
>
>Are the following two lines in your rc.sysinit?
>
>Do that after you activate your raid.
>
># activating volume manager
>vgscan
>vgchange -a y
>
>When you shutdown you must....
>
>vgchange -a n
>
>do that just before
>mount -n -o remount,ro /
>

think for your reply,I have added those commands in rc.sysinit,but it still doesn't work.
vgscan cann't find the volume set up on softraid partitions.



[-- Attachment #2: Type: text/html, Size: 1440 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-06  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3C4690E7.000029.23123@smtp2>
2002-04-01  7:37 ` [linux-lvm] re-patition problem netxiong
2002-04-03  5:49 ` [linux-lvm] why I can't find lvm VG after reboot netxiong
2002-04-03  6:38   ` Ben Lutgens
2002-04-03  6:53   ` James Hawtin
2002-04-06  2:09 ` [linux-lvm] It doesn't work netxiong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox