Nov 08 2021 03:50 AM
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.
Nov 09 2021 01:48 AM
Nov 11 2021 12:45 AM
Nov 12 2021 09:24 AM
Nov 12 2021 09:30 AM
Nov 13 2021 03:06 PM - edited Nov 13 2021 03:17 PM
With respect to the write protected issue, if it's a result of TrueNAS, then why can I remove the write protection through DiskPart?
The problem with repartitioning is that I'll lose everything on that iSCSI disk/volume. So, this isn't an acceptable option. I need to be able to resolve the issue without destroying the data.
Nothing different has happened with the TrueNAS server. I did not change anything on that server; the iSCSI share was working perfectly before I ran robocopy: robocopy seems to have broken everything.
As for disconnecting and reconnecting, I've disconnected and reconnected the iSCSI disk/volume many times, but that hasn't improved anything.
Here's the output of the command you requested:
It shows "Trim supported".