Jean-Louis,

On Tue, Oct 20, 2009 at 11:50:34AM -0400, Jean-Louis Martineau wrote:
> It create one snapshot for each DLE.

Yes, however I'm afraid that if it creates a single disklist
for a glob, for instance /export/home/a*, creates snapshot /export/home
which I think would be acceptable.

But 'attempts' to create the same snapshot for glob /export/home/b*
and /export/home/c* those # zfs create snapshots will fail, which
may not actually be a problem.

However, when any of those globs completes and attempts to remove
the snapshot -- what will happen to the remaining dumps. They will
all lose their snapshots! (I think.)

I was hoping to have a snapshot for each of the directories within
the glob /export/home/a* which will work (on my system) since each
of the user directories is itself a mount point.

I recognize that there is no way to snapshot all of the As and then
all of the Bs.

I don't think there is a mechanism to maintain 'the' snapshot
until all of the globs complete. There is no cross-glob coordination.

> Can you post the disklist file so I can interpret the debug file correctly.

The disklist posted differs only in that for the -A glob we ran with
zfs-snapshot rather than user-tar.

                                                thank you,

                                                Brian

> Jean-Louis
> 
> Brian Cuttler wrote:
> >Jean-Louis,
> >
> >From directory (on the client) /tmp/amanda/client
> >
> >[finsen/tmp/amanda/client] pwd
> >/tmp/amanda/client
> >
> >[finsen/tmp/amanda/client] tar -cf /tmp/amzfs-snapshots.tar 
> >Amzfs_snapshot.20091019*
> >
> >
> >
> >
> >On Tue, Oct 20, 2009 at 11:21:55AM -0400, Jean-Louis Martineau wrote:
> >  
> >>Brian,
> >>
> >>What is the path of the snapshot, post the 
> >>Amzfs_snapshot.20091019*.debug files.
> >>
> >>Jean-Louis
> >>
> >>Brian Cuttler wrote:
> >>    
> >>>Jean-Louis,
> >>>
> >>>I reconfigured one of my globs to use dumptype zfs-snapshot
> >>>rather than user-tar. Backups ran well but I believe that we
> >>>did a single snapshot of /export/home rather than a snapshot
> >>>of /export/home/a* for each of the 'a' directories.
> >>>
> >>>I think this because when I look on the client system in the
> >>>/tmp/amanda/client directory, at the Amzfs_snapshot.20091019*.debug
> >>>files I see sepatate zfs snapshots for things like /export/samba/<shares>
> >>>but only the single snapshot for /export/home and not unique snapshots
> >>>for 
> >>>
> >>>[finsen/tmp/amanda/client] cd /export/home
> >>>[finsen/export/home] ls -ld a*
> >>>drwxr-xr-x   2 agaupel  users          4 Aug 25 09:46 agaupel
> >>>drwxr-xr-x   2 along    users          4 Sep 11 13:37 along
> >>>drwxr-xr-x   5 amanda   sys           12 Sep 24 13:46 amanda
> >>>drwxrwxr-x   2 daver    root           3 Aug 27 15:44 amandaScript
> >>>drwxr-xr-x   2 anarmand users          4 Sep 23 09:37 anarmand
> >>>drwxr-xr-x   2 aroselan users          4 Oct 15 10:46 aroselan
> >>>
> >>>While this may work fine for a limited number of a* directories
> >>>I'm afraid of what will happen if I again try to produce a
> >>>snapshot for the b* directories.
> >>>
> >>>It may be that the snapshot create fails after the first successfull
> >>>attempt, but what happens when the first glob completes dumping and
> >>>attempts to remove the snapshot ?
> >>>
> >>>I will revert that glob to user-tar dumptype for the time being.
> >>>
> >>>                                           thank you,
> >>>
> >>>                                           Brian
> >>> 
> >>>      
> >---
> >   Brian R Cuttler                 [email protected]
> >   Computer Systems Support        (v) 518 486-1697
> >   Wadsworth Center                (f) 518 473-6384
> >   NYS Department of Health        Help Desk 518 473-0773
> >
> >
> >
> >IMPORTANT NOTICE: This e-mail and any attachments may contain
> >confidential or sensitive information which is, or may be, legally
> >privileged or otherwise protected by law from further disclosure.  It
> >is intended only for the addressee.  If you received this in error or
> >from someone who was not authorized to send it to you, please do not
> >distribute, copy or use it or any attachments.  Please notify the
> >sender immediately by reply e-mail and delete this from your
> >system. Thank you for your cooperation.
> >
> >  
> 
---
   Brian R Cuttler                 [email protected]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


