FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 01-14-2010, 07:46 PM
T o n g
Default kenerl level cache flushing


I'm having problem flushing cache cleanly to disk -- I'm trying to have
KVM directly access my real HD. Theoretically speaking, if I only allow
one system (host or guest) to access the partition at a time, it would be
safe, right?

This is how I do:

- mount the partition in host
- update the partition in host
- umount the partition in host
- run 'sync; sync; sync' many times in host
- start kvm
- try access/update the partition in kvm guest

The procedure looks fine to me, but it never works. If launching windoze,
the windoze complains that the recently updated part is not accessible.
If using linux guests, the guest access/update the partition fine, but
after stopping kvm, I get a corrupted partition.

So I'm wondering if there is some kenerl level cache that I need to flush
as well, or something else?

Please help.

Tong (remove underscore(s) to reply)

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 08:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org