If you want to continue with this, then the idea is to get rid of the media check issue, by NOT USING rwm. If you can send the log elsewhere, not to the music drive, then the music drive does not need to be writeable any more, so no rwm command.

Cheers