[Ocfs2-users] restore deleted partition
Christian Lox
lox at netzwerkplanet.com
Fri Apr 25 01:33:31 PDT 2008
Hi all.
We are using (or should i say "have been using"...) ocfs2 in
conjunction with iscsitaget and open-iscsi.
Now yesterday happened what should not have happened:
A colleague set up a new subversion server and remembered there was a
kind of storage to use for it.
He used the open-issi tools to discover the partition and used mkfs on
it. So he was just fine and could continue his work. :)
But:
Our main fileserver lost all its data.
Apr 24 18:38:21 rad01 kernel: [4310373.927492]
(4211,0):o2hb_do_disk_heartbeat:767 ERROR: Device "sdb": another node
is heartbeating in our slot!
And some hours later:
Apr 25 06:25:19 rad01 kernel: [4351792.508496]
(1292,0):ocfs2_check_dir_entry:1778 ERROR: bad entry in directory
#197799: rec_len is smaller than minimal - offset=0, inode=0,
rec_len=0, name_len=0
When trying to mount our (formerly) ocfs2 partition:
root at rad01:/# mount -t ocfs2 /dev/sdb /ocfs2
ocfs2_hb_ctl: Bad magic number in inode while reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
"Operation not permitted"
This is on ubuntu 7.10, Linux rad01 2.6.22-14-server #1 SMP Sun Oct 14
23:34:23 GMT 2007 i686 GNU/Linux
Any chance to recover the data?
Thanks in advance,
Christian
More information about the Ocfs2-users
mailing list