iscsi
25 TopicsError while Disconnect-IScsiTarget
Hi, I have a Powershell script that attaches and detaches and Block Storage device. The attachment follows this general sort of procedure: 1. Set-iScsiChapSecret 2. New-IscsiTargetPortal 3. Get-IscsiTargetPortal | Update-IscsiTargetPortal 4. Get-IscsiTarget | ForEach-Object { Connect-IscsiTarget } 5. Get-IscsiSession | ForEach-Object { Register-IscsiSession} The detachment follows this general sort of steps: 1. Get-IscsiSession | ForEach-Object { Unregister-IScsiSession } 2. Get-IscsiTarget | ForEach-Object { Disconnect-IscsiTarget } 3. Get-IScsiTargetPortal | ForEach-Object { Remove-iScsiTargetPortal } I am getting some very strange results. One of it is when I call Disconnect-IscsiTarget I get "The session cannot be logged out since a device on that session is current being used." But I called the Unregister-IscsiSession and it seemed to work correctly. Anyone seen this error and how I can fix it/find out more information? Thanks692Views0likes0CommentsConfigure Dell PowerVault MD3200i to work all the 8 Ethernet ports at the same time
Hello, I have a Dell PowerVault MD3200i and i want to connect it to windows server 2022. The PowerVault has 8ports/1gb (2 networkscards) and the windows server 1 port sfp+ I have already done the connection but all the traffic goes through only to 4 ports. How can i make this machine work to 8 ports at the same time?Solved1KViews0likes1CommentRobocopy did something weird and now my iSCSI volume shows it's at 100% capacity
Hello All, I'd really appreciate some help resolving this issue. I was using robocopy to copy the contents from one iSCSI volume to another - moving folder redirection contents from the old to the new location. There was about 600-700GB worth of data that needed to be migrated. I'm not sure what happened but I noticed that I no domain system could access the redirected folders. I checked my TrueNAS target to see that the iSCSI share was at 100%. I looked at the Win2k22 initiator which showed the iSCSI volume as offline. I tried to get it online using disk management, but I had no luck. So, I used "diskpart" to bring it online. The drive properties shows that 1.174T used out of 14T. I used "shrink querymax" to see how much space I could reclaim, which was around 12T. However, when I used "shrink" I was told the disk was write protected. I cleared that attribute from the disk, but as soon as I do that, the volume goes down. So, I'm a bit stuck. I can't clear the attribute without having the drive and volume go offline, but whenever I bring the drive and volume online, the attribute goes right back to read-only. Any any all help will be greatly appreciated to help me solve this problem.2.5KViews1like5CommentsTRIM/UNMAP support for iSCSI sessions
Hi, We've setup a virtual disk on iSCSI server (Windows Server 2022) using New-IscsiVirtualDisk and then connected to this disk from another server machine. Running "fsutil fsinfo sectorinfo" for this remote disk says: Performs Normal Seeks Trim Not Supported But If we mount the same vhdx file locally (not using iSCSI), the fsutil reports: No Seek Penalty Trim Supported The exact same thing happens for "ramdisk"s as well. Actually we caught that issues while were using ramdisks. Could some please advise if it's possible to enable UNMAP support over Microsoft's iSCSI implementation? Sergey2KViews1like0CommentsUnderstanding Virtual Disks in iSCSI Target Server
First published on TECHNET on Dec 04, 2013 ContextIn Windows Server 2012 R2, iSCSI Target Server made significant improvements in its persistence layer by providing larger, resilient, dynamically-growing SCSI Logical Units (LUs) that are based on the VHDX format.11KViews0likes0Comments