LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
256 stars 76 forks source link

ltfs_ordered_copy - object of type 'NoneType' has no len() #352

Closed D13410N3 closed 2 years ago

D13410N3 commented 2 years ago

When I'm trying to copy file to a tape with this command:

root@lto-test:~# ltfs_ordered_copy test.log /ltfs/test.log

I'm getting this error:

Tape order aware copy for LTFS
object of type 'NoneType' has no len()

Usual copying works well.

D13410N3 commented 2 years ago
 root@lto-test:~# ltfs_ordered_copy /root/123 -t /ltfs -r
 Tape order aware copy for LTFS
 Destination /ltfs is not LTFS
 On disk sources: 1
 Source tapes: 0
 Copying on 1 disk files with 8 threads
 File copy from disk is on going: 1/1
 Copied 1 files.

Worked with this syntax Maybe this will help someone