Skip to contentSkip to conversation

mounting a snapshot for backup.

Ocfs2-devel sylarrrrrrr at aim.com 3 participants 4 messages Jul 1, 2009 – Jul 4, 2009 OCFS2

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

http://oss.oracle.com/projects/ocfs2-tools/news/article_7.html

see tunefs.ocfs2 note.

Quoted 28 lines · sylarrrrrrr at aim.com

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>

Quoted 6 lines

------------------------------------------------------------------------

_______________________________________________
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

#2 lore raw

Hi,?

?Thanks :)

BTW, Do I need to upgrade the kernel module too, or just the ocfs2-tools package?

If I need to upgrade the module too ... I am having trouble compiling it under debian lenny, I have posted about it in the users gourps.

-----Original Message-----
From: Marcos E. Matsunaga <[email protected]>
To: sylarrrrrrr at aim.com
Cc: ocfs2-devel at oss.oracle.com
Sent: Wed, Jul 1, 2009 12:45 pm
Subject: Re: [Ocfs2-devel] mounting a snapshot for backup.

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

_______________________________________________
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/20090704/ab3ef2f9/attachment.html

#3 lore raw

Tools is enough. It supports all existing versions of the kernel fs.

Quoted 58 lines · sylarrrrrrr at aim.com

Hi,
Thanks :)
BTW, Do I need to upgrade the kernel module too, or just the ocfs2- tools package?
If I need to upgrade the module too ... I am having trouble compiling it under debian lenny, I have posted about it in the users gourps.

-----Original Message-----
From: Marcos E. Matsunaga <[email protected]>
To: sylarrrrrrr at aim.com
Cc: ocfs2-devel at oss.oracle.com
Sent: Wed, Jul 1, 2009 12:45 pm
Subject: Re: [Ocfs2-devel] mounting a snapshot for backup.

http://oss.oracle.com/projects/ocfs2-tools/news/article_7.html

see tunefs.ocfs2 note.

Quoted 26 lines · sylarrrrrrr at aim.com

Hi
I have an ocfs2 volume (1.4.1) on lvm2, which is made avai lable 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/20 08-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?

Quoted 7 lines

Dell Laptops: Huge Savings on Popular Laptops - Deals starting at $399

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Quoted 5 lines

An Excellent Credit Score is 750. See Yours in Just 2 Easy Steps!
_______________________________________________
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/20090704/033ec7cd/attachment.html