Project

General

Profile

Actions

Bug #1115

closed

HAMMER:hammer prune-everything's problem

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by swildner over 16 years ago

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

Sascha

Actions #2

Updated by lhmwzy over 16 years ago

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

Actions #3

Updated by swildner over 16 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

Actions #4

Updated by dillon over 16 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
<>
Actions #5

Updated by dillon over 16 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
<>
Actions #6

Updated by lhmwzy over 16 years ago

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

Actions #7

Updated by corecode almost 16 years ago

pilot trouble, no bug

Actions

Also available in: Atom PDF