Bug #1115

HAMMER:hammer prune-everything's problem

Added by lhmwzy over 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

My file system structure:
/www /www/mirror
When I delete files from /www/mirror and run "hammer prune-everything
/www",it does not free space for /www
Only free space by run "hammer prune-everything /www/mirror".
Is that a problem?
I think "hammer prune-everything /www" should free space for any sub
file system on /www.

History

#1 Updated by swildner over 6 years ago

You need to do e.g. 'hammer reblock /www'

Sascha

#2 Updated by lhmwzy over 6 years ago

It seems 'hammer reblock /www' doesn't free space.

#3 Updated by swildner over 6 years ago

Following the prune-everything, it should. Can you do:

hammer prune-everything /www
hammer reblock /www

..and after that give us the output of:

df -h
du -hs /www

Sascha

#4 Updated by dillon over 6 years ago

:My file system structure:
:/www /www/mirror
:When I delete files from /www/mirror and run "hammer prune-everything
:/www",it does not free space for /www
:Only free space by run "hammer prune-everything /www/mirror".
:Is that a problem?
:I think "hammer prune-everything /www" should free space for any sub
:file system on /www.

No, the reblocking and pruning commands are pre-PFS only. So you
have to run them both on /www and also on /www/mirror.

-Matt
Matthew Dillon
<>

#5 Updated by dillon over 6 years ago

: No, the reblocking and pruning commands are pre-PFS only. So you
: have to run them both on /www and also on /www/mirror.

Er I meant 'per-PFS' :-). The main mount counts as a PFS (PFS #0),
and any PFS you create with 'hammer pfs-master' or 'hammer pfs-slave'
is a PFS and must be pruned and reblocked separately.

-Matt
Matthew Dillon
<>

#6 Updated by lhmwzy over 6 years ago

OK,this is exactly what I meet.
I create /www/mirror with hammer pfs-master.
Tks.

#7 Updated by corecode almost 6 years ago

pilot trouble, no bug

Also available in: Atom PDF