Login
You're viewing the code4lib.social public feed.
  • Oct 24, 2024, 5:31 PM

    I am once more looking at solutions to index my cold storage in a way that'd let me search it with regular tools like grep, fzf or browser
    the files as if the disk was there.
    My new idea is - I could use find command to touch empty files recreating an archival disk filesystem tree, just without the actual data.
    It might even be possible to do a deep index that includes files inside compressed archives (these are pretty unsearchable), maybe even filesystem images?
    #Linux #search #Index #files

    💬 1🔄 1⭐ 0

Replies

  • Oct 24, 2024, 6:04 PM

    @unfa with cold storage in this context, you mean you have some read-only access to files on another, remote host? Or even colder, no direct access to the remote host at all?
    I also don't know a direct solution for this. Some read-only network filesystem access, like NFS or sshfs?, would still have a pretty slow grep etc, as they'd have to download all data first...

    💬 1🔄 0⭐ 0
  • Oct 24, 2024, 6:37 PM

    @T_X In my case the cold storage are HDDs with archived data that are offline and only fetched when needed.
    I am thinking about ways to be able to search contents of these drives without needing to connect them.

    I am wondering if maybe Baloo could do this - I've defined unique mountpoints for each archival drive so I guess if I index them, I should be able to use something like KFind to search the index and show me files that are on the offfline drives?

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0