On Saturday 11 March 2017 12:02:36 dragon wrote: > I doubt that you will ever hit the end of life on a quality SD card, > especially a large size one. The writes that you are doing, and thus > the number of blocks, are TINY compared to what the cards were > designed for... photos and videos. You can also run a flash file > system instead of ext4 if you like. Checking that noatime is set for > the filesystem would have a far greater effect than all of the writes > that you will ever do in daily use. While true at one time, this whole > wearing out flash storage thing is almost a non issue for use cases > like this nowdays. > How do I check that, and with the rube goldberg's hired hand boot configs used on the pi, how would I set the noatime option?
> Where you buy SD cards makes a difference. There are a LOT of fakes on > fleabay or from 'other' vendors on amazon and such sites. The 'pro' > series of cards are often of a much higher quality that the consumer > ones as well. One things for sure, the sandisks I bought at wallies are crap. Killed 2 32Gbers in 3 days each. > You can attach spinning or SSD disks via USB and it works just fine. Great! assuming I pop for a cheap kingston 64Gb, whats the recommended adaptor I can feed from the 5v 4a supply? I > highly suggest using a powered SATA adapter though, even for SSDs as > the pi just doesn't have many watts on the 5v bus to go around. I > 'think' you still need to boot off of the SD card though. Just the > bootloader, initram and kernel. Then your entire root and userspace > can be on the USB attached storage or an NFS mount. Or, since its megatons easier to setup, an sshfs mount? I've putzed with NFS the last time I hope. > In my opinion, if you have multiple machines of any given type (more > than one mill for example) then it makes sense to have an NFS mount of > some sort so that you can share NC files and tool tables, etc. I've considered that, but the huge majority of what I've written for TLM, is not going to run on a machine with a third of TLM's spindle speed available. That thing has an operating envelope of about 5x9" in alu, 2.5x9 in steel, and 4x9 in cast iron, where this ones a 12x36. > YMMV It always does. > On 03/11/2017 10:29 AM, Gene Heskett wrote: > > Greetings all; > > > > When I setup LCNC on the pi, one of the things I did was to make an > > R-Pi_nc_files directory on the rotating media of this machine, > > copied all the .ngc files I have generated to run on TLM to it, and > > cleaned out the nc_files directory on the pi, leaving only 2 files, > > which will remind me when I see them that the directory on this > > machine has not been mounted on top of that one. > > > > Thats by this one liner script: > > > > sshfs > > g...@coyote.coyote.den:/home/gene/linuxcnc/R-Pi_nc_files/ > > /home/pi/linuxcnc/R-Pi_nc_files > > > > All one line of course, and the .ini file edited to point nc_files > > at it. > > > > With all the config file updates I am doing as I work on both the > > jog wheels and in due time the gear shift stuff when I've installed > > the belt position sensors, that I am using up the microsd. It is a > > bigger one, a Samsung 32Gb, so it will be a while before that > > occurs, unlike the san-disk lookalikes that I destroyed 2 of in 3 > > days each. Bad karma, and ruined my taste for san-disk stuff > > entirely. > > > > I am considering doing the similar remote mount of rotating media > > for the configs directory as it is getting 100x the > > read-modify-write activity as I make this and that work. An sshfs > > mount doesn't seem to be any slower than the microsd so far. But > > since it gets a write to new .var files everytime I close LCNC, it > > seems like a good idea. > > > > That mount could be incorporated into the above script as: > > > > sshfs > > g...@coyote.den:/home/gene/linuxcnc/R-Pi_configs/ > > /home/pi/linuxcnc/configs > > > > Shoot me down if you think its wrong. :-) > > > > I do have amanda backing up the whole pi, so I could theoretically > > recover to last nights backup state on a fresh Samsumg microsd with > > a basic jessie install on it, but it does take time that I'd like to > > forestall doing as long as I can. > > > > A 2nd alternative might be a usb to ssd adaptor but I've not > > investigated setting up such a critter. Has anyone else? > > > > Cheers, Gene Heskett Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users