> � � �> � � �<[1][2][3]
pasik@xxxxxx> wrote:
> � � �> � � �>
> � � �> � � �> * * *On Fri, Aug 27, 2010 at 02:53:54PM +0530, Dhananjay Goel
> � � �wrote:
> � � �> � � �> * * *> * *This won't be straight forward. Think about USB
> � � �memory/flash
> � � �> � � �stick.
> � � �> � � �> * * *> * *If every VM sees it, and simultaneously writes to it,
> � � �the
> � � �> � � �> * * *filesystem
> � � �> � � �> * * *> * *in it will get corrupted immediately!
> � � �> � � �> * * *>
> � � �> � � �> * * *> * *--Why would it get corrupted immediately. Might be we
> � � �can
> � � �> � � �just lock
> � � �> � � �> * * *a
> � � �> � � �> * * *> * *specific file which is being edited? Please suggest.
> � � �> � � �> * * *>
> � � �> � � �>
> � � �> � � �> * * *Because USB level has no idea about filesystems or files,
> � � �or
> � � �> � � �locking
> � � �> � � �> * * *them!
> � � �> � � �>
> � � �> � � �> * * *Say you're using ext3 or NTFS in the VM for the USB
> � � �device.
> � � �> � � �> * * *Those filesystems are NOT cluster-aware, ie. they're not
> � � �aware of
> � � �> � � �any
> � � �> � � �> * * *sharing,
> � � �> � � �> * * *and they don't support any kind of sharing.
> � � �> � � �>
> � � �> � � �> * * *They expect exclusive access to the device.
> � � �> � � �>
> � � �> � � �> * * *If suddenly the bits on the device change from outside,
> � � �> � � �> * * *the filesystem gets corrupted very easily.
> � � �> � � �>
> � � �> � � �> * * *Also you wouldn't see the changes made in other VMs,
> � � �> � � �> * * *unless you made sure all the caches are refreshed etc in
> � � �the VM
> � � �> � � �all the
> � � �> � � �> * * *time.
> � � �> � � �>
> � � �> � � �> * * *You'd need to use some cluster-filesystem (GFS, GFS2,
> � � �OCFS2,
> � � �> � � �GPFS, etc).
> � � �> � � �>
> � � �> � � �> * * *-- Pasi
> � � �> � � �>
> � � �> � � �> * * *> * *Thanks,
> � � �> � � �> * * *> * *Dhananjay
> � � �> � � �> * * *>
> � � �> � � �> * * *> * *On Fri, Aug 27, 2010 at 2:49 PM, Pasi K*rkk*inen