SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

SD card remounting on reboot if CIF network mounts to SD card are active

Open stunrelay opened this issue 1 year ago • 0 comments

Your system information

  • Steam client version: 1710458266
  • SteamOS version: 3.5.19
  • Opted into Steam client beta?: [No]
  • Opted into SteamOS beta?: [No]
  • Have you checked for updates in Settings > System?: [Yes]

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen.

I have several CIFS mounts edited into my fstab pointing from my SD card to network folders. The mounts work as intended until I try to reboot. When I reboot, my SD card (/run/media/deck/EF8S5), gets remounted at /run/media/deck/EF8S51 whilst my CIF mounts remain on the EF8S5 path.

If I edit my fstab to the new EF8S51 path, I will get the same problem on reboot - but with the SD card being mounted back to EF8S5 instead. I’m guessing that the CIF mounts are being mounted first, and then when the SD card tries to mount and already finds an existing path the OS is mounting it at a new location. I’m not sure why this would be the case with my current fstab configuration however - which includes commands to mount only on demand after network has been established and to wait for mmcblk0p1 (which is EF8S5).

This is one of these shares from my current fstab:

//192.168.0.100/data/media/roms/dreamcast /run/media/deck/EF8S5/Emulation/roms/dreamcast/dreamcast@blackbox/ cifs uid=1000,username=XXX,password=XXX,nofail,noauto,x-systemd. automount,_netdev,user,x-systend.requires-mounts-for=/dev/mmcblk0p1 0 0

Steps for reproducing this issue:

  1. Setup CIFS mount from SD card to network folder
  2. Reboot

stunrelay avatar May 07 '24 03:05 stunrelay