Hammer ghost slave PFS

2010-04-11 Thread Steve O'Hara-Smith
Hi, I have a ~1TB hammer filesystem with two slave PFSs on it that seems to be using more space than I can account for. I was looking into it when I noticed this in hammer info PFS ID ModeSnaps Mounted on 0 MASTER 3 /data 1 SLAVE

Re: Hammer ghost slave PFS

2010-04-11 Thread Antonio Huete Jimenez
Hi Steve, What is it listed in /pfs dir? Cheers, Antonio Huete 2010/4/11 Steve O'Hara-Smith st...@sohara.org:        Hi,        I have a ~1TB hammer filesystem with two slave PFSs on it that seems to be using more space than I can account for. I was looking into it when I noticed this in

Re: Hammer ghost slave PFS

2010-04-11 Thread Steve O'Hara-Smith
Hi Antonio, There is no /pfs dir - the two slaves were created by hammer mirror-copy and live in fs/backup/ which looks like this: ls -l /data/backup/ total 0 lrwxr-xr-x 1 root wheel 10 Dec 12 06:45 df1.marelmo.com-home - @@0x000878898420:2 lrwxr-xr-x 1 root wheel

Re: Hammer ghost slave PFS

2010-04-11 Thread Antonio Huete Jimenez
Steve, Can you please try this patch? diff --git a/sbin/hammer/cmd_info.c b/sbin/hammer/cmd_info.c index 946d3c8..12e5246 100644 --- a/sbin/hammer/cmd_info.c +++ b/sbin/hammer/cmd_info.c @@ -160,7 +160,7 @@ show_info(char *path) /* Pseudo-filesystem information */

Re: Hammer ghost slave PFS

2010-04-11 Thread Antonio Huete Jimenez
In fact you could access any of your slave PFSs with TID -1: # hammer pfs-status @@-1:00011 @@0x:00011 PFS #11 { sync-beg-tid=0x0001 sync-end-tid=0x000127fbb1c0 shared-uuid=9970d0f9-0f10-11df-acc1-9bd6198bd0ab

Re: Hammer ghost slave PFS

2010-04-11 Thread Steve O'Hara-Smith
On Sun, 11 Apr 2010 13:12:32 +0200 Antonio Huete Jimenez ahuete.de...@gmail.com wrote: In fact you could access any of your slave PFSs with TID -1: ... If you want to wipe it out, just do this: # ln -s @@0x00010a543830:9 /todestroy # hammer pfs-destroy /todestroy Probably