linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvmtab and lvmtab.d   disappeared.
@ 2001-01-18 15:18 doganello
  2001-01-19 12:42 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: doganello @ 2001-01-18 15:18 UTC (permalink / raw)
  To: linux-lvm

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

Hi there.
I use a Suse 6.4 (kernel 2.2.14-SUSE) with LVM since six months, with much pleasure.
I have only a Volume group, with 5 logical volumes.
Yesterday I decided to delete a logical volume and create a new one.
I went in single-user mode, made a  lvdelete,  then made a new logical volume with lvcreate, and create a new Reiser file system on it. After that, I came back in mode 3 and continuie to work. Everything war working fine.
Afer a normal shutdown, this morning my box couldn't access to the VG.
I Watched in the /etc directory, and there were no lvmtab and lvmtab.d

I run a vgscan -v, and I got these messages (this i s a summary):

ERROR - 132 volume group "vg1" is inconsistent
ERROR - unable to do a backup of volume group "vg1"
"etc/lvmtab" and "etc/lvmtab.d" were succesfully created.
But this was not true, there weren't any lvmtab in /etc.

I watched at your mailing list, to search for answers, but I find nothing .

Do you think is's possible to recover my VG and my partitions? 

I'm sending a "vgscan -d" log.

Saluti

Anchise.



--
TiscaliNet, libero accesso ad Internet.
http://www.tiscalinet.it

[-- Attachment #2: vgscan_Log --]
[-- Type: application/octet-stream, Size: 22068 bytes --]

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

* Re: [linux-lvm] lvmtab and lvmtab.d   disappeared.
  2001-01-18 15:18 [linux-lvm] lvmtab and lvmtab.d disappeared doganello
@ 2001-01-19 12:42 ` Heinz J. Mauelshagen
  2001-01-20  9:12   ` anchise governatori
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J. Mauelshagen @ 2001-01-19 12:42 UTC (permalink / raw)
  To: linux-lvm

Hi Doganello,

the error code 328 returned by vg_check_consistency() shows that you might
have more PVs in your system which claim to belong to volume group "vg1"
than there should be.

Please check with pvscan and report again.

Thanks,
Heinz

On Thu, Jan 18, 2001 at 04:18:49PM +0100, doganello wrote:
> Hi there.
> I use a Suse 6.4 (kernel 2.2.14-SUSE) with LVM since six months, with much pleasure.
> I have only a Volume group, with 5 logical volumes.
> Yesterday I decided to delete a logical volume and create a new one.
> I went in single-user mode, made a  lvdelete,  then made a new logical volume with lvcreate, and create a new Reiser file system on it. After that, I came back in mode 3 and continuie to work. Everything war working fine.
> Afer a normal shutdown, this morning my box couldn't access to the VG.
> I Watched in the /etc directory, and there were no lvmtab and lvmtab.d
> 
> I run a vgscan -v, and I got these messages (this i s a summary):
> 
> ERROR - 132 volume group "vg1" is inconsistent
> ERROR - unable to do a backup of volume group "vg1"
> "etc/lvmtab" and "etc/lvmtab.d" were succesfully created.
> But this was not true, there weren't any lvmtab in /etc.
> 
> I watched at your mailing list, to search for answers, but I find nothing .
> 
> Do you think is's possible to recover my VG and my partitions? 
> 
> I'm sending a "vgscan -d" log.
> 
> Saluti
> 
> Anchise.
> 
> 
> 
> --
> TiscaliNet, libero accesso ad Internet.
> http://www.tiscalinet.it



-- 

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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] lvmtab and lvmtab.d   disappeared.
  2001-01-19 12:42 ` Heinz J. Mauelshagen
@ 2001-01-20  9:12   ` anchise governatori
  0 siblings, 0 replies; 3+ messages in thread
From: anchise governatori @ 2001-01-20  9:12 UTC (permalink / raw)
  To: linux-lvm

Hi Heinz,

as you asked, I'm reporting the pvscan log.

Thanks.

Saluti,
Anchise.



Heinz J. Mauelshagen wrote:

 > Hi Doganello,
 >
 > the error code 328 returned by vg_check_consistency() shows that you 
might
 > have more PVs in your system which claim to belong to volume group "vg1"
 > than there should be.
 >
 > Please check with pvscan and report again.
 >
 > Thanks,
 > Heinz




