On Wed, Apr 18, 2012 at 06:45:11PM +0200, Martin Steigerwald wrote:
> You can echo 1 >
> 
> martin@merkaba:/sys/block/sda/device> ls -l delete
> --w------- 1 root root 4096 Apr 18 18:40 delete
> 
> of the device you want to get rid of. (Double check that you have got the 
> right device!)
> 
> But you either need to reboot (tested) or to rescan the bus to get the 
> device back (untested, don“t know whether this works).

It does:

echo "- - -" > /sys/class/scsi_host/host6/scan

you have to know the right number of scsi host.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to