curie  /              comp-root
curie  /export        zfs-snapshot
#curie  /thump         zfs-snapshot
#curie  /thump/vmfs-bak user-tar
curie  /thump/vmfs-bak zfs-snapshot
#curie  /thump/flar    zfs-snapshot
curie  /export/flar    zfs-snapshot
curie  /thump/source  zfs-snapshot

trel   /Users       comp-user-tar
#trel   /trel        user-tar
trel   /trelAQ /trel   {
        user-tar
        include "./[A-Q]*"
        }

trel   /trelRZ /trel   {
        user-tar
        include "./[R-Z]*"
        }

# added 7-apr-2009
# Panther
panther  /          comp-root
panther  /data      comp-user
#
mailserv /          comp-root
# 11-aug-2009, ufsdump not completing level 0
mailserv /usr1      comp-user
#mailserv /usr1      nocomp-user-tar
# august 20, 2009 I see we have a new disk, /usr2 - dadded it - daver
mailserv /usr2   comp-user
#
# added 8-Apr-2009
everest /images3    comp-user-bsd
#
#loki    /           comp-user-tar
#
# added 21-apr-2009
ngato   /           comp-root
#
# added 21-apr-2009
nlascar   /          comp-root
nlascar   /boot      comp-root
nlascar   /var       comp-root
nlascar   /data      comp-root
#
# added 21-apr-2009
huginn    /          nocomp-root
#added 5/14/09 - daver
dnix    /       nocomp-root
dnix    /data1  nocomp-user
#
pavlov    /          comp-root
#
# added 22-apr-2009
#
squidone    /       comp-root
squidzone1  /sqcache1/squidguard  user-tar
squidzone1  /sqcache1/var         user-tar
#
squidtwo    /       comp-root
squidzone2  /sqcache2/squidguard  user-tar
squidzone2  /sqcache2/var         user-tar
#
gatem     /          nocomp-root
gatem     /usr1      nocomp-root
#
muninn /       comp-root
muninn /var    comp-user
#
# added 23-apr-2009
lyra     /          comp-root
#lyra     /ndevelop      user-tar
lyra     /ndevelop      zfs-snapshot
#lyra     /3rdparty      user-tar
lyra     /3rdparty      zfs-snapshot
#lyra     /space         user-tar
lyra     /space         zfs-snapshot
#lyra     /export/home0  user-tar
lyra     /export/home0  zfs-snapshot
#lyra     /db1       user-tar
#lyra     /db2       user-tar
#lyra     /db3       user-tar
#lyra     /db4       user-tar
lyra     /db1       zfs-snapshot
lyra     /db2       zfs-snapshot
lyra     /db3       zfs-snapshot
lyra     /db4       zfs-snapshot
#
# added 24-apr-2009
ldap1    /            comp-root
ldap1    /usr1        comp-user
ldap1    /export/home comp-user
#
# added 27-apr-2009
c110    /           comp-root
c110    /opt        comp-user
#
h220    /           comp-root
h220    /opt        comp-user
#
finsen  /           comp-root
finsen  /finsenp    zfs-snapshot 
#
# Special note, Finsen in CAPITALIZE in these comments because
# the check program I wrote looks for "f"insen and "zfs-snapshot"
# in the same line and if it finds it removes it from the file.
# - read the code to understand.
#
# below this line entries are subject to automated checks
# by zfs-list program, you will receive emails about any
# changes in the file, but below this line we hope to automate
# the "Finsen zfs-snapshot" partitions.
#
# The automatic check expects the entries below this line to
# not only be specific to Finsen, be zfs-snapshots but also
# to be in ALPHABETICAL order !!
#
finsen  /export zfs-snapshot
finsen  /export/home-AZ /export/home   {
        zfs-snapshot
        include "./[A-Z]*"
        }
finsen  /export/home-A /export/home   {
#        user-tar
        zfs-snapshot
        include "./[a]*"
        }
finsen  /export/home-B /export/home   {
        user-tar
        include "./[b]*"
        }
