RPi Move USB HDD?
Discussion
I have a Raspberry Pi running PiHole, Unbound and Samba on my network and it works well.
After a recent overhaul it's running off a Pi5 with two USB HDDs. One is used for the OS and the Pi boots from this and logs to it etc (no SD cards in sight!), the other is simply a filestore with user folders for nightly phone backups.
I'd like to add another USB HDD and duplicate the first HDD to it. This part is easy and I'm not worried about it and yes I know a Synology NAS would be far better etc. etc.
My question is this: If I move the OS HDD into a different USB slot, is the OS clever enough to find it and boot from it, or does it rely on it being in the port where it was configured?
Thanks.
After a recent overhaul it's running off a Pi5 with two USB HDDs. One is used for the OS and the Pi boots from this and logs to it etc (no SD cards in sight!), the other is simply a filestore with user folders for nightly phone backups.
I'd like to add another USB HDD and duplicate the first HDD to it. This part is easy and I'm not worried about it and yes I know a Synology NAS would be far better etc. etc.
My question is this: If I move the OS HDD into a different USB slot, is the OS clever enough to find it and boot from it, or does it rely on it being in the port where it was configured?
Thanks.
Baldchap said:
I have a Raspberry Pi running PiHole, Unbound and Samba on my network and it works well.
After a recent overhaul it's running off a Pi5 with two USB HDDs. One is used for the OS and the Pi boots from this and logs to it etc (no SD cards in sight!), the other is simply a filestore with user folders for nightly phone backups.
I'd like to add another USB HDD and duplicate the first HDD to it. This part is easy and I'm not worried about it and yes I know a Synology NAS would be far better etc. etc.
My question is this: If I move the OS HDD into a different USB slot, is the OS clever enough to find it and boot from it, or does it rely on it being in the port where it was configured?
Thanks.
Have a look in /etc/fstab. If you see relevant lines that start with PARTUUID then it's safe to move the drive between USB ports (this has been the case for some years now).After a recent overhaul it's running off a Pi5 with two USB HDDs. One is used for the OS and the Pi boots from this and logs to it etc (no SD cards in sight!), the other is simply a filestore with user folders for nightly phone backups.
I'd like to add another USB HDD and duplicate the first HDD to it. This part is easy and I'm not worried about it and yes I know a Synology NAS would be far better etc. etc.
My question is this: If I move the OS HDD into a different USB slot, is the OS clever enough to find it and boot from it, or does it rely on it being in the port where it was configured?
Thanks.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff