I did not want to duplicate this thread, so I am posting here. I am running into the same issue. I am trying create multiple 1TB .tar files as part of a backup routine using the -M option with the tar utility.
My tar command looks like this:
Code:
tar -cM --file=Backup_A.tar --file=Backup_B.tar --file=Backup_C.tar --file=Backup_D.tar --file=Backup_E.tar --file=Backup_F.tar --file=Backup_G.tar --file=Backup_H.tar --tape-length=1T /DirToBackup
When tar got to the end of the first 1TB .tar file, it through out a message that said
Code:
:file name too long to be stored in a gnu multi volume header, truncated
after the name of file with a really long path. Based on some quick research, this seems to only be an issue when a file with a long path is straddling two archive files. This looks like the same bug referenced in this original post. Is there any work around or solution for this issue?
Tar version is 1.28. Running Ubuntu Server 16.04.