gtar on zfs snapshots
Attila Bogár
attila.bogar at linguamatics.com
Tue Mar 29 15:16:03 UTC 2011
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
More information about the freebsd-ports-bugs
mailing list