* [linux-lvm] vgscan errors with 1.0.3
@ 2002-03-05 13:25 Anand Kumria
2002-03-06 4:01 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 6+ messages in thread
From: Anand Kumria @ 2002-03-05 13:25 UTC (permalink / raw)
To: linux-lvm
Hi there,
I recently add a metadevice to my existing LVM setup. Basically I
copied the data (use tar) from one LV to another and removed the
original LV (and associated PV).
A few reboots later (where things were working) and I decided to
do an lvrename. Upon rebooting vgscan complains that it "can't
get data of volume group 'caliban' from physical volumes".
This is somewhat disturbing.
I have checked the archives and have also attached an lvmdiskscan
and confirmed I have some free space in / (only 2.4M, but still).
I would have attached the output from 'pvdata -a /dev/md0' and
'vgscan -d -d' however they are large files, instead I've made it
available at <URL: http://www.progsoc.org/~wildfire/lvm/> along
with my other files.
I am using Linux 2.4.16 and LVM tools 1.0.3 (all the work was done
using this version of the tools). Here is some of the output:
Script started on Wed Mar 6 05:31:49 2002
(none):~# cat /proc/sys/kernel/tainted
0
(none):~# uname -a
Linux (none) 2.4.16 #4 SMP Tue Feb 26 00:15:49 EST 2002 i686 unknown
(none):~# pvscan --version
pvscan: Logical Volume Manager 1.0.3
Heinz Mauelshagen, Sistina Software 19/02/2002 (IOP 10)
(none):~# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/md0" is associated to unknown VG "caliban" (run vgscan)
pvscan -- WARNING: physical volume "/dev/hdg" belongs to a meta device
pvscan -- WARNING: physical volume "/dev/hde" belongs to a meta device
pvscan -- total: 3 [111.80 GB] / in use: 3 [111.80 GB] / in no VG: 0 [0]
(none):~# vgscan --version
vgscan: unrecognized option `--version'
Logical Volume Manager 1.0.3
Heinz Mauelshagen, Sistina Software 19/02/2002 (IOP 10)
vgscan -- scan for available volume groups for use by LVM
vgscan [-d|--debug]
[-f/--force_numbers]
[-h/--help]
[-r/--remove_snapshots [VgNameToRemoveSnapshotsFrom]]
[-v/--verbose]
(none):~# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "caliban" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group
(none):~# pvdisplay /dev/md0
--- Physical volume ---
PV Name /dev/md0
VG Name caliban
PV Size 111.80 GB [234462464 secs] / NOT usable 3.62 MB [LVM: 232 KB]
PV# 4
PV Status available
Allocatable yes
Cur LV 2
PE Size (KByte) 4096
Total PE 28620
Free PE 9576
Allocated PE 19044
PV UUID Wmmzbe-bxjy-auNC-ViiX-mQfW-4srb-Y3kMFy
(none):~# lvmdiskscan
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/md0 [ 111.80 GB] free meta device
lvmdiskscan -- /dev/hdg [ 55.90 GB] free whole disk
lvmdiskscan -- /dev/hde [ 55.90 GB] free whole disk
lvmdiskscan -- /dev/hdf [ 55.90 GB] free whole disk
lvmdiskscan -- /dev/hda1 [ 1.91 GB] Primary LINUX native partition [0x83]
lvmdiskscan -- /dev/hda2 [ 122.06 MB] Primary [0x82]
lvmdiskscan -- /dev/hda3 [ 5.72 GB] Primary LINUX native partition [0x83]
lvmdiskscan -- /dev/hda4 [ 4.38 GB] Primary LINUX native partition [0x83]
lvmdiskscan -- 4 disks
lvmdiskscan -- 3 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 1 multiple device
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 4 partitions
lvmdiskscan -- 0 LVM physical volume partitions
(none):~# exit
Script done on Wed Mar 6 05:32:39 2002
What concerns me about this output is that it thinks that /dev/md0 is *free*
whereas pvdisplay knows it is not. If you have any suggestions, please let
me know.
Thanks,
Anand
--
`` We are shaped by our thoughts, we become what we think.
When the mind is pure, joy follows like a shadow that never
leaves. '' -- Buddha, The Dhammapada
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] vgscan errors with 1.0.3
2002-03-05 13:25 [linux-lvm] vgscan errors with 1.0.3 Anand Kumria
@ 2002-03-06 4:01 ` Heinz J . Mauelshagen
2002-03-06 4:30 ` Anand Kumria
0 siblings, 1 reply; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2002-03-06 4:01 UTC (permalink / raw)
To: linux-lvm
http://www.progsoc.org/~wildfire/lvm/
Access to the requested resource is denied.
Please tell us, when it is accessable.
Regards,
Heinz -- The LVM Guy --
On Wed, Mar 06, 2002 at 06:23:55AM +1100, Anand Kumria wrote:
> Hi there,
>
> I recently add a metadevice to my existing LVM setup. Basically I
> copied the data (use tar) from one LV to another and removed the
> original LV (and associated PV).
>
> A few reboots later (where things were working) and I decided to
> do an lvrename. Upon rebooting vgscan complains that it "can't
> get data of volume group 'caliban' from physical volumes".
>
> This is somewhat disturbing.
>
> I have checked the archives and have also attached an lvmdiskscan
> and confirmed I have some free space in / (only 2.4M, but still).
>
> I would have attached the output from 'pvdata -a /dev/md0' and
> 'vgscan -d -d' however they are large files, instead I've made it
> available at <URL: http://www.progsoc.org/~wildfire/lvm/> along
> with my other files.
>
> I am using Linux 2.4.16 and LVM tools 1.0.3 (all the work was done
> using this version of the tools). Here is some of the output:
>
> Script started on Wed Mar 6 05:31:49 2002
> (none):~# cat /proc/sys/kernel/tainted
> 0
> (none):~# uname -a
> Linux (none) 2.4.16 #4 SMP Tue Feb 26 00:15:49 EST 2002 i686 unknown
> (none):~# pvscan --version
> pvscan: Logical Volume Manager 1.0.3
> Heinz Mauelshagen, Sistina Software 19/02/2002 (IOP 10)
> (none):~# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/md0" is associated to unknown VG "caliban" (run vgscan)
> pvscan -- WARNING: physical volume "/dev/hdg" belongs to a meta device
> pvscan -- WARNING: physical volume "/dev/hde" belongs to a meta device
> pvscan -- total: 3 [111.80 GB] / in use: 3 [111.80 GB] / in no VG: 0 [0]
>
> (none):~# vgscan --version
> vgscan: unrecognized option `--version'
> Logical Volume Manager 1.0.3
> Heinz Mauelshagen, Sistina Software 19/02/2002 (IOP 10)
>
> vgscan -- scan for available volume groups for use by LVM
>
> vgscan [-d|--debug]
> [-f/--force_numbers]
> [-h/--help]
> [-r/--remove_snapshots [VgNameToRemoveSnapshotsFrom]]
> [-v/--verbose]
>
> (none):~# vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "caliban" from physical volume(s)
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume group
>
> (none):~# pvdisplay /dev/md0
> --- Physical volume ---
> PV Name /dev/md0
> VG Name caliban
> PV Size 111.80 GB [234462464 secs] / NOT usable 3.62 MB [LVM: 232 KB]
> PV# 4
> PV Status available
> Allocatable yes
> Cur LV 2
> PE Size (KByte) 4096
> Total PE 28620
> Free PE 9576
> Allocated PE 19044
> PV UUID Wmmzbe-bxjy-auNC-ViiX-mQfW-4srb-Y3kMFy
>
> (none):~# lvmdiskscan
> lvmdiskscan -- reading all disks / partitions (this may take a while...)
> lvmdiskscan -- /dev/md0 [ 111.80 GB] free meta device
> lvmdiskscan -- /dev/hdg [ 55.90 GB] free whole disk
> lvmdiskscan -- /dev/hde [ 55.90 GB] free whole disk
> lvmdiskscan -- /dev/hdf [ 55.90 GB] free whole disk
> lvmdiskscan -- /dev/hda1 [ 1.91 GB] Primary LINUX native partition [0x83]
> lvmdiskscan -- /dev/hda2 [ 122.06 MB] Primary [0x82]
> lvmdiskscan -- /dev/hda3 [ 5.72 GB] Primary LINUX native partition [0x83]
> lvmdiskscan -- /dev/hda4 [ 4.38 GB] Primary LINUX native partition [0x83]
> lvmdiskscan -- 4 disks
> lvmdiskscan -- 3 whole disks
> lvmdiskscan -- 0 loop devices
> lvmdiskscan -- 1 multiple device
> lvmdiskscan -- 0 network block devices
> lvmdiskscan -- 4 partitions
> lvmdiskscan -- 0 LVM physical volume partitions
>
> (none):~# exit
>
> Script done on Wed Mar 6 05:32:39 2002
>
> What concerns me about this output is that it thinks that /dev/md0 is *free*
> whereas pvdisplay knows it is not. If you have any suggestions, please let
> me know.
>
> Thanks,
> Anand
>
> --
> `` We are shaped by our thoughts, we become what we think.
> When the mind is pure, joy follows like a shadow that never
> leaves. '' -- Buddha, The Dhammapada
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** 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] 6+ messages in thread
* Re: [linux-lvm] vgscan errors with 1.0.3
2002-03-06 4:01 ` Heinz J . Mauelshagen
@ 2002-03-06 4:30 ` Anand Kumria
2002-03-06 4:40 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 6+ messages in thread
From: Anand Kumria @ 2002-03-06 4:30 UTC (permalink / raw)
To: linux-lvm
On Wed, Mar 06, 2002 at 10:58:59AM +0100, Heinz J . Mauelshagen wrote:
>
> http://www.progsoc.org/~wildfire/lvm/
> Access to the requested resource is denied.
>
> Please tell us, when it is accessable.
I've corrected the permissions.
Thanks for taking the time to look into this.
Regards,
Anand
--
`` We are shaped by our thoughts, we become what we think.
When the mind is pure, joy follows like a shadow that never
leaves. '' -- Buddha, The Dhammapada
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] vgscan errors with 1.0.3
2002-03-06 4:30 ` Anand Kumria
@ 2002-03-06 4:40 ` Heinz J . Mauelshagen
2002-03-06 4:50 ` Anand Kumria
0 siblings, 1 reply; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2002-03-06 4:40 UTC (permalink / raw)
To: linux-lvm
On Wed, Mar 06, 2002 at 09:28:58PM +1100, Anand Kumria wrote:
> On Wed, Mar 06, 2002 at 10:58:59AM +0100, Heinz J . Mauelshagen wrote:
> >
> > http://www.progsoc.org/~wildfire/lvm/
> > Access to the requested resource is denied.
> >
> > Please tell us, when it is accessable.
>
> I've corrected the permissions.
>
> Thanks for taking the time to look into this.
Accessable now :-)
Could you add the bzipped tarball "vgda.tar.bz2" created with
for d in md0 hdg hde
do
dd if=/dev/$d of=$d.vgda bs=1k count=4k
done
tar Icf vgda.tar.bz2 *.vgda
to that?
That'll ease investigation a lot because I can setup a configuration
with your metadata here then.
Regards,
Heinz -- The LVM Guy --
>
> Regards,
> Anand
>
> --
> `` We are shaped by our thoughts, we become what we think.
> When the mind is pure, joy follows like a shadow that never
> leaves. '' -- Buddha, The Dhammapada
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** 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] 6+ messages in thread
* Re: [linux-lvm] vgscan errors with 1.0.3
2002-03-06 4:40 ` Heinz J . Mauelshagen
@ 2002-03-06 4:50 ` Anand Kumria
2002-03-06 4:55 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 6+ messages in thread
From: Anand Kumria @ 2002-03-06 4:50 UTC (permalink / raw)
To: linux-lvm
On Wed, Mar 06, 2002 at 11:37:37AM +0100, Heinz J . Mauelshagen wrote:
>
> Could you add the bzipped tarball "vgda.tar.bz2" created with
>
> for d in md0 hdg hde
> do
> dd if=/dev/$d of=$d.vgda bs=1k count=4k
> done
> tar Icf vgda.tar.bz2 *.vgda
>
> to that?
I've created this tarball and put it up as well.
<URL: http://www.progsoc.org/~wildfire/lvm/>
Thanks,
Anand
--
`` We are shaped by our thoughts, we become what we think.
When the mind is pure, joy follows like a shadow that never
leaves. '' -- Buddha, The Dhammapada
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] vgscan errors with 1.0.3
2002-03-06 4:50 ` Anand Kumria
@ 2002-03-06 4:55 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2002-03-06 4:55 UTC (permalink / raw)
To: linux-lvm
On Wed, Mar 06, 2002 at 09:49:32PM +1100, Anand Kumria wrote:
> On Wed, Mar 06, 2002 at 11:37:37AM +0100, Heinz J . Mauelshagen wrote:
> >
> > Could you add the bzipped tarball "vgda.tar.bz2" created with
> >
> > for d in md0 hdg hde
> > do
> > dd if=/dev/$d of=$d.vgda bs=1k count=4k
> > done
> > tar Icf vgda.tar.bz2 *.vgda
> >
> > to that?
>
> I've created this tarball and put it up as well.
Working on it now...
>
> <URL: http://www.progsoc.org/~wildfire/lvm/>
>
> Thanks,
> Anand
>
> --
> `` We are shaped by our thoughts, we become what we think.
> When the mind is pure, joy follows like a shadow that never
> leaves. '' -- Buddha, The Dhammapada
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
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] 6+ messages in thread
end of thread, other threads:[~2002-03-06 4:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-05 13:25 [linux-lvm] vgscan errors with 1.0.3 Anand Kumria
2002-03-06 4:01 ` Heinz J . Mauelshagen
2002-03-06 4:30 ` Anand Kumria
2002-03-06 4:40 ` Heinz J . Mauelshagen
2002-03-06 4:50 ` Anand Kumria
2002-03-06 4:55 ` Heinz J . Mauelshagen
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.