sylarrrrrrr at aim.com
2009-Jul-01 11:31 UTC
[Ocfs2-devel] mounting a snapshot for backup.
Hi I have an ocfs2 volume (1.4.1) on lvm2, which is made available on 2 nodes via dual primary drbd that is on it. I wanted to backup my volume, so naturally I made a snapshot of it via the lvm2, and tried to mount it for backing up. However, I got the following error in dmesg : [319981.478168] (23483,0):ocfs2_fill_super:700 ERROR: Unable to create per-mount debugfs root. I then searched a bit, and found that ocfs2 can't mount an already mounted volume, and I was suggested to change the UUID of the snapshot device in order to be able to mount it. So I tried using tunefs.ocfs2 and got the following error: tunefs.ocfs2 1.4.1 tunefs.ocfs2: Trylock failed while locking down the cluster So I searched a bit and found that there was a patch suggestion for ?--force option to tunefs, http://oss.oracle.com/pipermail/ocfs2-devel/2008-July/002447.html and that it was rejected, http://oss.oracle.com/pipermail/ocfs2-devel/2008-July/002449.html and some ominous warnings, http://oss.oracle.com/pipermail/ocfs2-devel/2008-July/002450.html o well... now how am I supposed to backup my live ocfs2 volume? Make a virtual machine that will have just that snapshot device? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20090701/3ceba5f8/attachment.html
http://oss.oracle.com/projects/ocfs2-tools/news/article_7.html see tunefs.ocfs2 note. sylarrrrrrr at aim.com wrote:> Hi > I have an ocfs2 volume (1.4.1) on lvm2, which is made available on 2 > nodes via dual primary drbd that is on it. I wanted to backup my > volume, so naturally I made a snapshot of it via the lvm2, and tried > to mount it for backing up. However, I got the following error in dmesg : > [319981.478168] (23483,0):ocfs2_fill_super:700 ERROR: Unable to create > per-mount debugfs root. > I then searched a bit, and found that ocfs2 can't mount an already > mounted volume, and I was suggested to change the UUID of the snapshot > device in order to be able to mount it. > So I tried using tunefs.ocfs2 and got the following error: > tunefs.ocfs2 1.4.1 > tunefs.ocfs2: Trylock failed while locking down the cluster > > So I searched a bit and found that there was a patch suggestion for > --force option to tunefs, > http://oss.oracle.com/pipe rmail/ocfs2-devel/2008-July/002447.html > and that it was rejected, > http://oss.oracle.com/pipermail/ocfs2-devel/2008-July/002449.html > and some ominous warnings, > http://oss.oracle.com/pipermail/ocfs2-devel/2008-July/002450.html > o well... now how am I supposed to backup my live ocfs2 volume? Make a > virtual machine that will have just that snapshot device? > > ------------------------------------------------------------------------ > Dell Laptops: Huge Savings on Popular Laptops - Deals starting at $399 > <http://pr.atwola.com/promoclk/100126575x1222883570x1201497211/aol?redir=http:%2F%2Faltfarm.mediaplex.com%2Fad%2Fck%2F12309%2D81939%2D1629%2D0> > > ------------------------------------------------------------------------ > > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-devel-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20090701/64e30c8f/attachment.html