Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2011 15:58:28 +0100
From:      =?ISO-8859-1?Q?Attila_Bog=E1r?= <attila.bogar@linguamatics.com>
To:        freebsd-ports-bugs@freebsd.org
Subject:   gtar on zfs snapshots
Message-ID:  <4D91F394.90908@linguamatics.com>

next in thread | raw e-mail | index | archive | help
Dear List,

I'm trying to use amanda's amzfs-snapshot plugin and it is failing.

The problem lies somewhere around gtar and is 100% reproducible.

This (issued by amanda) command fails:

/usr/local/bin/gtar --create --verbose --file - --directory 
/export/home/cambridge/abogar/.zfs/snapshot/amanda-_export_home_cambridge_abogar-current/ 
--one-file-system --listed-incremental 
/usr/local/var/amanda/gnutar-lists/files.linguamatics.com_export_home_cambridge_abogar_0.new 
--sparse --ignore-failed-read --totals . > /tmp/abogar.tar

/usr/local/bin/gtar: 
/export/home/cambridge/abogar/.zfs/snapshot/amanda-_export_home_cambridge_abogar-current: 
Cannot open: File name too long
/usr/local/bin/gtar: Error is not recoverable: exiting now

The fact is, that he amzfs-snapshot is creating snapshot with such a 
long name.  If I create a snapshot with different name like 
2011-03-29T06\:00, then the gtar works fine if issued manually.

Looks like a bug.  I searched the mailing archives, but I can't see 
anyone hit this bug yet.

Thanks,
   Attila




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D91F394.90908>