hammer core dumped while trying to cleanup slave pfs directly
Siju George
sgeorge.ml at gmail.com
Fri Apr 23 01:43:53 PDT 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00001.bin
Type: application/octet-stream
Size: 323299 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20100423/c0c4f02a/attachment-0020.bin>
More information about the Users
mailing list