Everything posted by jrrjrr
-
Looking for app - dead-simple file upload
I'm looking for a simple upload app: upload a file from a web browser, see it appear in a directory on the server. Does anyone know of one, either within community apps, or in the broader Docker ecosystem? My main use case is getting files off of devices that have a web browser but do not have samba. Searching the existing community apps for "upload" mostly turns up file sharing apps, where you get a temporary secret link to share with others. I could make this work if the files were plainly visible on disk, but the first one I tried (Jirafeau) produced randomized file names. If I don't find something I might build one myself. Would anyone else find this useful? It might be a fun code golf project, seeing how little code it takes to achieve this. (I bet it could be done with a Dockerfile and a single script!)
-
Evict a disk before removing it?
Well, the whole thing just became moot: the old disks I dug out have errors, so I'm buying enough new disks to start from scratch. But also you've convinced me to give up on graceful gradual upgrades and just let rebuild do its thing. Thanks for your help everybody!
-
Evict a disk before removing it?
Now I'll ask an even newbier question: how do you manually move files between disks that belong to an unraid array? Can you individually mount the component disks? Do writes to those disks update parity? Which manual page describes this, so that I can ask fewer dumb questions?
-
Evict a disk before removing it?
I think I'm probably working with an incomplete picture of how unraid arrays work, or didn't go deep enough on how I imagine it could work . I'll expand my imaginary steps into more detail, and maybe you can point to the places where I'm wrong? Add new disk Unraid zeroes the drive and adds it to the array. Parity is unchanged because XOR. Evict old disk I tell unraid that I want to migrate all the data off of this drive in order to remove it. Unraid stops writing new files to the disk. Gradually move all the files off of the disk, onto the other disks, updating parity along the way. (at this point we have an empty filesystem, but not a zeroed disk) Zero the disk, updating parity along the way. Remove now-empty old drive - to be more clear, a now-zeroed old drive Scan/Rebuild parity? (just scan, I suppose, because parity should already be valid) I think this is basically the same as the Alternative method from that wiki page. So I guess I just want it to be a first-class supported feature, driven by a few clicks in the UI instead of a series of dangerous manual steps.
-
Evict a disk before removing it?
I'm doing a little bit of planning before I begin the evaluation period. To minimize how many new disks I need to buy, I intend to start with some older spare 4T disks, and then if I decide to keep Unraid, I'd swap in some 8T disks from the system I'm replacing. Reading through documentation, I don't have a great feeling about the disk upgrade process: https://wiki.unraid.net/Replacing_a_Data_Drive I was hoping for a process like this: Add new drive Evict old drive Remove now-empty old drive Scan/Rebuild parity? (seems like this could be a no-op) For #2, I imagine a feature where you tell Unraid that you want to retire the disk, and it moves all the data onto other disks. Basically it feels like the "voluntarily replace a good disk" process should be gentler and faster and less-risky than the "replace a failed disk" process. (with parity protection for the whole time) The closest thing I've found in the docs is the "Alternative method" for "Removing data disk(s)": https://wiki.unraid.net/Manual/Storage_Management#Removing_data_disk.28s.29 Have I missed anything? Is something like this on the roadmap for the future, or available via plugins?