DragonFly BSD
DragonFly users List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

hammer core dumped while trying to cleanup slave pfs directly


From: Siju George <sgeorge.ml@xxxxxxxxx>
Date: Fri, 23 Apr 2010 14:02:33 +0530

Hi,

I tried to hammer cleanup a a mirrored slave manually.

dfly-bkpsrv# pwd
/Backup2/pfs
dfly-bkpsrv# hammer cleanup www-hot
Assertion failed: (path[0] == '/'), function do_cleanup, file
/usr/src/sbin/hammer/cmd_cleanup.c, line 340.
cleanup www-hot              -Abort (core dumped)
dfly-bkpsrv#

dfly-bkpsrv# ls -l
total 320
lrwxr-xr-x  1 root  wheel      10 Jul  7  2009 Data ->
@@0x00000001d3b61190:00001
lrwxr-xr-x  1 root  wheel      10 Sep 28  2009 VersionControl ->
@@0x00000001d3b61190:00002
-rw-------  1 root  wheel  323584 Apr 23 13:49 hammer.core
lrwxr-xr-x  1 root  wheel      10 Oct  8  2009 test ->
@@0x000000013f644d60:00003
lrwxr-xr-x  1 root  wheel      10 Apr 23 12:14 www-hot ->
@@0x00000001d3b5fc50:00004

but I could do it using a symlink

dfly-bkpsrv# ls -l /Backup2/www-5mbak/www-hot
lrwxr-xr-x  1 root  wheel  20 Apr 23 12:16 /Backup2/www-5mbak/www-hot
-> /Backup2/pfs/www-hot
dfly-bkpsrv# hammer cleanup  /Backup2/www-5mbak/www-hot/
cleanup /Backup2/www-5mbak/www-hot/ - handle PFS #4 using
/var/hammer/Backup2/www-5mbak/www-hot/
           snapshots - disabled
               prune - run
           rebalance - run..
             reblock - run....
              recopy - run....^Cdfly-bkpsrv#
dfly-bkpsrv# hammer snapls /Backup2/www-5mbak/www-hot/

What could be wrong?

hammer.core attached

using Development Version  2.7-DEVELOPMENT DragonFly
v2.7.0.54.g0754fe-DEVELOPMENT #18: Wed Apr  7 10:09:21 IST 2010

Thanks :-)

--Siju

Attachment: hammer.core
Description: Binary data



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]