cimryan
012c4e225c
Create the file system after creating the partition for the backing files
...
If there already happened to be a filesystem there is must be overwritten.
2018-10-14 22:21:16 -07:00
cimryan
d2aa8357aa
Add logging for fallocate call
2018-10-14 21:49:18 -07:00
cimryan
fc2a436c7e
Fix the setting of the host name.
2018-10-14 20:47:32 -07:00
cimryan
c1e840fa9f
Make calculations of backng file size in terms of free 1k blocks
2018-10-14 20:39:12 -07:00
cimryan
c0cab4d624
Correct the space allocation for the baking files.
2018-10-14 20:15:46 -07:00
cimryan
9c3daa3d91
Remove unnecessary recreation of filesystem on the backing files partition.
2018-10-14 20:02:42 -07:00
cimryan
aedff01c72
Typo in configure_rc_local name.
2018-10-14 20:01:18 -07:00
cimryan
4970fea833
Create the backing files for the USB drives on a separate partition.
2018-10-14 19:37:24 -07:00
cimryan
98cecb4cbf
Reference master after merge.
2018-10-13 20:55:18 -07:00
cimryan
d39d08a738
Mount the archive and move the files into it.
2018-10-13 20:50:34 -07:00
cimryan
d0a1212ca6
Fix syntax error in the calculation of musicpercent.
2018-10-13 19:04:09 -07:00
cimryan
a03c322c01
Support for music in addition to dashcam clip storage.
2018-10-13 18:18:00 -07:00
cimryan
9cfce11bd4
Move moutpoints: usb_share -> cam, cam_archive -> archive
2018-10-13 17:26:58 -07:00
cimryan
641779c1a2
Add closing done for loop.
2018-10-13 17:06:30 -07:00
cimryan
f74c12ffd5
Merge branch 'master' of https://github.com/cimryan/teslausb
2018-10-13 08:12:02 -07:00
cimryan
499d23cb36
Retry mounting the shares up to 10 times.
...
There's a race between the system mounting the share and the findmnt invocation in the script to determine if the share is already mounted.
When findmnt wins the race the script would previously operate as if the share definitely needed to be mounted, and would fail to mount it.
Now the script will notice that the share has already been mounted.
2018-10-13 08:11:02 -07:00
cimryan
64b323eb76
If the archive is initially reachable wait for it to be unreachable after archiving the clips before archiving the clips, again.
2018-10-13 08:06:55 -07:00
cimryan
b386bcc610
The setup script updates archiveloop with the name of the archive server
2018-10-12 15:45:45 -07:00
cimryan
71e8ba0339
Give the volume a label and don't overwrite hostname with hosts.
2018-10-12 14:33:47 -07:00
cimryan
1d19ac5c2f
Make the network name of the Pi "teslausb".
2018-10-12 14:07:20 -07:00
cimryan
1aac431c06
Avoid connecting the USB drive if it'll just immediately be disconnected.
2018-10-12 13:44:18 -07:00
cimryan
f2b61ef535
Add setup-piForHeadlessConfig.ps1
...
Script to automate the process of preparing the Pi to listen for SSH connections over USB.
2018-10-12 07:41:11 -07:00
cimryan
258aa20cb5
Fix the addition of the archive server to /etc/fstab.
2018-10-11 20:11:28 -07:00
cimryan
1de5a9fa1f
Automate the setup and split out the steps for headless setup into separate documents.
2018-10-11 00:28:18 -07:00
cimryan
0054510c48
Create archive-teslacam-clips
2018-10-08 07:28:14 -07:00
cimryan
b30532bb3e
Create archiveloop
2018-10-08 07:23:50 -07:00