Remove SCSI LUN with sg number of opens at 2?

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

 



I'm trying to remove a SCSI lun using:
echo "scsi remove-single-device 1 0 1 100" > /proc/scsi/scsi
It will not remove as seen in cat /proc/scsi/scsi:
Host: scsi1 Channel: 00 Id: 01 Lun: 100
 Vendor: 3PARdata Model: VV               Rev: 0000
 Type:   Direct-Access                    ANSI SCSI revision: 03

cat /proc/scsi/sg/devices shows it has 2 opens:
host   chan  id      lun     type   opens  qdepth  busy   online
1      0     1       100     0      2      30      0      1

Any way to find out what has it opened so it can be closed and removed
without a reboot?

Thanks.
   -Mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux