Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

mounted samba share saving files to local disk

$
0
0

My Ubuntu computer is reporting that the local disk is full. The computer is primarily used for homeassistant and frigate and I have a Windows file server mounted to Ubuntu to save security camera recordings. I followed the advice in this thread and mounted my filesystem to a temporary mount location. Running du showed that my mount for the cameras is indeed saving to local disk. I deleted all recordings off of the widows file system and they still show up in du like this:

435G    /mnt/test/mnt435G    /mnt/test/mnt/cameras435G    /mnt/test/mnt/cameras/recordings435G    /mnt/test/mnt/cameras/recordings/2023-04453G    /mnt/test

I am at a loss as to why this is happening and how to fix it. I am a bit of a linux noob so I am not sure if I mounted the share incorrectly or if it is an issue with frigate. Here is what my mount looks like in fstab:

//192.168.1.99/Cameras /mnt/cameras cifs credentials=/home/everett/.smbcred,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

Also here is the section of my docker compose file for firgate where the mount is assigned to frigates recording folder:

 frigate:container_name: frigateprivileged: true # this may not be necessary for all setupsrestart: unless-stoppedimage: blakeblackshear/frigate:stableshm_size: "600mb" # update for your cameras based on calculation abovedevices:  - /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions  - /dev/dri/card0 # for intel hwaccel, needs to be updated for your hardwarevolumes:  - /etc/localtime:/etc/localtime:ro  - /opt/frigate/config/config.yaml:/config/config.yml:ro  - /mnt/cameras:/media/frigate  - /opt/frigate/db:/db  - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear    target: /tmp/cache    tmpfs:      size: 1000000000ports:  - "5000:5000"  - "1935:1935" # RTMP feeds

Any help or suggestions would be much appreciated!


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>