Virtual unplug (was Re: [PATCH 26/30] ext4: do not send discards as barriers)

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

 



On 31/08/2010 09:11, Tejun Heo wrote:
[...]
$ echo 1>  /sys/block/sdX/device/delete
$ echo - - ->  /sys/class/scsi_host/hostX/scan

should do the trick.

Handy that, I just used it to pretend unplug and replug a USB external drive after I'd changed the partition table and formatted them, to get the new partitions to appear in /dev/disk/by-uuid/

Cheers,

John.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux