看板 DFBSD_bugs 關於我們 聯絡資訊
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 = ->=20 @@-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=3D1 wip=3D3 max=3D2 current=3D2 description=3D"2.3 - New directory entr= y 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=3D0x0000000000000001 sync-end-tid=3D0x000000122a2998b0 shared-uuid=3D1d9b804a-4ca9-11de-85a0-01500442c42b unique-uuid=3D1d9b8090-4ca9-11de-85a0-01500442c42b label=3D"" prune-min=3D00: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=20 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=20 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 unava= il _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue1642> _____________________________________________________