On Friday, January 19th, 2024 at 1:31 PM, Rich Shepard <[email protected]> wrote:
> On Fri, 19 Jan 2024, Ben Koenig wrote: > > > Use "ls -l /dev/disk/by-path/" to show symlink. This will tell you which > > drive letter that port is currently assigned to. > > > Yep, that's what I did. > > > Then open up fstab, and replace the usual /dev/sdX entry with > > /dev/disk/by-path/pci-0000<blah blah blah> > > > Yep, that's what I did. > > Thanks for makeing me aware of /dev/disk/. > > Rich That should simplify a LOT of disk mounts going forward. And if you need to reconfigure your RAID box this will help avoid the problems you run into when a disk fails and needs to be replaced. It just requires a little more effort up front. It won't prevent weird stuff from happening when the USB device resets, but at least re-mounting a defunct device won't be the thing that delays your water quality reports..... -Ben
