On 23/04/17 23:43, Martin Gregorie wrote:
> On Sun, 23 Apr 2017 14:44:49 +1200, Ben Ritchey wrote:
>
>> Originally I wanted to decrease the access/activity on the SD card to
>> prolong it's life and since I have had nothing but failures trying to
>> build anything more than a 16GB system on the SD card, it would give me
>> more room {chuckle}.
>> I've tried 32GB and 64GB cards to no avail :( My Pi doesn't like it! lol
>>
> That makes sense.
>
> I'm not sure to what extent /home is high activity. Bits are for me, but
> then I'm a C and Java developer and active projects surely count as
> fairly high activity with files being edited and every few minutes a
> compile replacing all the binaries. I don't know what the activity
> pattern would be for non-developers, but I'd guess that its more a case
> of adding new files at a lower rate.
>
> The other area to look at is what's going on in /var, especially /var/log.
>
> Of course, if you run database(s) and/or local web-sites and an MTA, by
> default these often store their data in /var, so you can either put that
> in its own partition on the SSD or you can either:
>
> - symlink those data stores to parts of /home
> - PostgreSQL defaults to putting its datastore in /usr/lib/pgsql
> - I replace pgsql with a symlink to /home/postgres
>
> - change their configuration
> - Apache bases its web pages in, IIRC, /var/lib/html but my config
> file says its base directory is /home/http/html
>
/var/www...here.
> I suppose which way to go for this stuff depends on the way you
> think about such things: in my case I wanted to localise the data I care
> about in /home because that makes backups easier and because, by putting
> it all on the one partition I can do a clean install AND keep my data
> untouched by not reformatting/reinstalling the /home partition. For the
> full rationale of this approach, see:
>
Reasonable approach. I just back up everything tho.
Lost of tweaks in /etc /usr/local /usr/share/...
Then when I upgraded I can raid all that for stuff to get back to where
I was before I upgraded.
> http://www.libelle-systems.com/free/linux/easier_upgrades.html
>
> - my website.
>
>
--
"I guess a rattlesnake ain't risponsible fer bein' a rattlesnake, but ah
puts mah heel on um jess the same if'n I catches him around mah chillun".
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|