pirmd., 2020. g. 13. janv., plkst. 11:51 — lietotājs John Garry (<john.garry@xxxxxxxxxx>) rakstīja: > If you just want to rest the disk, you can reset the PHY to which the > disk is attached through sysfs, which is essentially is same as ejecting > and reinserting the disk: > 2. Go to PHY sysfs folder and disable+enable the PHY: Awesome, this works great for me. Thanks! > > I have tried: > > $ echo 1 > /sys/block/sdf/device/delete > > $ echo '- - -' > /sys/class/scsi_host/host0/scan > > > > but it doesn't work as it doesn't detect any new drives. > > I'm not sure if this is the correct method. Searching on internet it's most common suggestion and I didn't saw anything else. https://unix.stackexchange.com/a/404408/51019