I am trying to logout of a iSCSI session but when I try I get the error:
The session cannot be logged out since a device on that session is currently being used.
The following event appears in the System event log:
Log Name: System
Source: MSiSCSI
Date: 28/12/2012 12:09:35
Event ID: 116
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: FILESERVER1.curriculum.riddlesdown.local
Description:
Removal of device SCSI\DISK&VEN_DELL&PROD_MD3000I\1&1C121344&0&000000 on iSCSI session fffffa801018e018-4000013700000001 was vetoed by STORAGE\Volume\{c40f72fa-6d5a-11df-913d-0026b975a0c5}#0000000008100000.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSiSCSI" />
<EventID Qualifiers="0">116</EventID>
<Level>0</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-12-28T12:09:35.000000000Z" />
<EventRecordID>165460</EventRecordID>
<Channel>System</Channel>
<Computer>FILESERVER1.curriculum.riddlesdown.local</Computer>
<Security />
</System>
<EventData>
<Data>SCSI\DISK&VEN_DELL&PROD_MD3000I\1&1C121344&0&000000</Data>
<Data>fffffa801018e018-4000013700000001</Data>
<Data>STORAGE\Volume\{c40f72fa-6d5a-11df-913d-0026b975a0c5}#0000000008100000</Data>
<Binary>06000000</Binary>
</EventData>
</Event>
I have downloaded the Handle utility from sysinternals and run it against the path of the iSCSI device and got the following:
Handle v3.5
Copyright (C) 1997-2012 Mark Russinovich
Sysinternals - www.sysinternals.com
System pid: 4 type: File B00: M:\System Volume Information\DpmFilterTrace.txt
System pid: 4 type: File B18: M:\$Extend\$RmMetadata\$Txf
System pid: 4 type: File B1C: M:\$Extend\$RmMetadata\$TxfLog\$TxfLogContainer00000000000000000001
System pid: 4 type: File B20: M:\$Extend\$RmMetadata\$TxfLog\$TxfLog.blf
System pid: 4 type: File B24: M:\$Extend\$RmMetadata\$TxfLog\$TxfLogContainer00000000000000000002
The server has the DPM 2012 agent installed on it, I have stopped the service and tried to logout of the session, that made no difference.
Does anybody have any ideas?