Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: gavinmc42 on May 09, 2016, 08:34:34 AM
-
I am a network drive noob.
I want to use an old 256MB model B as a simple NAS for Pikrellcam based cameras.
It is using an old but super reliable 128MB SDcard to boot from, got heaps left.
Got a USB caddy with a WD 1TB purple.
Don't need samba or any Windows connectivity.
How do I share this drive to all my Jessie Lite based Pikrellcam motion activated cameras?
I want to use this 1TB as the archive networked drive for these Pi based cameras.
Pikrellcams will be using cron to copy files to this drive once a day, different hours for different cameras.
Pikrellcam expects ext4 drives for simple setups.
1) How to setup the model B as a NAS network drive.
2) The settings on Jessie Lite to cp to this network drive.
I have set gpu_mem=16 to max out mem for Linux, waitusb=5 for usb drive start up time.
Can already see the drive and mount it as /mnt/sda1, formatted as ext4.
MC for some reason sees this drive as a 200MB?
Now what?
-
For such write-only copying that happens rarely, I would just use scp.
-
Why not start a nfs server.
http://wiki.tinycorelinux.net/wiki:fileserver
What i can see. There are some old extension nfs-utils to make a nfs server.
You maybe contact the maintainer of this extension to ask to compile to newer version of tcl.
http://tinycorelinux.net/5.x/armv6/tcz/nfs-utils.tcz.info
-
Hi curaga,
I guess I was making it too complicated, wood for the trees, duh!
scp, good idea, so simple, never used it before so it never occurred to me.
Hi patrikg,
I did see nfs-utils in some old posts but it was not in the current tcz list.
I will try scp first.
One line in crontab, and a few lines of shell script.
Thanks guys.