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

Re: pfs-destroy failed


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Fri, 23 Apr 2010 18:30:54 +0900

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 :)



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