Has anyone actually mounted the file system for domU whilst it was running? If so can any one describe the actual damage that was done and if anything was recoverable? -- Regards, John Maclean MSc (DIC) +44 7739 171 531 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On xen-users-bounces@lists.xensource.com wrote:> Has anyone actually mounted the file system for domU whilst it was > running? If so can any one describe the actual damage that was done > and if anything was recoverable? >If justing doing read only mount, there should not be any damage. I often mount the domU disk image file to check some files'' contents, while they are running. Best Regards, Yongkang You _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''ve done it before on an xfs filesystem. Damage done was a total loss of the filesystem. Nothing was recoverable. It was accidently mounted in a second domain, which just finished booting when I realised. Hope you have more luck than I did... -----Original Message----- From: "John Maclean"<jayeola@gmail.com> Sent: 18/12/07 3:43:39 PM To: "xen-users"<xen-users@lists.xensource.com> Subject: [Xen-users] Mounting an existing running domU Has anyone actually mounted the file system for domU whilst it was running? If so can any one describe the actual damage that was done and if anything was recoverable? -- Regards, John Maclean MSc (DIC) +44 7739 171 531 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Has anyone actually mounted the file system for domU whilst it was > > running? If so can any one describe the actual damage that was done > > and if anything was recoverable? > > If justing doing read only mount, there should not be any damage. > > I often mount the domU disk image file to check some files'' contents, > while they are running.This is still potentially risky as the readonly mount may read inconsistent data from the disk. It shouldn''t damage the on-disk data but there may be errors from the filesystem driver. I guess it''s possible that it could cause more severe errors too but that would rather depend on the particular filesystem, the particular circumstances, etc. All the same, it''s something I personally wouldn''t want to risk doing from dom0 on a production machine - just in case. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi! John Maclean schrieb:> Has anyone actually mounted the file system for domU whilst it was > running? If so can any one describe the actual damage that was done and > if anything was recoverable?Have you considered using a cluster filesystem (OCFS2, GFS, ...) that is designed for this pourpose? At work, we have a shared blockdevice between two DomUs using OCFS2, and it works fine so far. You have to tell the DomU in the config file that the device is used for shared writing by adding a Plus sign to the "w" for "writable". Ciao Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users