Skip to contentSkip to conversation

infinite loop in /dev/discs

linux-lvm Gabriel de Perthuis 2 participants 2 messages May 6, 2004

lore
Share & tools
lore
#0 lore raw

Hello,
I am encountering problems with lvm and devfs. lvm version says:
LVM version: 2.00.08 (2003-11-14)
Library version: 1.00.07-ioctl (2003-11-21)
Driver version: 4.1.0
When running any lvm command (even version), lvm runs into an infinite loop, looking for devices like /dev/discs/disc2/discs/disc2..., disc2 being a symlink to its parent. Many more symlinks appear named /dev/discs[2-9]* and /dev/disc1[0-9]*, instead of only disc0 and disc1. A strace gives me lots of stat64. A temporary solution is to rm the /etc/lvm/.cache, rm all strange devices in /dev/discs, and launch lvm anew. I think LVM should prevent these infinite loops from occurring, since this prevented my computer from booting; even though this could be a problem with devfs.
It seems the download page has moved to redhat's site, with slightly newer versions I have not yet tested.
Thank you

#1 lore raw
Quoted 3 lines · Gabriel de Perthuis

When running any lvm command (even version), lvm runs into an infinite loop, looking for devices like /dev/discs/disc2/discs/disc2..., disc2 being a symlink to its parent.

Fixed in 2.00.09.

Alasdair

Signature · 1 line
[email protected]