-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ltfs_ordered_copy is really slow #334
Comments
I believe this doesn't depend on the drive but depends on the version of LTFS. Which LTFS version are you using on From the log of
The LTFS you are using needs to return a correct data against VEAs, Once The code below is your reference. ltfs/src/utils/ltfs_ordered_copy Lines 61 to 78 in 42c0871
|
Im using this version: Does it matter if the drive was NOT written with ltfs_order_copy? |
If Im copying to the tape it seems to detect LTFS Tape order aware copy for LTFS |
I would like to check the LTFS returns VEA correctly. Could you try the commands below against a source file ? Linux:
Mac:
|
now I got it working root@pop-os:/home/rezo# find /ltfs -type f | ./ltfs_ordered_copy -t /smbnasusb --keep-tree=/ltfs On disk sources: 0 The issue was with the xattr python library, some functions are renamed |
Thank you for your investigation. And it is interesting... I confirmed the functions you pointed out was obsoleting from v0.4. So it is a time to with to new functions as you fixed. I will do that in the near future. |
for me on python 3.9, without this change the script just breaks and will not run python3-xattr is already the newest version (0.9.7-1+b1). module "xattr" has no attribute "get" |
I tried to work this today but I realize something funny. From the document of pyxattr module, The Could you confirm you are using the
|
I was using the xattr module, not pyxattr, the script seems to work with some small changes with xattr however |
can you provide the edit verion of the script please? on freebsd its just broken nomatter what i try :/ |
Hi,
Im still trying to understand what is the best way to retrieve files in batch from LTFS. The ltfs_ordered_copy takes ages to retrieve couple of hundreds of megs and it seems the drive is constantly seeking. Are HP drives supported at all? Thanks
Z.
After 40 minutes, I was only able to retrieve 17 files (cca. 20 megs each)
The text was updated successfully, but these errors were encountered: