WUs on external device (raspberrypi)

Message boards : Questions and problems : WUs on external device (raspberrypi)
Message board moderation

To post messages, you must log in.

AuthorMessage
piguy

Send message
Joined: 24 May 20
Posts: 1
Message 98763 - Posted: 24 May 2020, 0:07:30 UTC

Due to covid i decided do dedicate a raspberry pi to boinc. Now i'm running it on a Raspberry Pi4 with raspbian in it. I'd like to know how to change the working directory to an external hdd rso it doesn't use my systsem SD.
Sorry i'm new to this.
ID: 98763 · Report as offensive
ProDigit

Send message
Joined: 8 Nov 19
Posts: 713
United States
Message 98769 - Posted: 24 May 2020, 6:55:49 UTC - in response to Message 98763.  

Due to covid i decided do dedicate a raspberry pi to boinc. Now i'm running it on a Raspberry Pi4 with raspbian in it. I'd like to know how to change the working directory to an external hdd rso it doesn't use my systsem SD.
Sorry i'm new to this.


As far as I know, Boinc projects only install on the OS directory, unless you do an advanced install and are able to move certain partitions to another drive upon installation of Debian (which I don't know how to do).

On the RPI 3B+ there was an SD card 'hack' (if I can call it like that), that forwarded the boot to USB drives.
I have on occasion been able to boot straight from USB.
If you could install the entire OS on an external SSD over USB, you may experience improved speeds overall compared to the slow SD card.

Corsair Voyager GTX is basically an SSD in USB flash drive format.
ID: 98769 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2000
United Kingdom
Message 98770 - Posted: 24 May 2020, 7:09:33 UTC

Not done this but the way I would do it is do an advanced install with whichever distro you use and make /var/lib/boinc-client/ a partition on an the external hard disk. I know this works on a desktop to put the data files for BOINC onto a different physical hard disk. I haven't played with a Pi so I don't know exactly what is involved but pretty sure there will be stuff on the Pi forums to help with it.
ID: 98770 · Report as offensive
MarkJ
Volunteer tester
Help desk expert

Send message
Joined: 5 Mar 08
Posts: 272
Australia
Message 98775 - Posted: 24 May 2020, 11:47:19 UTC
Last modified: 24 May 2020, 11:52:56 UTC

I have redirected the entire root drive to external HDD in the past. I will see if i can find the blog post I did that explains how. Currently I have 2 x Pi4 running Rosetta off their SD cards.

It’s not as bad as it used to be when they unzipped a database of approx 1GB into the slot every time a task started. These days with the 4.20 app the database is in the project folder and remains there so a lot less writes. You can also increase the checkpoint interval time to reduce the writes. I have all of mine set to 600 sec.

Another option would be to symlink the /var/lib/boinc-client folder to some directory on your external drive.

Edit
Found the blog post from 2016. It’s here
MarkJ
ID: 98775 · Report as offensive
ProDigit

Send message
Joined: 8 Nov 19
Posts: 713
United States
Message 98822 - Posted: 25 May 2020, 18:06:18 UTC

I thought I read a while back that the OS on external drives, on the Pi4B isn't supported, but it is on the 3B/3B+.
It might have changed over time.
ID: 98822 · Report as offensive

Message boards : Questions and problems : WUs on external device (raspberrypi)

Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.