All of lore.kernel.org
 help / color / mirror / Atom feed
From: "dld.pascal.garcia" <dld.pascal.garcia@wanadoo.fr>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Help : vg not accessible
Date: Sun Mar  7 04:03:01 2004	[thread overview]
Message-ID: <661652.1078648430988.JavaMail.www@wwinf0303> (raw)

Hello, 
It seems that diskdrake uses a pvcreate to add the pv in the vg. 
After I made a lvextend on the lv mounted as / of 500Mb and a 
rizerfsresize. 
This was working fine. The problem occured after reboot. 
 
I did not run lilo to recreate the Master boot sector and may be it is 
one 
problem as / in a lv. 
 
I tried the recue disk, but Mandrake did not include the lvmtools, so I 
tried a 
new installation. The installation process told me that there was illegal 
division by 0 when acessing the information of the vg. So i did not 
change 
anything an stopped the installation, (switch off the pc because there is 
no 
sofware abort possible without change of the disk data at this stage of 
the 
installation). 
 
As I had no solution on the portable, I took the disk out of my portable, 
and 
put it as primary (so the disk is hda as in the portable) in a fixed 
machine  
(special cables available), I added a second disk as slave and installed 
the  
distribution on the second disk. Then the MSB has been replaced. 
That is really a problem because now I can not even start booting on the 
portable 
disk. 
 
 
All the tools are now available, diskdrake told me that the partition I 
finally  
added was not in the vg. So I added the partition. It was an error I 
completly  
realize it now. 
An error has been repported on pvcreate, but mainly it has been done, but 
the data  
in /etc has not been created. 
 
whith pvdata now I can see that I have 2 pvs with number one. The 
orgiginal 
first and the volume i finally added. 
 
pvremove reports an error, and does nothing. 
 
vgscan does nothing on rootvg as it is inconsistant. Anyway the system do 
not know 
the vg, /dev/rootvg/[12] do not exist. 
 
I think I should first, by patching the data by hand, either remove the 
last pv I  
added, or make it as beeing the 3rd pv of the vg. What ever I have to 
patch, I have 
to make the data on the 3 pv consistant. 
After I may have to mknod few things to have the/dev/rootvg/[12] device 
available. I hope a vgscan will be able recretate the data /etc/lvmconf 
and that the  
data will then be available. 
I will then backup the data, put the disk back in the portable and 
reinstall  
everything. 
 
Is there any hope such a process would work, and what to patch, where can 
I find a 
description of the data structure ? 
 
I am preparing a mail whith pvdata results ... 
 
Pascal Garcia 
 

             reply	other threads:[~2004-03-07  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-07  4:03 dld.pascal.garcia [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-06 18:44 [linux-lvm] Help : vg not accessible dld.pascal.garcia
2004-03-06 23:42 ` Tom Hollins

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=661652.1078648430988.JavaMail.www@wwinf0303 \
    --to=dld.pascal.garcia@wanadoo.fr \
    --cc=linux-lvm@redhat.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 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.