pfs-destroy failed

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Fri Apr 23 02:34:47 PDT 2010


On Fri, Apr 23, 2010 at 02:18:14PM +0530, Siju George wrote:
> Hi,
> 
> 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
yours:

> lrwxr-xr-x  1 root  wheel      10 Apr 23 12:14 www-hot ->
> @@0x0000000000000001:00004

What I did eventually was using the sync-end-tid instead of the symlink

$ hammer pfs-status /pfs/that_ | grep sync-end-tid
    sync-end-tid=0x00000002e39a4640

$ cd /pfs
$ hammer pfs-destroy @@0x00000002e39a4640:00004

NOTE: be prepared to a potential crash, even though I didn't get one :)





More information about the Users mailing list