I have a tiny powershell script I'm using to replace square brackets with parenthesis on folder names(it seems that while you can do them, square brackets are technically not supposed to be in file/folder names in NTFS anymore). Anyway, I've noticed when I run this guy, it seems like at first, it will be humming along smoothly, and then after some point, I start getting IOException errors that items are in use by another process. I've looked extensively, and I can't find anything holding a lock though. This happens regardless if it's a network share or local to the pool(I'm usually starting on a network share).
What's more odd, it seems like the change actually does go through. Regardless, it was a little bit disconcerting, I thought I'd see if this is a DrivePool thing or what. I've never run into anything like it with just a more typical ntfs setup.
the error is I start getting is:
Quote
Move-Item : The process cannot access the file because it is being used by another process.
Question
JasonC
I have a tiny powershell script I'm using to replace square brackets with parenthesis on folder names(it seems that while you can do them, square brackets are technically not supposed to be in file/folder names in NTFS anymore). Anyway, I've noticed when I run this guy, it seems like at first, it will be humming along smoothly, and then after some point, I start getting IOException errors that items are in use by another process. I've looked extensively, and I can't find anything holding a lock though. This happens regardless if it's a network share or local to the pool(I'm usually starting on a network share).
What's more odd, it seems like the change actually does go through. Regardless, it was a little bit disconcerting, I thought I'd see if this is a DrivePool thing or what. I've never run into anything like it with just a more typical ntfs setup.
the error is I start getting is:
Or more specifically:
The most recent run I did was about 200 foldes, so it doesn't even seem like that much load. Is this DrivePool causing this, do you think?
Thanks!
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.