lvm_get_iop_version -- CALLED
lvm_get_iop_version -- AFTER ioctl ret: 0
lvm_get_iop_version -- LEAVING with ret: 0
pvscan -- reading all physical volumes (this may take a while...)
pv_read_all_pv -- CALLED
pv_read_all_pv -- calling lvm_dir_cache
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_read_all_pv -- calling pv_read with "/dev/hdc"
pv_read -- CALLED with /dev/hdc
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hdc"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hdc
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hdc"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hdc
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 22:0
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hdc
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hdc1"
pv_read -- CALLED with /dev/hdc1
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hdc1"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hdc1
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hdc1"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hdc1
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 22:1
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hdc1
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hdd"
pv_read -- CALLED with /dev/hdd
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hdd"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hdd
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hdd"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hdd
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 22:64
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hdd
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hde"
pv_read -- CALLED with /dev/hde
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hde
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hde
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 33:0
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hde
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hde1"
pv_read -- CALLED with /dev/hde1
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde1"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hde1
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde1"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hde1
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 33:1
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hde1
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hde2"
pv_read -- CALLED with /dev/hde2
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde2"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hde2
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde2"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hde2
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 33:2
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hde2
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hde3"
pv_read -- CALLED with /dev/hde3
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde3"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hde3
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde3"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hde3
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 33:3
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hde3
pv_read -- LEAVING with ret: -259
pv_read_all_pv -- pv_read returned: -259
pv_read_all_pv -- calling pv_read with "/dev/hde4"
pv_read -- CALLED with /dev/hde4
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_flush -- CALLED to flush /dev/hde4
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_flush -- LEAVING with ret: 0
pv_read -- going to read /dev/hde4
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 33:4
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hde4
pv_read -- LEAVING with ret: 0
pv_get_size -- CALLED with /dev/hde4 and BFFFF63C
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_check_part -- CALLED with /dev/hde4
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_check_part -- LEAVING with 4
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_get_size -- BEFORE llseek 0:0
pv_get_size -- part[0].sys_ind: 83  part[0].nr_sects: 722862
pv_get_size -- first == 1
pv_get_size -- part[1].sys_ind: 82  part[1].nr_sects: 530145
pv_get_size -- first == 1
pv_get_size -- part[2].sys_ind: 6  part[2].nr_sects: 2056320
pv_get_size -- first == 1
pv_get_size -- part[3].sys_ind: 8E  part[3].nr_sects: 13189365
pv_get_size -- first == 1
pv_get_size -- part_i == part_i_tmp
pv_get_size -- LEAVING with ret: 13189365
pv_check_volume -- CALLED  dev_name: "/dev/hde4"  pv: 804D450
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_check_new -- CALLED
pv_check_new -- LEAVING with ret: 0
vg_check_name -- CALLED
vg_check_name -- vg_name: "vg1"
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
vg_check_name -- LEAVING with ret: 0
pv_check_volume -- LEAVING with ret: 1
pv_read_all_pv: allocating for /dev/hde4 vg1
pv_read_all_pv -- avoiding multiple entries in case of MD; np: 1
pv_read_all_pv -- LEAVING with ret: 0
pv_read -- CALLED with /dev/hde4
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_read -- going to read /dev/hde4
pv_copy_from_disk -- CALLED
pv_copy_from_disk -- LEAVING
pv_create_name_from_kdev_t -- CALLED with 33:4
lvm_dir_cache -- CALLED
lvm_dir_cache -- LEAVING with cache_size: 8
pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/hde4
pv_read -- LEAVING with ret: 0
pv_check_new -- CALLED
pv_check_new -- LEAVING with ret: 0
pvscan -- pv_check_active -- CALLED
vg_check_name -- CALLED
vg_check_name -- vg_name: "vg1"
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
vg_check_name -- LEAVING with ret: 0
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_status -- CALLED
vg_check_name -- CALLED
vg_check_name -- vg_name: "vg1"
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
vg_check_name -- LEAVING with ret: 0
pv_check_name -- CALLED
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
pv_check_name -- CALLED  pv_name: "/dev/hde4"
pv_check_name -- LEAVING with ret: 0
pv_status -- LEAVING with ret: -6
inactive pv_check_new -- CALLED
pv_check_new -- LEAVING with ret: 0
lvm_tab_vg_check_exist -- CALLED with vg_name: "vg1"
vg_check_name -- CALLED
vg_check_name -- vg_name: "vg1"
lvm_check_chars -- CALLED
lvm_check_chars -- LEAVING
vg_check_name -- LEAVING with ret: 0
lvm_tab_read -- CALLED
lvm_tab_read -- LEAVING with ret: 0  data: 804B400  size: 1
lvm_tab_vg_check_exist -- LEAVING with ret: 0
PV "/dev/hde4"  is associated to an unknown VG (run vgscan)
pvscan -- total: 1 [6.29 GB] / in use: 1 [6.29 GB] / in no VG: 0 [0]

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

end of thread, other threads:[~2001-01-20  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-18 15:18 [linux-lvm] lvmtab and lvmtab.d disappeared doganello
2001-01-19 12:42 ` Heinz J. Mauelshagen
2001-01-20  9:12   ` anchise governatori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).