Skip to contentSkip to conversation

applications not working with lvm

linux-lvm Ben Snyder 3 participants 3 messages Aug 12, 2002 – Aug 13, 2002

lore
Share & tools
lore

Ben Snyder

author
#0 lore raw

Has anyone had any problems with any applications working on a filesystem, where that filesystem was on a logical volume?

I've got an application that simply wont work (sorry, dont want to give too many details). It creates very large quantities of hard links, binds a local directory to /proc, creates local files to represent block devices and FIFO files. All of this is in order to create a virtual server for users. I've tried to do many of these operations manually, with perfect success, although I'm not trying to perform them on the same scale at the same speed as the hosting software.

Is there anything unusual about LVM and it's interaction with these special files?

Thanks in advance for your replies/feedback.

#1 lore raw
Quoted 7 lines · Ben Snyder

I've got an application that simply wont work (sorry, dont want to give too many details). It creates very large quantities of hard links, binds a local directory to /proc, creates local files to represent block devices and FIFO files. All of this is in order to create a virtual server for users. I've tried to do many of these operations manually, with perfect success, although I'm not trying to perform them on the same scale at the same speed as the hosting software.

This sound like a linux vserver. I'm running my vserver on a LVM, though i dont use hardlinks at all.

JonB

#2 lore raw
In reply to Ben Snyder
Quoted 6 lines · Ben Snyder

Has anyone had any problems with any applications working on a filesystem, where that filesystem was on a logical volume?

I've got an application that simply wont work (sorry, dont want to give too many details). It creates very large quantities of hard links, binds a local directory to /proc

/proc could be tripping you up. strace the LVM1 tools and see which files in /proc it is trying to read, then check you have faked them correctly.

Quoted 1 line

creates local files to represent block devices and FIFO files.

Search this mailing list for ways to get loop devices working with LVM1.

- Joe