DragonFly users List (threaded) for 2010-04
Re: pfs-destroy failed
On Fri, Apr 23, 2010 at 02:18:14PM +0530, Siju George wrote:
> Since hammer cleanup core dumped while directly using on the pfs I
> tried to make all operations through the symlink.
> But pfs-destroy failed then. later succeeded when using it directy on the pfs.
Similar thing occurred to me the other day when I force-umount'ed a PFS
then attempted to pfs-destroy it. The snapshot symlink looked just like
> lrwxr-xr-x 1 root wheel 10 Apr 23 12:14 www-hot ->
What I did eventually was using the sync-end-tid instead of the symlink
$ hammer pfs-status /pfs/that_ | grep sync-end-tid
$ cd /pfs
$ hammer pfs-destroy @@0x00000002e39a4640:00004
NOTE: be prepared to a potential crash, even though I didn't get one :)