[linux-lvm] LVM VG keeps disappearing
Post, Mark K
mark.post at eds.com
Sun May 8 15:31:04 UTC 2005
Here's the documentation you suggested. I tried to use -d or --debug on
the vgscan command, and got a usage error.
The LVM version I'm running is 1.0.8.
bash-2.05b# fdasd -p /dev/dasda
WARNING: Your DASD '/dev/dasda' is in use.
If you proceed, you can heavily damage your system.
If possible exit all applications using this disk
and/or unmount it.
reading volume label: VOL1
reading vtoc : ok
Disk /dev/dasda:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0200
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasda1 2 50069 50068 1 Linux native
exiting...
bash-2.05b# fdasd -p /dev/dasdb
reading volume label: VOL1
reading vtoc : ok
'56' is not supported!
Disk /dev/dasdb:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0201
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasdb1 2 50069 50068 1 Linux native
exiting...
bash-2.05b# fdasd -p /dev/dasdc
reading volume label: VOL1
reading vtoc : ok
'99' is not supported!
Disk /dev/dasdc:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0202
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasdc1 2 50069 50068 1 Linux native
exiting...
bash-2.05b# fdasd -p /dev/dasdd
reading volume label: VOL1
reading vtoc : ok
'65' is not supported!
Disk /dev/dasdd:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0203
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasdd1 2 50069 50068 1 Linux native
exiting...
bash-2.05b# fdasd -p /dev/dasde
reading volume label: VOL1
reading vtoc : ok
'101' is not supported!
Disk /dev/dasde:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0204
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasde1 2 50069 50068 1 Linux native
exiting...
bash-2.05b# fdasd -p /dev/dasdg
reading volume label: VOL1
reading vtoc : ok
'109' is not supported!
Disk /dev/dasdg:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0206
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasdg1 2 50069 50068 1 Linux native
exiting...
bash-2.05b# fdasd -p /dev/dasdh
WARNING: Your DASD '/dev/dasdh' is in use.
If you proceed, you can heavily damage your system.
If possible exit all applications using this disk
and/or unmount it.
reading volume label: VOL1
reading vtoc : ok
Disk /dev/dasdh:
3338 cylinders,
15 tracks per cylinder,
12 blocks per track
4096 bytes per block
volume label: VOL1, volume identifier: 0X0207
maximum partition number: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasdh1 2 44607 44606 1 Linux native
/dev/dasdh2 44608 50069 5462 2 Linux swap
exiting...
bash-2.05b# vgscan -vv
vgscan -- v option already given
vgscan
[-f/--force_numbers]
[-h/--help]
[-r/--remove_snapshots [VgNameToRemoveSnapshotsFrom]]
[-v/--verbose]
bash-2.05b# vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- reading data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
volume
group "vg01" 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
bash-2.05b# pvscan -vv
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- walking through all physical volumes found
pvscan -- getting data for physical volume "/dev/dasdb1" from kernel
pvscan -- physical volume "/dev/dasdb1" is not active
--- Physical volume ---
PV Name /dev/dasdb1
VG Name vg01
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM:
128 KB]
PV# 1
PV Status available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 32768
Total PE 72
Free PE 0
Allocated PE 72
PV UUID 8pHTt5-6GR5-eQy3-1vcA-x9zp-nj2E-SmxA4f
System Id lslack641108617901
pvscan -- getting data for physical volume "/dev/dasdc1" from kernel
pvscan -- physical volume "/dev/dasdc1" is not active
--- Physical volume ---
PV Name /dev/dasdc1
VG Name vg01
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM:
128 KB]
PV# 2
PV Status available
Allocatable yes (but full)
Cur LV 2
PE Size (KByte) 32768
Total PE 72
Free PE 0
Allocated PE 72
PV UUID c8dgEm-S7Rf-RZch-whap-7xnY-eF2m-LXZI73
System Id lslack641108617910
pvscan -- getting data for physical volume "/dev/dasdd1" from kernel
pvscan -- physical volume "/dev/dasdd1" is not active
--- Physical volume ---
PV Name /dev/dasdd1
VG Name vg01
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM:
128 KB]
PV# 3
PV Status available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 32768
Total PE 72
Free PE 0
Allocated PE 72
PV UUID A4z1p1-mQ3I-NYsu-UybS-HPjI-RDig-8tmndr
System Id lslack641108617917
pvscan -- getting data for physical volume "/dev/dasde1" from kernel
pvscan -- physical volume "/dev/dasde1" is not active
--- Physical volume ---
PV Name /dev/dasde1
VG Name vg01
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM:
128 KB]
PV# 4
PV Status available
Allocatable yes (but full)
Cur LV 2
PE Size (KByte) 32768
Total PE 72
Free PE 0
Allocated PE 72
PV UUID eq11if-ju5s-dpqz-3s6y-M4Im-CknQ-Da7beM
System Id lslack641108617924
pvscan -- getting data for physical volume "/dev/dasdg1" from kernel
pvscan -- physical volume "/dev/dasdg1" is not active
--- Physical volume ---
PV Name /dev/dasdg1
VG Name vg01
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM:
128 KB]
PV# 6
PV Status available
Allocatable yes
Cur LV 1
PE Size (KByte) 32768
Total PE 72
Free PE 64
Allocated PE 8
PV UUID mcDIdd-drYH-DdUT-MoNP-n0ih-sZxq-xud3KS
System Id lslack641108617952
pvscan -- total: 5 [11.46 GB] / in use: 5 [11.46 GB] / in no VG: 0 [0]
bash-2.05b# lvscan -vv
lvscan -- no volume groups found
bash-2.05b#
df -k
df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/dasda1 2365444 437392 1807892 20% /
bash-2.05b# mount
/dev/dasda1 on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
Mark Post
-----Original Message-----
From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
On Behalf Of Diaz Rodriguez, Eduardo
Sent: Thursday, April 28, 2005 4:54 AM
To: LVM general discussion and development
Subject: Re: [linux-lvm] LVM VG keeps disappearing
It is only a sugestion.
lvm version.
fdisk for all patitions
vgscan -vv in verbose mode and debug mode (if you has complied with
debug)
pvscan -vv
lvscan -vv
df -k
mount
all information that you can!
More information about the linux-lvm
mailing list