Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Machines have less problems. I'd like to be a machine. -- Andy Warhol


devel / comp.unix.bsd.freebsd.misc / Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

SubjectAuthor
* freebsd on pi4b won't bootMike Scott
+* Re: freebsd on pi4b won't bootbob prohaska
|+- Re: freebsd on pi4b won't bootbob prohaska
|`* Re: freebsd on pi4b won't bootMike Scott
| `* Re: freebsd on pi4b won't bootbob prohaska
|  `* multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4bMike Scott
|   +* Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't crn
|   |`- Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd onNoOne
|   `* Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't David Higton
|    `* Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd onMike Scott
|     +* Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd onMartin Gregorie
|     |`* Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd onThe Natural Philosopher
|     | `* Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd onMike Scott
|     |  `- Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd onMartin Gregorie
|     `- Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't bob prohaska
`* Re: freebsd on pi4b won't bootChristoph Sold
 `* Re: freebsd on pi4b won't bootMike Scott
  `- Re: freebsd on pi4b won't bootBob Eager

1
freebsd on pi4b won't boot

<sil7a5$jev$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=78&group=comp.unix.bsd.freebsd.misc#78

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: freebsd on pi4b won't boot
Date: Fri, 24 Sep 2021 20:01:25 +0100
Organization: Scott family
Lines: 33
Message-ID: <sil7a5$jev$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Sep 2021 19:01:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b574a1658989f7396f8b86e8eb79c640";
logging-data="19935"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aUxiZAAC7wAONg50i1HcPvZhL40QT8gg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:yDJ0Lb977p6VQh2AhurjsQxCKA8=
Content-Language: en-GB
X-Mozilla-News-Host: news://news.eternal-september.org:119
 by: Mike Scott - Fri, 24 Sep 2021 19:01 UTC

(This follows from the wireshark thread, but I've tried to move on)

I have a sparkling new rpi4B 4Gb. It booted raspbian (off the net)
happily, so I know that (a) the hardware works, and (b) I know how to
write the relevant sd card.

I've written the system
FreeBSD-13.0-RELEASE-arm64-aarch64-RPI.img
onto the sdcard, but all I get is the multicoloured screen that
indicates a problem. The green LED flickered irregularly on the way -
but hard to know which flickers are significant.

(I've used the same system in a pi3 - boots correctly)

I've also tried putting the same card in a USB reader (I gather from the
web that that ought to boot) - that gives a screenload of text moaning
about MSD command timeout plus other stuff. then seems to crash the pi
and goes back to the coloured screen.

In desperation I've tried writing the image to an HDD and connecting to
USB. That just goes to the coloured screen.

Can anyone help me get this going please? I really want to boot from HD
ultimately. Thanks.

--
Mike Scott
Harlow, England

Re: freebsd on pi4b won't boot

<sim0s3$vdr$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=79&group=comp.unix.bsd.freebsd.misc#79

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: freebsd on pi4b won't boot
Date: Sat, 25 Sep 2021 02:17:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <sim0s3$vdr$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me>
Injection-Date: Sat, 25 Sep 2021 02:17:40 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c436c3e147ebac40042f6e50cde36735";
logging-data="32187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Eus6LAk/WbmCLidgcPAThd/+sQu1iTOI="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.2-STABLE (arm))
Cancel-Lock: sha1:N7BXpniVzw5qmraRPnWKlu4dmos=
 by: bob prohaska - Sat, 25 Sep 2021 02:17 UTC

In comp.sys.raspberry-pi Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
> (This follows from the wireshark thread, but I've tried to move on)
>
> I have a sparkling new rpi4B 4Gb. It booted raspbian (off the net)
> happily, so I know that (a) the hardware works, and (b) I know how to
> write the relevant sd card.
>
[snip]

> Can anyone help me get this going please? I really want to boot from HD
> ultimately. Thanks.

Best to take a look at the freebsd-arm mailing list archives at
https://lists.freebsd.org/archives/freebsd-arm/
While at it, subscribe to at least freebsd-arm. I've gotten vast
amounts of help there.

There are a few (many?) details to be worked through. I did it after
getting my RPI4, which is now working happily, proof positive that
it's a doable proposition with limited knowhow. As a first try, just
pick a different snapshot and try that. Older, newer, doesn't matter.
Start with SD card boot, then move to USB when you've got a good image.

I've put some random notes at
https://lists.freebsd.org/archives/freebsd-arm/
but there are better resources by now.

Hope this helps,

bob prohaska

Re: freebsd on pi4b won't boot

<sim19i$vdr$2@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=80&group=comp.unix.bsd.freebsd.misc#80

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: freebsd on pi4b won't boot
Date: Sat, 25 Sep 2021 02:24:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <sim19i$vdr$2@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
Injection-Date: Sat, 25 Sep 2021 02:24:50 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c436c3e147ebac40042f6e50cde36735";
logging-data="32187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CUAZSdLk2OsMekyOIDtH0yB/i/rP4iY8="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.2-STABLE (arm))
Cancel-Lock: sha1:FfPJqQYnT+wDIu9vDdSMDJGU+EE=
 by: bob prohaska - Sat, 25 Sep 2021 02:24 UTC

In comp.sys.raspberry-pi bob prohaska <bp@www.zefox.net> wrote:
>
> I've put some random notes at
> https://lists.freebsd.org/archives/freebsd-arm/
> but there are better resources by now.

Sorry, didn't refresh the clipboard. My notes are at
http://www.zefox.net/~fbsd/
Alas, the disclaimer really does still apply.

Apologies for the confusion!

bob prohaska

Re: freebsd on pi4b won't boot

<simm6l$nbh$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=81&group=comp.unix.bsd.freebsd.misc#81

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: freebsd on pi4b won't boot
Date: Sat, 25 Sep 2021 09:21:41 +0100
Organization: Scott family
Lines: 54
Message-ID: <simm6l$nbh$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 Sep 2021 08:21:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f49c6ef980b6658c0bd1b3dfd125deb8";
logging-data="23921"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Cn04hbvY1E4FsGLxwCF+aS6bSX86n02E="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:m6wWaI1+V0BZ35K5jFTtdI3+Xzw=
In-Reply-To: <sim0s3$vdr$1@dont-email.me>
Content-Language: en-GB
X-Mozilla-News-Host: news://news.eternal-september.org
 by: Mike Scott - Sat, 25 Sep 2021 08:21 UTC

On 25/09/2021 03:17, bob prohaska wrote:
> In comp.sys.raspberry-pi Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
>> (This follows from the wireshark thread, but I've tried to move on)
>>
>> I have a sparkling new rpi4B 4Gb. It booted raspbian (off the net)
>> happily, so I know that (a) the hardware works, and (b) I know how to
>> write the relevant sd card.
>>
> [snip]
>
>> Can anyone help me get this going please? I really want to boot from HD
>> ultimately. Thanks.
>
> Best to take a look at the freebsd-arm mailing list archives at
> https://lists.freebsd.org/archives/freebsd-arm/
> While at it, subscribe to at least freebsd-arm. I've gotten vast
> amounts of help there.
>
> There are a few (many?) details to be worked through. I did it after
> getting my RPI4, which is now working happily, proof positive that
> it's a doable proposition with limited knowhow. As a first try, just
> pick a different snapshot and try that. Older, newer, doesn't matter.
> Start with SD card boot, then move to USB when you've got a good image.
>
> I've put some random notes at
> https://lists.freebsd.org/archives/freebsd-arm/
> but there are better resources by now.
>
> Hope this helps,
>
> bob prohaska
>

Thanks for the advice. After posting, I kept digging around, and came
up with a long thread at
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255080

of which comment #15 gives a download link (sourceforge) for an updated
u-boot.bin which works fine for the sdcard boot.

However, booting from HD, it stalled after complaining 'mountroot:
waiting for device /dev/ufs/rootfs'.

Cranking up kern.cam.boot_delay to 10 sec, necessary for the pi3, has
mixed success here. Sometimes boots, sometimes not; sometimes tries the
network instead. I'll free up a spare disk, and see if that makes a
difference.

>

--
Mike Scott
Harlow, England

Re: freebsd on pi4b won't boot

<0b11fadd-5ba9-4f8f-b8db-49909d28cf77n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=82&group=comp.unix.bsd.freebsd.misc#82

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc
X-Received: by 2002:ac8:1190:: with SMTP id d16mr9593811qtj.391.1632576454251;
Sat, 25 Sep 2021 06:27:34 -0700 (PDT)
X-Received: by 2002:a25:dd46:: with SMTP id u67mr18360382ybg.295.1632576453923;
Sat, 25 Sep 2021 06:27:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.bsd.freebsd.misc
Date: Sat, 25 Sep 2021 06:27:33 -0700 (PDT)
In-Reply-To: <sil7a5$jev$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:215f:d800:91e3:5f05:4fa2:90e9;
posting-account=TwdqyQoAAACINuaI-zcMtz3hQ6OzS-vz
NNTP-Posting-Host: 2001:9e8:215f:d800:91e3:5f05:4fa2:90e9
References: <sil7a5$jev$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b11fadd-5ba9-4f8f-b8db-49909d28cf77n@googlegroups.com>
Subject: Re: freebsd on pi4b won't boot
From: cs...@cheasy.de (Christoph Sold)
Injection-Date: Sat, 25 Sep 2021 13:27:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: Christoph Sold - Sat, 25 Sep 2021 13:27 UTC

Mike Scott schrieb am Freitag, 24. September 2021 um 21:01:26 UTC+2:
> (This follows from the wireshark thread, but I've tried to move on)
>
> I have a sparkling new rpi4B 4Gb. It booted raspbian (off the net)
> happily, so I know that (a) the hardware works, and (b) I know how to
> write the relevant sd card.

Yep, that's to be expected out of the box.

> I've written the system
> FreeBSD-13.0-RELEASE-arm64-aarch64-RPI.img
> onto the sdcard, but all I get is the multicoloured screen that
> indicates a problem. The green LED flickered irregularly on the way -
> but hard to know which flickers are significant.
>
> (I've used the same system in a pi3 - boots correctly)
Pi 3 utilizes a different bootloader.

> […]
> Can anyone help me get this going please? I really want to boot from HD
> ultimately. Thanks.

Make sure you use an updated bootloader.
https://medium.com/swlh/freebsd-usb-boot-on-raspberry-pi-4-765cb6e75570

HTH
-Christoph

Re: freebsd on pi4b won't boot

<sinfre$9tt$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=83&group=comp.unix.bsd.freebsd.misc#83

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: freebsd on pi4b won't boot
Date: Sat, 25 Sep 2021 16:39:26 +0100
Organization: Scott family
Lines: 27
Message-ID: <sinfre$9tt$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me>
<0b11fadd-5ba9-4f8f-b8db-49909d28cf77n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 Sep 2021 15:39:26 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f49c6ef980b6658c0bd1b3dfd125deb8";
logging-data="10173"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uSYaosZ2i5WS1cNb7UFNixqvlm4wFQbY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:akggls/7rCrgn1Thq+pqWfeAsmA=
In-Reply-To: <0b11fadd-5ba9-4f8f-b8db-49909d28cf77n@googlegroups.com>
Content-Language: en-GB
 by: Mike Scott - Sat, 25 Sep 2021 15:39 UTC

On 25/09/2021 14:27, Christoph Sold wrote:
.....
>
> Make sure you use an updated bootloader.
> https://medium.com/swlh/freebsd-usb-boot-on-raspberry-pi-4-765cb6e75570
>
> HTH
> -Christoph
>
>

Thanks, yes I did eventually find an update for u-boot.bin
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255080, and use
comment #15 if anyone else needs it)

The HD situation was complicated by my picking the duff one of the 3
spare disks I had around - it seems to initialize too slowly for the pi.

I notice the fbsd 10 seconds boot countdown runs a factor about 6 slow
though. I guess I can live with a slow boot (I'm intending, all being
well, to replace a power-hungry i386 that runs 24/7 for months on end)

Thanks for replying.

--
Mike Scott
Harlow, England

Re: freebsd on pi4b won't boot

<ir9m51Fcir1U2@mid.individual.net>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=84&group=comp.unix.bsd.freebsd.misc#84

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0...@eager.cx (Bob Eager)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: freebsd on pi4b won't boot
Date: 25 Sep 2021 22:28:49 GMT
Lines: 15
Message-ID: <ir9m51Fcir1U2@mid.individual.net>
References: <sil7a5$jev$1@dont-email.me>
<0b11fadd-5ba9-4f8f-b8db-49909d28cf77n@googlegroups.com>
<sinfre$9tt$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net zsSLNlqOzTGYM9fkcEhsBgONl0ad6dib6PUiz/JvJx6eUNE4St
Cancel-Lock: sha1:I/JG0b4yHO79XI4SliSrQOdL4Ys=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Sat, 25 Sep 2021 22:28 UTC

On Sat, 25 Sep 2021 16:39:26 +0100, Mike Scott wrote:

> I notice the fbsd 10 seconds boot countdown runs a factor about 6 slow
> though.

Create or edit /boot/loader.conf.local. Add:

autoboot_delay="5" # for example, to halve the default time

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

Re: freebsd on pi4b won't boot

<siogis$3ev$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=85&group=comp.unix.bsd.freebsd.misc#85

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: freebsd on pi4b won't boot
Date: Sun, 26 Sep 2021 00:58:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <siogis$3ev$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me> <simm6l$nbh$1@dont-email.me>
Injection-Date: Sun, 26 Sep 2021 00:58:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="dd756f2b0e3156d25b0dc3306036f1ae";
logging-data="3551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NbHybfUTf24l5NZ5FPtcLTKl4IX3doDg="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.2-STABLE (arm))
Cancel-Lock: sha1:9fmWkrd9FjNiSKFzllP2m8+jwWc=
 by: bob prohaska - Sun, 26 Sep 2021 00:58 UTC

In comp.sys.raspberry-pi Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
>
> Thanks for the advice. After posting, I kept digging around, and came
> up with a long thread at
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255080
>
> of which comment #15 gives a download link (sourceforge) for an updated
> u-boot.bin which works fine for the sdcard boot.
>
> However, booting from HD, it stalled after complaining 'mountroot:
> waiting for device /dev/ufs/rootfs'.
>
> Cranking up kern.cam.boot_delay to 10 sec, necessary for the pi3, has
> mixed success here. Sometimes boots, sometimes not; sometimes tries the
> network instead. I'll free up a spare disk, and see if that makes a
> difference.
>

FWIW, here's the /boot/loader.conf for my Pi4:
# more /boot/loader.conf
# Configure USB OTG; see usb_template(4).
hw.usb.template=3
umodem_load="YES"
# Multiple console (serial+efi gop) enabled.
boot_multicons="YES"
boot_serial="YES"
# Disable the beastie menu and color
beastie_disable="YES"
loader_color="NO"
filemon_load="YES"
net.inet.tcp.tolerate_missing_ts="1"

In particular, I don't recall where the line
hw.usb.template=3
came from. If you don't have it that might be
worth a try. My HDD is a 1 TB Seagate in a
$10 USB-SATA case, both from Amazon, about as
cheap as it gets.

If you don't have a serial console set up
it might pay to acquire the usb-serial adapter
needed. FreeBSD still won't listen to the USB
keyboard in single-user mode. That makes it very
difficult to debug (and report) problems.

Glad you got it working thus far!

bob prohaska

multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sis1fu$htm$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=86&group=comp.unix.bsd.freebsd.misc#86

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b
won't boot)
Date: Mon, 27 Sep 2021 10:05:01 +0100
Organization: Scott family
Lines: 33
Message-ID: <sis1fu$htm$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Sep 2021 09:05:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3264f1a99be3ce9da6578f1605b8d3c5";
logging-data="18358"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IpqVVwglYDALl319oZo8JwLxUadRSGPM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:Pq21qZRI2sv1RYhKvk6y0aedFWw=
In-Reply-To: <siogis$3ev$1@dont-email.me>
Content-Language: en-GB
 by: Mike Scott - Mon, 27 Sep 2021 09:05 UTC

On 26/09/2021 01:58, bob prohaska wrote:
.....
> Glad you got it working thus far!
>
> bob prohaska
>
>
>

Thanks for the info.

I've now had it running happily off either sdcard or booting from HD.
But I've hit another annoyance.

Basically, it won't run with two USB HDs attached. If I boot off sdcard,
then plug in the disks, the first is fine: the second produces a stack
of errors then crashes.

Messages start with
da0: .... destroyed
then it detaches the keyboard and mouse, then I get
usbd_req_re_enumerate: .... USB_ERR_IOERROR, ignored

and it's power cycle time. Ouch!

Anyone had two HD's working in at once?

The PSU is the rpi 15W standard issue, btw. Could that be an issue though?

--
Mike Scott
Harlow, England

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sis6tr$r8q$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=87&group=comp.unix.bsd.freebsd.misc#87

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: crn...@nospam.com
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)
Date: Mon, 27 Sep 2021 10:37:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sis6tr$r8q$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me> <simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me> <sis1fu$htm$1@dont-email.me>
Injection-Date: Mon, 27 Sep 2021 10:37:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="91497816493d1f02611cec12a6edc29d";
logging-data="27930"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kVUAjefRI+BvlAwiUTJct"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/5.10.17-v7l+ (armv7l))
Cancel-Lock: sha1:TSSiXtnb4N9ab2hDeGl8dV+BLwE=
 by: crn...@nospam.com - Mon, 27 Sep 2021 10:37 UTC

In comp.sys.raspberry-pi Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
> I've now had it running happily off either sdcard or booting from HD.
> But I've hit another annoyance.
>
> Basically, it won't run with two USB HDs attached. If I boot off sdcard,
> then plug in the disks, the first is fine: the second produces a stack
> of errors then crashes.
>
> Messages start with
> da0: .... destroyed
> then it detaches the keyboard and mouse, then I get
> usbd_req_re_enumerate: .... USB_ERR_IOERROR, ignored
>
> and it's power cycle time. Ouch!
>
> Anyone had two HD's working in at once?
>
> The PSU is the rpi 15W standard issue, btw. Could that be an issue though?

The pi internals cannot supply 2 HDs with power. Use an external USB C hub
with its own power.

--
http://www.netunix.com/

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<ea75897259.DaveMeUK@BeagleBoard-xM>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=88&group=comp.unix.bsd.freebsd.misc#88

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@davehigton.me.uk (David Higton)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)
Date: Mon, 27 Sep 2021 14:10:05 +0100
Organization: Home
Lines: 37
Message-ID: <ea75897259.DaveMeUK@BeagleBoard-xM>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me> <simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me>
Injection-Info: reader02.eternal-september.org; posting-host="61c893a59fb693b6d68830b9aef7c0c8";
logging-data="4039"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XepDz35vIcZo2JOQ2PjyWI92h+eJipN0="
User-Agent: Messenger-Pro/8.03 (MsgServe/8.01) (RISC-OS/5.29) NewsHound/v1.54
Cancel-Lock: sha1:XITsPyuVoJFOfUgeuRpfFEMrjIw=
 by: David Higton - Mon, 27 Sep 2021 13:10 UTC

In message <sis1fu$htm$1@dont-email.me>
Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:

> I've now had it running happily off either sdcard or booting from HD.
> But I've hit another annoyance.
>
> Basically, it won't run with two USB HDs attached. If I boot off sdcard,
> then plug in the disks, the first is fine: the second produces a stack of
> errors then crashes.
>
> Messages start with da0: .... destroyed then it detaches the keyboard and
> mouse, then I get usbd_req_re_enumerate: .... USB_ERR_IOERROR, ignored
>
> and it's power cycle time. Ouch!
>
> Anyone had two HD's working in at once?
>
> The PSU is the rpi 15W standard issue, btw. Could that be an issue though?

It's pretty much certain.

I do have a RasPi with two HDDs attached, but to make that work I had to
get a very powerful PSU (mine's rated at 8 amps, which is more than enough,
but it was not expensive), and, crucially, I had to jumper the main 5V
line to the USB power pins so as to avoid the current limiting circuitry
asspciated with USB within the Pi. This has my setup relying on the PSU's
current limiting.

Don't do this unless you know what you're doing.

The other advice, getting a powered USB hub, is wise.

This may be jumping ahead a bit; but, if you get a hub and want to run
both the Pi and the hub off the same PSU, beware of cheap power splitters
that don't have enough copper in them and thus drop too much voltage.

David

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<siso1f$vre$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=89&group=comp.unix.bsd.freebsd.misc#89

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on
pi4b won't boot)
Date: Mon, 27 Sep 2021 16:29:50 +0100
Organization: Scott family
Lines: 44
Message-ID: <siso1f$vre$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me> <ea75897259.DaveMeUK@BeagleBoard-xM>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Sep 2021 15:29:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3264f1a99be3ce9da6578f1605b8d3c5";
logging-data="32622"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/woW/wpu8gPCdx27v4SRMzCqb7DXO1fnU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:7ghtx827G2bo6hGvResrxk7MpeM=
In-Reply-To: <ea75897259.DaveMeUK@BeagleBoard-xM>
Content-Language: en-GB
 by: Mike Scott - Mon, 27 Sep 2021 15:29 UTC

On 27/09/2021 14:10, David Higton wrote:
.....
>> Anyone had two HD's working in at once?
>>
>> The PSU is the rpi 15W standard issue, btw. Could that be an issue though?
>
> It's pretty much certain.
>
> I do have a RasPi with two HDDs attached, but to make that work I had to
> get a very powerful PSU (mine's rated at 8 amps, which is more than enough,
> but it was not expensive), and, crucially, I had to jumper the main 5V
> line to the USB power pins so as to avoid the current limiting circuitry
> asspciated with USB within the Pi. This has my setup relying on the PSU's
> current limiting.
>
> Don't do this unless you know what you're doing.
>
> The other advice, getting a powered USB hub, is wise.
>
> This may be jumping ahead a bit; but, if you get a hub and want to run
> both the Pi and the hub off the same PSU, beware of cheap power splitters
> that don't have enough copper in them and thus drop too much voltage.
>
> David
>

OK, thanks - I get the picture. NCD, as my old maths teacher used to say.

The immediate reason for doing this is that the root partition resizes
to fill the disk. I can't work out a way of making it resize to what I
want -- hence a desire to copy between disks. But my knowledge of
partitions is ATM clearly too limited :-{

Longer term is that this would prevent my current offline backup scheme
(plug in backup disk, rsync, unplug disk) from working. I'll have to
think a bit before proceeding.

Thanks again (to all, for your answers and patience).

--
Mike Scott
Harlow, England

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sisqcd$bal$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=90&group=comp.unix.bsd.freebsd.misc#90

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mar...@mydomain.invalid (Martin Gregorie)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on
pi4b won't boot)
Date: Mon, 27 Sep 2021 16:09:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sisqcd$bal$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me> <ea75897259.DaveMeUK@BeagleBoard-xM>
<siso1f$vre$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Sep 2021 16:09:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="70ed530d9c621de6fd438fb4c4e1c41d";
logging-data="11605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mfN+0Zo6cTRnFxh+djsXPmc0Ei/FyJP0="
User-Agent: Pan/0.147 (Sweet Solitude; afc1447
git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:y/IPiCTllRl2LF9GaS+8np9qCVU=
 by: Martin Gregorie - Mon, 27 Sep 2021 16:09 UTC

On Mon, 27 Sep 2021 16:29:50 +0100, Mike Scott wrote:

> Longer term is that this would prevent my current offline backup scheme
> (plug in backup disk, rsync, unplug disk) from working. I'll have to
> think a bit before proceeding.
>
Don't forget that rsync can backup to a disk attached to a different
machine on your LAN - when this is running there's a copy of rsync
running on each machine: they talk to each other to transfer the data
being backed up so, if the disk receiving backed up files is attached to
a host other than the RPi, you don't need to attach more than one HDD to
it.

I've been using this backup system for several years now. I'm backing up
one RPi and three other Linux systems onto the same USB-connected HDD
which, like you're planning to do, is kept offline in a firesafe when not
receiving backups. Actually I have two backup disks, which are used in
rotation, so there is always one in the firesafe with the door closed.

--
--
Martin | martin at
Gregorie | gregorie dot org

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sisssn$61q$2@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=91&group=comp.unix.bsd.freebsd.misc#91

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on
pi4b won't boot)
Date: Mon, 27 Sep 2021 17:52:39 +0100
Organization: A little, after lunch
Lines: 28
Message-ID: <sisssn$61q$2@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me> <ea75897259.DaveMeUK@BeagleBoard-xM>
<siso1f$vre$1@dont-email.me> <sisqcd$bal$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Sep 2021 16:52:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ad73cf94c612d9697830a886e98160e1";
logging-data="6202"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+v57kAs1CoMMXXaUDdBjhDCSxGJ/gpke8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.6.1
Cancel-Lock: sha1:O6JtstH008phoNPklOkNV16fdFQ=
In-Reply-To: <sisqcd$bal$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 27 Sep 2021 16:52 UTC

On 27/09/2021 17:09, Martin Gregorie wrote:
> On Mon, 27 Sep 2021 16:29:50 +0100, Mike Scott wrote:
>
>> Longer term is that this would prevent my current offline backup scheme
>> (plug in backup disk, rsync, unplug disk) from working. I'll have to
>> think a bit before proceeding.
>>
> Don't forget that rsync can backup to a disk attached to a different
> machine on your LAN - when this is running there's a copy of rsync
> running on each machine: they talk to each other to transfer the data
> being backed up so, if the disk receiving backed up files is attached to
> a host other than the RPi, you don't need to attach more than one HDD to
> it.
>
> I've been using this backup system for several years now. I'm backing up
> one RPi and three other Linux systems onto the same USB-connected HDD
> which, like you're planning to do, is kept offline in a firesafe when not
> receiving backups. Actually I have two backup disks, which are used in
> rotation, so there is always one in the firesafe with the door closed.
>
>
Yes. The tradeoffs between a usb connected drive and a usb connected
gigabit ethernet are worth exploring, if you have, or feel like
building, a NAS type solution

--
WOKE is an acronym... Without Originality, Knowledge or Education.

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sit52r$7il$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=92&group=comp.unix.bsd.freebsd.misc#92

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on
pi4b won't boot)
Date: Mon, 27 Sep 2021 20:12:27 +0100
Organization: Scott family
Lines: 41
Message-ID: <sit52r$7il$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me> <ea75897259.DaveMeUK@BeagleBoard-xM>
<siso1f$vre$1@dont-email.me> <sisqcd$bal$1@dont-email.me>
<sisssn$61q$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Sep 2021 19:12:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3264f1a99be3ce9da6578f1605b8d3c5";
logging-data="7765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jnjpcI7z8rXyQpxSxJCAkgOKeF85ul/g="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:Hodn6lgTheh6bBsqghvNeOSH4AA=
In-Reply-To: <sisssn$61q$2@dont-email.me>
Content-Language: en-GB
 by: Mike Scott - Mon, 27 Sep 2021 19:12 UTC

On 27/09/2021 17:52, The Natural Philosopher wrote:
> On 27/09/2021 17:09, Martin Gregorie wrote:
>> On Mon, 27 Sep 2021 16:29:50 +0100, Mike Scott wrote:
>>
>>> Longer term is that this would prevent my current offline backup scheme
>>> (plug in backup disk, rsync, unplug disk) from working. I'll have to
>>> think a bit before proceeding.
>>>
>> Don't forget that rsync can backup to a disk attached to a different
>> machine on your LAN - when this is running there's a copy of rsync
>> running on each machine: they talk to each other to transfer the data
>> being backed up so, if the disk receiving backed up files is attached to
>> a host other than the RPi, you don't need to attach more than one HDD to
>> it.
>>
>> I've been using this backup system for several years now. I'm backing up
>> one RPi and three other Linux systems onto the same USB-connected HDD
>> which, like you're planning to do, is kept offline in a firesafe when not
>> receiving backups. Actually I have two backup disks, which are used in
>> rotation, so there is always one in the firesafe with the door closed.
>>
> Yes. The tradeoffs between a usb connected drive and  a usb connected
> gigabit ethernet are worth exploring, if you have, or feel like
> building, a NAS type solution
>
>

Thanks to both for the comments.

FWIW my main backup strategy is dump running daily, networking the
output to my desktop machine. So if the server dies nastily and kills
its disks, the data is safe elsewhere (although restore is /very/
messy!). That's kept for a couple of weeks. The 'rsync' backup is done
occasionally, mainly to have a hot standby that's "not too out-of-date".

I'll review matters when the pi is running to my satisfaction.

--
Mike Scott
Harlow, England

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sit8g7$pf8$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=93&group=comp.unix.bsd.freebsd.misc#93

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mar...@mydomain.invalid (Martin Gregorie)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on
pi4b won't boot)
Date: Mon, 27 Sep 2021 20:10:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <sit8g7$pf8$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me> <ea75897259.DaveMeUK@BeagleBoard-xM>
<siso1f$vre$1@dont-email.me> <sisqcd$bal$1@dont-email.me>
<sisssn$61q$2@dont-email.me> <sit52r$7il$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Sep 2021 20:10:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="70ed530d9c621de6fd438fb4c4e1c41d";
logging-data="26088"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181ei5ZTaxe0QWbAI3vWYEza45o3ibpRmw="
User-Agent: Pan/0.147 (Sweet Solitude; afc1447
git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:Pk8vL3Po34Wf0k5n/iEfI0sQGEA=
 by: Martin Gregorie - Mon, 27 Sep 2021 20:10 UTC

On Mon, 27 Sep 2021 20:12:27 +0100, Mike Scott wrote:

> On 27/09/2021 17:52, The Natural Philosopher wrote:
>> On 27/09/2021 17:09, Martin Gregorie wrote:
>>> On Mon, 27 Sep 2021 16:29:50 +0100, Mike Scott wrote:
>>>
>>>> Longer term is that this would prevent my current offline backup
>>>> scheme (plug in backup disk, rsync, unplug disk) from working. I'll
>>>> have to think a bit before proceeding.
>>>>
>>> Don't forget that rsync can backup to a disk attached to a different
>>> machine on your LAN - when this is running there's a copy of rsync
>>> running on each machine: they talk to each other to transfer the data
>>> being backed up so, if the disk receiving backed up files is attached
>>> to a host other than the RPi, you don't need to attach more than one
>>> HDD to it.
>>>
>>> I've been using this backup system for several years now. I'm backing
>>> up one RPi and three other Linux systems onto the same USB-connected
>>> HDD which, like you're planning to do, is kept offline in a firesafe
>>> when not receiving backups. Actually I have two backup disks, which
>>> are used in rotation, so there is always one in the firesafe with the
>>> door closed.
>>>
>> Yes. The tradeoffs between a usb connected drive and  a usb connected
>> gigabit ethernet are worth exploring, if you have, or feel like
>> building, a NAS type solution
>>
>>
>>
> Thanks to both for the comments.
>
> FWIW my main backup strategy is dump running daily, networking the
> output to my desktop machine. So if the server dies nastily and kills
> its disks, the data is safe elsewhere (although restore is /very/
> messy!). That's kept for a couple of weeks. The 'rsync' backup is done
> occasionally, mainly to have a hot standby that's "not too out-of-date".
>
> I'll review matters when the pi is running to my satisfaction.

Backup frequency:
I do the backups I described on a weekly basis, immediately before
running software updates on all systems. That's a dnf update on the
Fedora-based systems and apt update on RPis.

One of the Fedora machines is also my 'house server', which means it
holds much more data, (mail archive, git repositories for locally
developed software, etc.) so it additionally gets backed up overnight
using rsnapshot, with the backups held on a USB drive that sits alongside
the machine it backs up.

As this is primarily a sort of 'finger-trouble' protection I accept that
its not proof against power spikes, fire, etc. Using a USB drive is a
deliberate choice: each night a cron job mounts it, runs the rsnapshot
backup and unmounts it, so it should should be fairly safe against
malicious software because its invisible when unmounted. The backup run
normally takes just under 10 minutes.

--
--
Martin | martin at
Gregorie | gregorie dot org

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<sits43$jq3$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=94&group=comp.unix.bsd.freebsd.misc#94

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)
Date: Tue, 28 Sep 2021 01:45:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <sits43$jq3$1@dont-email.me>
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me> <simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me> <sis1fu$htm$1@dont-email.me> <ea75897259.DaveMeUK@BeagleBoard-xM> <siso1f$vre$1@dont-email.me>
Injection-Date: Tue, 28 Sep 2021 01:45:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a921351b5566b213b35e9c06c107ad45";
logging-data="20291"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+N7MYuBDEq4kiQvhxivUjVV9z4GX/91C8="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.2-STABLE (arm))
Cancel-Lock: sha1:5UB2rZOlBPB3hGqki+ANkaG1tdk=
 by: bob prohaska - Tue, 28 Sep 2021 01:45 UTC

In comp.sys.raspberry-pi Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
>
> The immediate reason for doing this is that the root partition resizes
> to fill the disk. I can't work out a way of making it resize to what I
> want -- hence a desire to copy between disks. But my knowledge of
> partitions is ATM clearly too limited :-{

Not trivial, but doable if you can afford a few do-overs 8-)

Here are some notes that might help:
http://www.zefox.net/~fbsd/freebsd_on_raspberrypi
My procedure supposes single-user mode. You can suppress
the filesystem resize by mouting the unbooted image media
elsewhere and renaming or deleting an empty file in the
FreeBSD root directory named firstboot.

HTH,

bob prohaska

Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on pi4b won't boot)

<NdC8J.562668$QHsf.462764@fx12.ams1>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=98&group=comp.unix.bsd.freebsd.misc#98

 copy link   Newsgroups: comp.unix.bsd.freebsd.misc comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx12.ams1.POSTED!not-for-mail
From: noo...@nowhere.net (NoOne)
Subject: Re: multiple hard drives crashes freebsd on pi4b (was Re: freebsd on
pi4b won't boot)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.raspberry-pi
References: <sil7a5$jev$1@dont-email.me> <sim0s3$vdr$1@dont-email.me>
<simm6l$nbh$1@dont-email.me> <siogis$3ev$1@dont-email.me>
<sis1fu$htm$1@dont-email.me> <sis6tr$r8q$1@dont-email.me>
X-Clacks-Overhead: GNU Terry Pratchett, Lester Haines
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 7
Message-ID: <NdC8J.562668$QHsf.462764@fx12.ams1>
X-Complaints-To: abuse@tweaknews.nl
NNTP-Posting-Date: Sun, 10 Oct 2021 13:51:41 UTC
Organization: Tweaknews
Date: Sun, 10 Oct 2021 13:51:41 GMT
X-Received-Bytes: 1159
 by: NoOne - Sun, 10 Oct 2021 13:51 UTC

On Mon, 27 Sep 2021 10:37:49 +0000, crn wrote:

> The pi internals cannot supply 2 HDs with power. Use an external USB C hub
> with its own power.

....or a USB drive which has it's own power skt and PSU.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor