I am pretty sure this bug is the same as https://bugs.launchpad.net/ubuntu/+source/sdparm/+bug/444818 although the success reports with the posted scripts in earlier comments are confusing as they should not be working if that is the case. In any case that one should prevent all USB disks from spinning down when issued with the stop command and can be easily fixed by patching sdparm/sg_start to not open the device in read-write mode as I described in that bug's comments.
I am pretty sure this bug is the same as https:/ /bugs.launchpad .net/ubuntu/ +source/ sdparm/ +bug/444818 although the success reports with the posted scripts in earlier comments are confusing as they should not be working if that is the case. In any case that one should prevent all USB disks from spinning down when issued with the stop command and can be easily fixed by patching sdparm/sg_start to not open the device in read-write mode as I described in that bug's comments.