Re: How to reset HBA when using libsas/mvsas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux