Old 11-05-2019, 10:27 AM   #41
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 24,940
Default

Quote:
Originally Posted by clepsydrae View Post
I guess another experiment could also be to unplug a SATA HD while recording, but I'm not going to do it. :-)
Yea, me either but that's going to instantly lock up the machine - ask me how I know that.
__________________
If it requires a null test to find it, it is by definition minuscule.
karbomusic is offline   Reply With Quote
Old 11-05-2019, 10:42 AM   #42
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 2,453
Default

Is there a software method to sort of do the same? I'd guess a kernel would probably refuse, but is there a "forcible unmount even if device is in use"?
clepsydrae is offline   Reply With Quote
Old 11-05-2019, 10:48 AM   #43
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 24,940
Default

Quote:
Originally Posted by clepsydrae View Post
Is there a software method to sort of do the same? I'd guess a kernel would probably refuse, but is there a "forcible unmount even if device is in use"?
I think it has to be hot-pluggable and likely need to manually dismount like you would any USB drive IIRC. I couldn't tell which of the 3TB drives it was in the list so I took the chance and yanked = instant freeze.
__________________
If it requires a null test to find it, it is by definition minuscule.
karbomusic is offline   Reply With Quote
Old 11-05-2019, 10:50 AM   #44
serr
Human being with feelings
 
Join Date: Sep 2010
Posts: 8,422
Default

I just tried the test of recording to a USB connected drive and pulling the USB cable while running. Reaper just keeps on rolling with no error! So, confirmed here in OSX too.

I haven't taken a deep dive and I'm probably not going to. I wonder of this is just a shortcoming of USB - some lack of hand-shaking somewhere - as opposed to Reaper failing to respond to a write error. The device 'disappearing' should provoke a device not responding error and shut everything trying to use it right down.

Or... maybe USB just is what it is and should be kept to keyboards, mice, MIDI controllers, and backup drive volumes only. Don't record to your back drive! Manage your drive space if you're running out of room before the show.

If it IS Reaper ignoring an error... well there you go.
If it's a shortcoming of USB, maybe Reaper could go the extra mile and give a warning alert? "Attention! You have selected a USB connected drive for the project. Successful recording to a USB drive cannot be guaranteed and you may lose the recording! It is recommended to select a PCI, SATA, firewire or thunderbolt connected drive."

PS. The recorded files were intact right up to the point I pulled the cable. I think Karbo had the same result with that? So... something crashed with OP's USB drive RIGHT after the files were initially created and still zero size. Damn thing was recording to Never Never Land on you from the very first moment it appears!
serr is offline   Reply With Quote
Old 11-05-2019, 11:03 AM   #45
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 24,940
Default

If I missed anything, reply with corrections additional info...

https://forum.cockos.com/showthread....85#post2199385
__________________
If it requires a null test to find it, it is by definition minuscule.
karbomusic is offline   Reply With Quote
Old 11-05-2019, 11:11 AM   #46
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 2,453
Default

A+

Found the same issue on linux, too.
clepsydrae is offline   Reply With Quote
Old 11-06-2019, 01:33 AM   #47
drumphil
Human being with feelings
 
drumphil's Avatar
 
Join Date: Jun 2006
Location: Australia
Posts: 3,550
Default

Quote:
Originally Posted by karbomusic View Post
Yea, me either but that's going to instantly lock up the machine - ask me how I know that.
Is that true if the drive you disconnect isn't the operating system drive?

I have enough spare disposable hardware that I will test and see what happens. I'll set up a machine with a second drive for the audio data and give it a try.
drumphil is online now   Reply With Quote
Old 11-06-2019, 08:07 AM   #48
vassaux
Human being with feelings
 
Join Date: Apr 2015
Location: Central Ohio
Posts: 117
Default

Sorry, upon further review, my question was irrelevant. Carry on...
vassaux is offline   Reply With Quote
Old 11-06-2019, 08:47 AM   #49
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 24,940
Default

Quote:
Originally Posted by drumphil View Post
Is that true if the drive you disconnect isn't the operating system drive?
Yes. It's the reason "hot-pluggable" is a thing. However, if you have a hot-pluggable drive and you eject it formally, you should be able to remove it while the machine is running.
__________________
If it requires a null test to find it, it is by definition minuscule.
karbomusic is offline   Reply With Quote
Old 11-07-2019, 06:19 AM   #50
drumphil
Human being with feelings
 
drumphil's Avatar
 
Join Date: Jun 2006
Location: Australia
Posts: 3,550
Default

I swear that I've done this before, and the result wasn't an instant crash, but I'll get back to you on that once I've actually tried it again deliberately.
drumphil is online now   Reply With Quote
Old 11-07-2019, 07:30 AM   #51
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 24,940
Default

I suppose it's possible it doesn't freeze the machine every time but not sure why anyone would want to take the chance.
__________________
If it requires a null test to find it, it is by definition minuscule.
karbomusic is offline   Reply With Quote
Old 11-07-2019, 08:41 AM   #52
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 2,453
Default

Is there no value in doing this test to see how reaper might react if a bad SATA drive suddenly dies? I don't know the gory details, but it seemed like a test worth doing just for the heck of it, if one had disposable hardware handy like drumphil said.
clepsydrae is offline   Reply With Quote
Old 11-07-2019, 08:55 AM   #53
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 24,940
Default

Quote:
Originally Posted by clepsydrae View Post
Is there no value in doing this test to see how reaper might react if a bad SATA drive suddenly dies? I don't know the gory details, but it seemed like a test worth doing just for the heck of it, if one had disposable hardware handy like drumphil said.
I'm all for the test, I just think yanking an actual drive aka not over USB is going to risk problems bigger than the DAW's reaction to it. Similar to why I wouldn't yank a memory stick or a PCIe device while the machine is running no matter what the app is in question. Having to find a junk machine to test sort of hints at the reasoning - I certainly don't mind if someone tries it though.
__________________
If it requires a null test to find it, it is by definition minuscule.

Last edited by karbomusic; 11-07-2019 at 09:53 AM.
karbomusic is offline   Reply With Quote
Old 11-07-2019, 09:45 AM   #54
drumphil
Human being with feelings
 
drumphil's Avatar
 
Join Date: Jun 2006
Location: Australia
Posts: 3,550
Default

I've got computer hardware coming out my bunghole, so there is no real cost to me to give it a try.

I'll get back to you with the results.

I can see something like 20 motherboards and hard drives lying around from where I'm sitting drinking my beer.

I've got that much crap here that it wouldn't trouble me to try it with a modern i7 system with a 1tb SSD drive.

Give me a couple of days and I'll report back with some results.

I'll do the experiment with an old fashioned spinning rust HDD, and with a SSD.


I'm curious enough to give it a try, and whatever the result, maybe we'll all have a bit more insight as to what's going on.

Last edited by drumphil; 11-07-2019 at 10:01 AM.
drumphil is online now   Reply With Quote
Old 11-07-2019, 12:52 PM   #55
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 2,453
Default

Great, looking forward to the results. :-)
clepsydrae is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.