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

Re: slave pfs destruction fails initially - pfs-destroy of PFS#1 failed: Directory not empty


From: Siju George <sgeorge.ml@xxxxxxxxx>
Date: Mon, 3 May 2010 10:42:20 +0530

On Sun, May 2, 2010 at 2:02 AM, Matthew Dillon
<dillon@apollo.backplane.com> wrote:
>
> :Yes I killed all mirror stream prosessess and cheked with ps auwx
> :
> :thanks
> :
> :--Siju
>
>    It returns that error when it is unable to completely clean out the
>    B-Tree for the PFS in question.  Normally this only happens if something
>    is writing to PFS while it is being destroyed, or if someone is CD'd
>    into the PFS (like at a shell prompt or something CD'd into it).
>
>    It can also happen if the PFS's B-Tree has a CRC error on one or
>    more entries.
>
>    Maybe try doing it from single-user or after a fresh reboot if you
>    can't find the process(es) CD'd into the PFS.
>

I found out that it gives the error in my case because there is a / at
the end of the pfs when I use tab for auto complete :-)


dfly-bkpsrv# hammer pfs-master projects-doc
Creating PFS #7 succeeded!
projects-doc
    sync-beg-tid=0x0000000000000001
    sync-end-tid=0x00000001e5d74e80
    shared-uuid=c1630b02-5671-11df-b715-011617202aa6
    unique-uuid=c1630b40-5671-11df-b715-011617202aa6
    label=""
    prune-min=00:00:00
    operating as a MASTER
    snapshots directory defaults to /var/hammer/<pfs>
dfly-bkpsrv# hammer pfs-destroy projects-doc/
You have requested that PFS#7 () be destroyed
This will irrevocably destroy all data on this PFS!!!!!
Do you really want to do this? y
This PFS is currently setup as a MASTER!
Are you absolutely sure you want to destroy it? y
Destroying PFS #7 () in  5 4 3 2 1.. starting destruction pass
pfs-destroy of PFS#7 failed: Directory not empty
dfly-bkpsrv# hammer pfs-destroy projects-doc
You have requested that PFS#7 () be destroyed
This will irrevocably destroy all data on this PFS!!!!!
Do you really want to do this? y
Destroying PFS #7 () in  5 4 3 2 1.. starting destruction pass
pfs-destroy of PFS#7 succeeded!
dfly-bkpsrv# hammer pfs-master projects-doc
Creating PFS #7 succeeded!
projects-doc
    sync-beg-tid=0x0000000000000001
    sync-end-tid=0x00000001e5d74e00
    shared-uuid=a7c559b1-5671-11df-b715-011617202aa6
    unique-uuid=a7c559ee-5671-11df-b715-011617202aa6
    label=""
    prune-min=00:00:00
    operating as a MASTER
    snapshots directory defaults to /var/hammer/<pfs>
dfly-bkpsrv# hammer pfs-destroy projects-doc
You have requested that PFS#7 () be destroyed
This will irrevocably destroy all data on this PFS!!!!!
Do you really want to do this? y
This PFS is currently setup as a MASTER!
Are you absolutely sure you want to destroy it? y
Destroying PFS #7 () in  5 4 3 2 1.. starting destruction pass
pfs-destroy of PFS#7 succeeded!




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