finsen  /export/home-C /export/home   {
        user-tar
        include "./[c]*"
        }
finsen  /export/home-D /export/home   {
        user-tar
        include "./[d]*"
        }
finsen  /export/home-E /export/home   {
        user-tar
        include "./[e]*"
        }
finsen  /export/home-F /export/home   {
        user-tar
        include "./[f]*"
        }
finsen  /export/home-G /export/home   {
        user-tar
        include "./[g]*"
        }
finsen  /export/home-H /export/home   {
        user-tar
        include "./[h]*"
        }
finsen  /export/home-I /export/home   {
        user-tar
        include "./[i]*"
        }
finsen  /export/home-J /export/home   {
        user-tar
        include "./[j]*"
        }
finsen  /export/home-K /export/home   {
        user-tar
        include "./[k]*"
        }
finsen  /export/home-L /export/home   {
        user-tar
        include "./[l]*"
        }
finsen  /export/home-M /export/home   {
        user-tar
        include "./[m]*"
        }
finsen  /export/home-N /export/home   {
        user-tar
        include "./[n]*"
        }
finsen  /export/home-O /export/home   {
        user-tar
        include "./[o]*"
        }
finsen  /export/home-P /export/home   {
        user-tar
        include "./[p]*"
        }
finsen  /export/home-Q /export/home   {
        user-tar
        include "./[q]*"
        }
finsen  /export/home-R /export/home   {
        user-tar
        include "./[r]*"
        }
finsen  /export/home-S /export/home   {
        user-tar
        include "./[s]*"
        }
finsen  /export/home-T /export/home   {
        user-tar
        include "./[t]*"
        }
finsen  /export/home-U /export/home   {
        user-tar
        include "./[u]*"
        }
finsen  /export/home-V /export/home   {
        user-tar
        include "./[v]*"
        }
finsen  /export/home-W /export/home   {
        user-tar
        include "./[w]*"
        }
finsen  /export/home-X /export/home   {
        user-tar
        include "./[x]*"
        }
finsen  /export/home-Y /export/home   {
        user-tar
        include "./[y]*"
        }
finsen  /export/home-Z /export/home   {
        user-tar
        include "./[z]*"
        }
finsen  /export/samba   zfs-snapshot
finsen  /export/samba/aiadm     zfs-snapshot
finsen  /export/samba/annemlab  zfs-snapshot
finsen  /export/samba/bdlshare  zfs-snapshot
finsen  /export/samba/bdlsharw  zfs-snapshot
finsen  /export/samba/btrp      zfs-snapshot
finsen  /export/samba/clepgete  zfs-snapshot
finsen  /export/samba/di        zfs-snapshot
finsen  /export/samba/didqa     zfs-snapshot
finsen  /export/samba/dihivpt   zfs-snapshot
finsen  /export/samba/dloadmin  zfs-snapshot
finsen  /export/samba/e260ikon  zfs-snapshot
finsen  /export/samba/educatio  zfs-snapshot
finsen  /export/samba/envirbio  zfs-snapshot
finsen  /export/samba/esscro    zfs-snapshot
finsen  /export/samba/histolab  zfs-snapshot
finsen  /export/samba/hivres    zfs-snapshot
finsen  /export/samba/iso       zfs-snapshot
finsen  /export/samba/lndata    zfs-snapshot
finsen  /export/samba/lnpkg     zfs-snapshot
finsen  /export/samba/lrnlabdb  zfs-snapshot
finsen  /export/samba/mbelfort  zfs-snapshot
finsen  /export/samba/mcdonough zfs-snapshot
finsen  /export/samba/mg_morse  zfs-snapshot
finsen  /export/samba/morselab  zfs-snapshot
finsen  /export/samba/parasit   zfs-snapshot
finsen  /export/samba/resboards zfs-snapshot
finsen  /export/samba/schmura   zfs-snapshot
finsen  /export/samba/sciteam   zfs-snapshot
finsen  /export/samba/seegimag  zfs-snapshot
finsen  /export/samba/sharcor   zfs-snapshot
finsen  /export/samba/sloanpis  zfs-snapshot
finsen  /export/samba/sphadmin  zfs-snapshot
finsen  /export/samba/tissue    zfs-snapshot
finsen  /export/samba/wcspace   zfs-snapshot

Reply via email to