Skip to contentSkip to conversation

funny PV action

linux-lvm Christoph Resch 2 participants 4 messages Dec 11, 2003 – Dec 17, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

may someone kindly assist me in thei quite funny behavior of LVM

i work on a runnging LVM system .. everything works as it should BUT:

when running pvscan i get

root@prime:~# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/md1" of VG "system"   [19.97 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/md2" of VG "dataraid" [13.88 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/md3" of VG "dataraid" [68.36 GB / 0 free]
pvscan -- total: 3 [102.24 GB] / in use: 3 [102.24 GB] / in no VG: 0 [0]
# well /dev/md1 is my system ( / , /usr, /var ,... ) it works quite fine :-o
root@prime:~# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "system"
vgscan -- found active volume group "dataraid"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume 
groups
# well thats great ;-) 
root@tttprime:~# lvscan
lvscan -- ACTIVE            "/dev/dataraid/ttchip" [9 GB]
lvscan -- ACTIVE            "/dev/dataraid/private" [20 GB]
lvscan -- ACTIVE            "/dev/dataraid/tttech" [20 GB]
lvscan -- ACTIVE            "/dev/dataraid/projects" [17 GB]
lvscan -- ACTIVE            "/dev/dataraid/sandbox" [9 GB]
lvscan -- ACTIVE            "/dev/dataraid/marketing+pr" [7.23 GB]
Segmentation fault
# oops i miss al my systemLVs .. still running on it ;-( 
root@tttprime:~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root.old /initrd ext2 rw 0 0
/dev/root / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/md0 /boot ext2 rw 0 0
/dev/system/tmp /tmp ext3 rw 0 0
/dev/system/var /var ext3 rw 0 0
/dev/system/usr /usr ext3 rw 0 0
/dev/system/usr_local /usr/local xfs rw 0 0
/dev/dataraid/private /ttt/private xfs rw 0 0
/dev/dataraid/ttchip /ttt/ttchip xfs rw 0 0
/dev/dataraid/tttech /ttt/tttech xfs rw 0 0
/dev/dataraid/marketing+pr /ttt/tttech/company/marketing+pr xfs rw 0 0
/dev/dataraid/projects /ttt/tttech/projects xfs rw 0 0
/dev/dataraid/sandbox /ttt/tttech/projects/sandbox xfs rw 0 0

still everything runs .. but i want it to be clean .. any advice would help

thanks and best regards

-c-

#1 lore raw

Re: [linux-lvm] Dual Boot with LVM

Hi Jord,

i can see the same behavior on my LVM-Installation, though i dont dual-boot. i get this strange situation after preparing for disaster-recovery with mondo-rescue .. since then my first PV is always inactive, but i can boot from it and work normally ...

did you found something ? .. maybe a lvm-version problem -- on debian i use
lvm-common 1.5.9.3
lvm10 1.0.7-8

thanks for reply

-c-

#2 lore raw

Re: [linux-lvm] Dual Boot with LVM

ok .. according to the 'devfs'-issue i found out to not have a identical /dev on the initrd and on the system

after sync it all works perfectly again :-)

thanks anyway

-c-

Am Mittwoch 17 Dezember 2003 12:34 schrieb Christoph Resch:

Quoted 21 lines

Hi Jord,

i can see the same behavior on my LVM-Installation, though i dont dual-boot. i get this strange situation after preparing for disaster-recovery with mondo-rescue .. since then my first PV is always inactive, but i can boot from it and work normally ...

did you found something ? .. maybe a lvm-version problem -- on debian i use
lvm-common 1.5.9.3
lvm10 1.0.7-8

thanks for reply

-c-

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw

Re: [linux-lvm] Dual Boot with LVM

In reply to Christoph Resch

To get around the devfs/no devfs problem I went with EVMS and device-mapper in Gentoo (with devfs), and its been running sweet ever since. EVMS runs in LVM compatibility mode, so I can work with the LVs in both RedHat and Gentoo.

Quoted 21 lines · Christoph Resch

Hi Jord,

i can see the same behavior on my LVM-Installation, though i dont dual-boot. i get this strange situation after preparing for disaster-recovery with mondo-rescue .. since then my first PV is always inactive, but i can boot from it and work normally ...

did you found something ? .. maybe a lvm-version problem -- on debian i use
lvm-common 1.5.9.3
lvm10 1.0.7-8

thanks for reply

-c-

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 1 line
Jord Tanner <[email protected]>