Skip to content
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

LTO/LTFS wear parameters #488

Open
642583918 opened this issue Nov 12, 2024 · 3 comments
Open

LTO/LTFS wear parameters #488

642583918 opened this issue Nov 12, 2024 · 3 comments
Labels

Comments

@642583918
Copy link

I found two parameters about wear in LTO SCSI documentation, namely "Begining of medium passes" and "Middle of tape passes".

But I wrote the entire tape and found that there was no change in these two parameters.

sg_logs -a /dev/xxx | grep passes

Regarding wear, are there any problems with the two parameters I observed? If so, does LTO provide other wear parameters?

@piste-jp
Copy link
Member

You can fetch the log page with VEA ltfs.vendor.IBM.logPage while tape is mounting by LTFS.

Please check the code src/libltfs/xattr.c.

Counter value itself is not a scope of this project, it shall be managed by H/W vendors. Please contact to drive hardware vendors if you rally think the value is strange.

@642583918
Copy link
Author

I am using LTO5 device, I saw the ltfs.mediaBeginningMediumPasses and ltfs.mediaMiddleMediumPasses params in SINA-LTFS-Format-v2.5-Technical-Position document and ltfs code.

If the hardware does not provide data, is it a problem with the connection between ltfs and hardware?

Thanks!

@piste-jp
Copy link
Member

No, it is not a problem of the connection at all.

LTFS just reports an error against getxattr() API if a drive does not report any value against a request. errno depends on the symptom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants