<div dir="ltr"><div><div>Hello Antonio,<br><br></div>Thanks on clearing that out.<br></div>Merry Christmas and a Happy New Year to you and all the guys in the team  :) <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 23, 2014 at 9:45 PM, Antonio Huete Jiménez <span dir="ltr"><<a href="mailto:tuxillo@quantumachine.net" target="_blank">tuxillo@quantumachine.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've been taking a look at the manpage and it does specify the snapshots go to the directory specified only upon 'hammer cleanup'. But there is no mention to the snapshot dir for normal 'hammer snap' calls.<br>
If we force the snapshots' symlinks to always go to the directory specified then somebody could complain that they are not created in the current directory and instead they go to the snapshots directory.<br>
<br>
In any case this is the expected behavior in the current implementation but *I* think it would be better if they went to the snapshots directory unless another directory is specified, but for this we'd have to add the code to handle it.<br>
<br>
Cheers,<br>
Antonio Huete<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
Quoting Antonio Huete Jiménez <<a href="mailto:tuxillo@quantumachine.net" target="_blank">tuxillo@quantumachine.net</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Rohit,<br>
<br>
I'll have a look at this later today.<br>
<br>
Cheers,<br>
Antonio Huete<br>
<br>
Quoting Rohit Menon <<a href="mailto:rohit.forum33@gmail.com" target="_blank">rohit.forum33@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have currently configured a PFS with status as given below.<br>
<br>
/Backup3/vms-lxc    PFS #1 {<br>
   sync-beg-tid=<u></u>0x0000000000000001<br>
   sync-end-tid=<u></u>0x0000000121e5d400<br>
   shared-uuid=3df3d26e-8552-<u></u>11e4-8192-4587fc6b58f4<br>
   unique-uuid=3df3d298-8552-<u></u>11e4-8192-4587fc6b58f4<br>
   label=""<br>
   *snapshots="/Backup4/pfs-<u></u>snapshots/vms-lxc"*<br>
   prune-min=00:00:00<br>
   operating as a MASTER<br>
}<br>
<br>
As can be seen the the snapshot directory is configured to another disk.<br>
However the snapshots are being taken in the pfs itself.<br>
<br>
dfly-bkpsrv2# pwd<br>
/Backup3/pfs/@@-1:00001<br>
<br>
ls<br>
<br>
<br>
lrwxr-xr-x  1 root  wheel  37 Dec 18 14:30 snap-20141218-1430 -><br>
/Backup3/vms-lxc/@@<u></u>0x0000000119445e90<br>
lrwxr-xr-x  1 root  wheel  37 Dec 19 14:30 snap-20141219-1430 -><br>
/Backup3/vms-lxc/@@<u></u>0x0000000000000000<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms1<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms2<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms3<br>
drwxr-xr-x  1 root  wheel   0 Dec 18 16:59 vms4<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms5<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms6<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms7<br>
drwxr-xr-x  1 root  wheel   0 Dec 17 01:13 vms8<br>
<br>
<br>
As a side note the snapshots are taken via *crontab *instead of using the<br>
default settings.<br>
<br>
<br>
30 14 * * * hammer snap /Backup3/vms-lxc "rsync"<br>
<br>
<br>
<br>
I can see that there is hammer snapshot where I can specify the behaviour,<br>
however shouldn't the above command take a backup to<br>
<br>
<br>
*/Backup4/pfs-snapshots/vms-<u></u>lxc*<br>
</blockquote></blockquote>
<br>
<br>
</div></div></blockquote></div><br></div>