On 08/28/2014 11:29 AM, Mike Christie wrote: > On 08/28/2014 12:59 AM, Ulrich Windl wrote: >>>> To delete a device just do >>>> >>>> echo 1 > /sys/block/sdX/device/delete >> I think the confusing thing is that you don't see a "delete" in >> /sys/block/sdX/device. > > Not sure what you mean. I do: > > ls /sys/block/sda/device/ > block evt_media_change max_sectors rescan state > bsg generic modalias rev subsystem > delete iocounterbits model scsi_device timeout > device_blocked iodone_cnt power scsi_disk type > dh_state ioerr_cnt queue_depth scsi_generic uevent > driver iorequest_cnt queue_type scsi_level vendor >
Ah, I see. I think depending on the kernel config options used the device symlink might not even be there. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
