/media/DVR/Streaming Directory Goes Away After Reboot

Hi all!

I did some digging on this but I didn't find anything. If this has already been asked and answered, please just point me to the answer.

I'm running Channels DVR 2021.1101.2046 from a SSD connected to a RPi. I don't think that matters but I'm trying to make sure I give anyone any detail that can help.

When the RPi reboots, the /media/DVR/Streaming directory is gone. /media is there but the subdirectories don't show up (at least not via an ls). So I sudo mkdir DVR and then under DVR I sudo mkdir Streaming. And the directories are there when I'm done (again, at least an ls shows them). So I then run chmod -R 777 * from the media directory to insure anything that needs to write to /media/DVR/Streaming can write to it. And for a while everything works as expected.

But then a reboot must occur. I'm guessing this because when I reboot the RPi myself via the web interface and check the directories on the SDD, the /media dir is there but the rest is gone. Is there some way to make these new directories (and their permissions) persist? I mean if sudo isn't doing the trick I honestly don't know how else I could do it.

Is /media a symlink? I mean am I somehow creating the directories somewhere besides the SDD?

Any help/suggestions would be greatly appreciated. Not being able to record shows because /media/* goes away is really sort of defeating the point of having the DVR in the first place :slight_smile:

/media/DVR is supposed to be a mount. You can't just mkdir it because then it's not using the correct partition where all the space is.

Submit diagnostics from your Pi because it's not working correctly.

Thank you @tmm1! I thought there was likely something more basic wrong but I was hoping it'd be something I could fix myself. I've submitted the diagnostics and I'm sending an email to support here in a minute!

Thanks!

Just in case anyone else runs across this same problem this is what it turned out to be in my particular case:

The best way will be to reformat it. You will lose any old recordings.(emphasis mine.) Over SSH:

mkfs.exfat -n DVR /dev/sda9

Then reboot and it should come up clean.

That's from an email from support.

If you run into this issue I'd suggest you do exactly what @tmm1 said; submit diagnostics. I'm guessing the /dev/sda9 part of that command may vary from RPi to RPi hence you're better off to submit diagnostics so their support can tell you exactly which mount to run this on.

Thanks again for the help @tmm1

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.