I have followed the instructions in the ebook for enabling internal storage.
however, it is not working.
from a fresh boot up, I invoke Card Backup from the remote control, and then insert a card. The card reader blinks a few times. The status light on the pi does not change. No files are copied from the card to /home/pi/BACKUP.
It appears the card is not mounting:
blkid -o list
device fs_type label mount point UUID
-------------------------------------------------------------------------------
/dev/mmcblk0p1
vfat boot /boot AF14-47C0
/dev/mmcblk0p2
ext4 rootfs / b57a7299-0677-4dc6-b4b0-c10f107f0f6d
/dev/ram0 (not mounted)
/dev/ram1 (not mounted)
/dev/ram2 (not mounted)
/dev/ram3 (not mounted)
/dev/ram4 (not mounted)
/dev/ram5 (not mounted)
/dev/ram6 (not mounted)
/dev/ram7 (not mounted)
/dev/ram8 (not mounted)
/dev/ram9 (not mounted)
/dev/ram10 (not mounted)
/dev/ram11 (not mounted)
/dev/ram12 (not mounted)
/dev/ram13 (not mounted)
/dev/ram14 (not mounted)
/dev/ram15 (not mounted)
/dev/mmcblk0
(not mounted)
/dev/sda1 (not mounted)
/dev/sda1 is the camera card. If I manually mount it, I can see the files, but it does not run the script.
My config.cfg looks like:
STORAGE_DEV=“sda1” # Name of the storage device
STORAGE_MOUNT_POINT="/media/storage" # Mount point of the storage device
CARD_DEV=“sdb1” # Name of the storage card
CARD_MOUNT_POINT="/media/card" # Mount point of the storage card
BAK_DIR="/home/pi/BACKUP" # Home directory path
SHUTD=“5” # Minutes to wait before shutdown due to inactivity
INTERNAL=true # Set to true to enable internal storage as backup destination
# With internal storage option enabled,
# modify the STORAGE_DEV and CARD_DEV values
SYNCTHING=true # Set to true to enable Syncthing
Per instructions in the book, storage should be sda1 and card should be sdb1, but shouldn’t the card be sda1 when there is no external storage? (and how does the card backup script know to not wait for the storage to mount?)