Ancan Posted September 13, 2019 Share Posted September 13, 2019 Hi all, I'm trying out Unraid as a platform for my new NAS, and pulled a disk to see the impact on the array. I'm bit surprised actually, because I pulled the disk 30 minutes ago, and so far nothing has happened except a popup about twenty or so read errors. You would think completely removing a disk from an array would cause some distress, but it's still green in the interface and I can browse the structure (but not download). What's the expected behavious here really? Because I thought I'd get a big red warning about a dead disk. Quote Link to comment
HNGamingUK Posted September 13, 2019 Share Posted September 13, 2019 (edited) 8 minutes ago, Ancan said: Hi all, I'm trying out Unraid as a platform for my new NAS, and pulled a disk to see the impact on the array. I'm bit surprised actually, because I pulled the disk 30 minutes ago, and so far nothing has happened except a popup about twenty or so read errors. You would think completely removing a disk from an array would cause some distress, but it's still green in the interface and I can browse the structure (but not download). What's the expected behavious here really? Because I thought I'd get a big red warning about a dead disk. I haven't tested myself, however when removing a disk without shutting array down etc. It should detect this and then emulate the storage using parity data. I would expect it to also show a notification stating something along the lines of "disk not detected" Edited September 13, 2019 by Conmyster Quote Link to comment
Ancan Posted September 13, 2019 Author Share Posted September 13, 2019 (edited) 14 minutes ago, Conmyster said: I haven't tested myself, however when removing a disk without shutting array down etc. It should detect this and then emulate the storage using parity data. Nothing yet. Except a "*" on the disk temperature and up to 32 errors now. Still green otherwise. By now I ideally should have had a mail in my inbox and be on my way to the store for a replacement. Hmm... Edit: I *love* how you can just paste images from the clipboard into the forum here (Ok, I somehow get double attachments when I do it but it 10 x beats saving the image and uploading it) Edited September 13, 2019 by Ancan PS Quote Link to comment
HNGamingUK Posted September 13, 2019 Share Posted September 13, 2019 (edited) 27 minutes ago, Ancan said: Nothing yet. Except a "*" on the disk temperature and up to 32 errors now. Still green otherwise. By now I ideally should have had a mail in my inbox and be on my way to the store for a replacement. Hmm... Edit: I *love* how you can just paste images from the clipboard into the forum here (Ok, I somehow get double attachments when I do it but it 10 x beats saving the image and uploading it) If you setup the notification system under Settings > Notification Settings Then it should of notified you of the errors on the drive... I would need to test myself though Edit: After pulling my disk 5, I got a notification within 5 seconds (Discord) This is what my main screen looks like too: After this I stopped the array, unassigned the device, started the array. Then stopped the array and reassigned the device and started the array. Data is now rebuilding fine. Edited September 13, 2019 by Conmyster Quote Link to comment
Ancan Posted September 13, 2019 Author Share Posted September 13, 2019 (edited) 24 minutes ago, Conmyster said: If you setup the notification system under Settings > Notification Settings Then it should of notified you of the errors on the drive... I would need to test myself though Edit: After pulling my disk 5, I got a notification within 5 seconds (Discord) This is what my main screen looks like too: After this I stopped the array, unassigned the device, started the array. Then stopped the array and reassigned the device and started the array. Data is now rebuilding fine. Kudos on commitment for pulling a drive! I've got notifications set to "browser" only while I'm testing, and haven't seen anything except the "errors" popup. Disk still green in the GUI, even though it's sitting here on my desk. I should mention that my paritity is not fully synchronized yet, and was not when I pulled the disk. I'm being cruel I know. I validate enterprise storage installations as part of my job, and am a bit damaged by that probably. Edited September 13, 2019 by Ancan wording Quote Link to comment
HNGamingUK Posted September 13, 2019 Share Posted September 13, 2019 17 minutes ago, Ancan said: Kudos on commitment for pulling a drive! I've got notifications set to "browser" only while I'm testing, and haven't seen anything except the "errors" popup. Disk still green in the GUI, even though it's sitting here on my desk. I should mention that my paritity is not fully synchronized yet, and was not when I pulled the disk. I'm being cruel I know. I validate enterprise storage installations as part of my job, and am a bit damaged by that probably. Ah okay, I'm unsure on how it would deal with loosing a drive during a parity sync. As I'm aware most single parity hardware raid (say raid 5) would just die. And I don't have a system to test that with myself. Quote Link to comment
Ancan Posted September 13, 2019 Author Share Posted September 13, 2019 (edited) Parity is now green as well. Just as green as Toshiba disk on my desk here beside me. Perhaps I should post on the bug-forum instead? I'll stop the array now, and replace the Toshiba with a new disk instead. Let's hope Unraid will let go of it then. Edit: About time!!! Edited September 13, 2019 by Ancan Quote Link to comment
HNGamingUK Posted September 13, 2019 Share Posted September 13, 2019 8 minutes ago, Ancan said: Parity is now green as well. Just as green as Toshiba disk on my desk here beside me. Perhaps I should post on the bug-forum instead? I'll stop the array now, and replace the Toshiba with a new disk instead. Let's hope Unraid will let go of it then. Edit: About time!!! Ah so likely due to the parity sync running. Although I don't think that should be the correct course of action by unraid.... Quote Link to comment
Ancan Posted September 13, 2019 Author Share Posted September 13, 2019 Just now, Conmyster said: Ah so likely due to the parity sync running. Although I don't think that should be the correct course of action by unraid.... No I think there's room for improvement here. I bit worried about the lack of notifications. Quote Link to comment
HNGamingUK Posted September 13, 2019 Share Posted September 13, 2019 2 minutes ago, Ancan said: No I think there's room for improvement here. I bit worried about the lack of notifications. Yeh I'm unsure why it waited for the parity sync for it to display a notification about the removed disk.. Would need a more experienced user with unraid to see why... Quote Link to comment
Squid Posted September 13, 2019 Share Posted September 13, 2019 It would take an access to the drive read or write for it to know it's not thereSent from my NSA monitored device Quote Link to comment
JonathanM Posted September 13, 2019 Share Posted September 13, 2019 While this behaviour is a little unsettling, and possibly should be modified, I can see why it probably happened. Parity is built walking the disk sectors in order. Since the disk you pulled was only a 500GB, and you were building to 6TB of parity, the disk was already not being read because the parity build process was beyond the 500GB mark. Its contents (and all the other drives to that point) were already written to parity and being emulated by the rest of the drives. I suspect if you had read file contents or written to that drive, it would have immediately failed and warned you, but since all you did was browse the TOC that was most likely in RAM, no activity was actually asked of the disk, so unraid didn't know it was missing. Since one of the main selling points of unraid is the ability to keep some drives spun down if they are not needed, I think some effort has been put into not actively poking drives just to be sure they are there. Unraid only fails a drive when a write to it errors out, so it's quite conceivable that a failed drive could hang out in the array for some time without being noticed. Regularly scheduled parity checks (typically monthly) are a way to be sure little used drives are still capable of participating in a rebuild should they be called into action. Quote Link to comment
JonathanM Posted September 13, 2019 Share Posted September 13, 2019 2 minutes ago, Squid said: It would take an access to the drive read or write for it to know it's not there So you wait 3 hours to snipe my post?🤣 Quote Link to comment
Squid Posted September 14, 2019 Share Posted September 14, 2019 beat you by a minute Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.