DragonFly bugs List (threaded) for 2010-01
[
Date Prev][
Date Next]
[Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[issue1642] hammer v2 mirror-copy + pfs-upgrade + pfs-downgrade makes data unavail
New submission from Thomas Nikolajsen <thomas.nikolajsen@mail.dk>:
I have problem where data in a PFS can't be accessed; I did:
(tried to get PFS on laptop, for 26c3)
src$ hammer mirror-copy PFS dst:PFS
src$ hammer pfs-downgrade PFS
dst$ hammer pfs-upgrade PFS
After this PFS was empty on dst; then did:
dst$ hammer pfs-downgrade PFS
src$ hammer pfs-upgrade PFS
Now PFS on src can't be accessed, see below.
This is HAMMER version 2 file systems on both src and dst;
on src it was originally version 1; have been upgraded some time ago.
I also mirror-copy'ed another PFS (no pfs-downgrade/pfs-upgrade),
it is empty on dst, and accessible as usual on src.
Both mirror-copy operations seemed to run with success.
commit ec61b2892719413e2fd52a677fc9a1d05d09d59a
(DragonFly_RELEASE_2_4 HAMMER - Fix root inode creation for slave)
isn't included on dst (build the day before it was committed);
I'm not sure if it is included on src (info is in git repo I can't access).
Any chance to get my data back?
I haven't updated src HAMMER file system since problem.
These data aren't critical (some local changes); do have checkout.
-thomas
-
src$ ls -l /hammer/.pfs/home.dragonfly.git
lrwxr-xr-x 1 root wheel 10 May 30 2009 /hammer/.pfs/home.dragonfly.git ->
@@-1:00011
src$ ls -l /hammer/.pfs/home.dragonfly.git/
ls: /hammer/.pfs/home.dragonfly.git/: No such file or directory
-
src$ hammer version /hammer/.pfs
min=1 wip=3 max=2 current=2 description="2.3 - New directory entry layout"
available versions:
1 NORM 2.0 - First HAMMER release
2 NORM 2.3 - New directory entry layout
src$ hammer pfs-status /hammer/.pfs/home.dragonfly.git
/hammer/.pfs/home.dragonfly.git PFS #11 {
sync-beg-tid=0x0000000000000001
sync-end-tid=0x000000122a2998b0
shared-uuid=1d9b804a-4ca9-11de-85a0-01500442c42b
unique-uuid=1d9b8090-4ca9-11de-85a0-01500442c42b
label=""
prune-min=00:00:00
operating as a MASTER
snapshots dir for master defaults to <fs>/snapshots
}
src$ uname -a
DragonFly ask 2.4.1-RELEASE DragonFly v2.4.1.17.g372c9-RELEASE #4: Mon Oct 12
00:35:07 CEST 2009 root@boy:/usr/obj/usr/src/sys/STANDARD i386
-
dst$ DragonFly bog 2.4.1-RELEASE DragonFly 2.4.1-RELEASE #3: Thu Oct 1
00:44:55 CEST 2009 root@boy:/usr/obj/usr/src/sys/STANDARD i386
----------
messages: 8007
nosy: thomas.nikolajsen
priority: bug
status: unread
title: hammer v2 mirror-copy + pfs-upgrade + pfs-downgrade makes data unavail
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1642>
_____________________________________________________
[
Date Prev][
Date Next]
[Thread Prev][
Thread Next]
[
Date Index][
Thread Index]