Every dog has a blog!
[ start | index | login or register ]
start > 2007-06-22 > 1

vmware-loop (and vmware-mount) really sucks!

Created by derjohn. Last edited by derjohn, 4 years and 209 days ago. Viewed 2,011 times. #5
[diff] [history] [edit] [rdf]
labels
attachments

vmware-loop (and vmware-mount) really sucks!

Several times I tried to mount a .vmdk file on a linux host directly in order to run some backups. But the box crashed to hard, that I had to reset-finger it. I found a >>small vmdk-mount hack from a australian coder, who told me, what the architecutral problem with both of those utils is (his own as well as the one from vmware)

matthewc> when the system is low on memory, the Linux kernel instructs nbd to write out all its dirty buffers matthewc> but in order to do that, nbd needs to talk to the userspace process derjohn> hm, that sounds like the problem vmware-loop itself has … matthewc> and you get this recursive wait situation where the userspace process is blocked waiting on a memory allocation, but nbd needs to talk to it to make memory

It's time to port that or something similar to FuSE.

UPDATE: I asked kernel-people of the Linux-VServer project about nbd and add here an excerpt of the chat, that might be interesting,too:

<Bertl> derjohn: the main question is 'used for what?' I assume buffers and caches :) <Bertl> derjohn: I also assume that it requires kernel memory (which is not pageable anyways) <bonbons> derjohn: I played with nbd, but until now I got not so good results, with XFS on to of it (either crashed or BUG() and processes ending in D state) <bonbons> but I wonder why nbd needs the client process to keep hanging around, it could do as is done be kernel for nfs or smb mounts, have the network connection live completely in kernel space <derjohn> well, doesnt sound like a good idea to rely on nbd ;) <bonbons> derjohn, I file a bug for that on kernel bugzilla some time ago: >>http://bugzilla.kernel.org/show_bug.cgi?id=7364

no comments | post comment

< January 2012 >
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031


Logged in Users: (0)
… and 5 Guests.

Blogrolling:
>>Blog des Wahnsinns
>>Daniel Holbach's Blog
>>Matt Cutt's blog
>>Randgruppentourismus

XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

Hinweise zur Formatierung
snipsnap-help.

Powered by
SnipSnap 1.0b1-snipit

Ads will be placed here!

dem john sein blog | Impressum: Andreas John, Frankfurter Str. 98a, 63067 Offenbach, E-Mail: himself@derjohn.de