Windows 10: Storage spaces, Resize-Partition : Invalid Parameter Solved


  1. Posts : 9
    Windows 10 Pro for Workstations
       19 Feb 2018 #1

    Storage spaces, Resize-Partition : Invalid Parameter


    Hello,
    I am facing a problem when trying to resize a volume under storage spaces.
    In powershell I can extend the virtualdisk but afterwards when I try to extend the partition I get the following error
    The following screenshot is to demonstrate the issue
    Click image for larger version. 

Name:	Clipboard Image.jpg 
Views:	5 
Size:	33.4 KB 
ID:	177664

    Resize-Partition : Invalid Parameter
    Activity ID: {5333086d-a957-0003-d208-335357a9d301}
    At line:1 char:1
    + Resize-Partition -Size 37.1TB -DriveLetter h
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (StorageWMI:ROOT/Microsoft/.../MSFT_Partition) [Resize-Partition], CimException
    + FullyQualifiedErrorId : StorageWMI 5,Resize-Partition



    As a result the virtualdisk can resize with no problems and right now is at 37.2TB, but the volume is still 28.9TB
    Click image for larger version. 

Name:	Clipboard Image (2).jpg 
Views:	34 
Size:	11.9 KB 
ID:	177667

    The storage spaces have more than enough free space and also I have successfully created a 60.4TB volume W: which is empty.
    My data is on H: and this is the volume I cannot resize
    Click image for larger version. 

Name:	Clipboard Image (1).jpg 
Views:	34 
Size:	24.6 KB 
ID:	177665

    Note that I have successfully resized the storage space some months ago following the same procedure and my guess is that in the recent updates this ability has been messed up. I have the same issue on two other pcs with storage spaces that cannot be extended.
    Windows 10 Pro for workstations v1709 build 16299.248


    Has anyone faced the same problem lately? And what are your ideas on the problem?

    Kind regards,
    Dimitris
      My ComputerSystem Spec

  2.    19 Feb 2018 #2

    Hi, I don't know if you have recently upgraded to 1709 and then experienced problem, but on a thread about storage spaces (there are some of those) I think the user had lost access to storage space until reverting to the previous build.

    How do I recover/repair my storage space? Solved - Windows 10 Forums

    I would guess that if you can work out which update or upgrade resulted in the problem that might help.

    Sorry, no easy solution.. maybe someone else can help.

    You might try searching the forum for
    storage spaces
    and see if anything helps - I don't know enough on this.
      My ComputerSystem Spec


  3. Posts : 9
    Windows 10 Pro for Workstations
    Thread Starter
       19 Feb 2018 #3

    As far as I remember I had resized the storage spaces within 1709, but one of the latest updates has probably messed up with the resizing function.

    I am aware of the other issues but nothing resembled this.
    My best guess is that this is a bug since I have exhausted most of the possible solutions.
      My ComputerSystem Spec

  4.    19 Feb 2018 #4

    For anyone reading this- I've OCR'd the text in red:

    PS C:\Windows\system32> Resize-Partition -Size 37.1TB -DriveLetter h
    Resize-Partition : Invalid Parameter
    Activity ID: {5333086d-a957-0003-d208-335357a9d301}
    At line:1 char:1
    + Resize-Partition -Size 37.1TB -DriveLetter h
    + Categorylnfo : InvalidArgument: (StorageWMI:ROOT/Microsoft/.../MSFT_Partition) [Resize-Partition], CimException
    + FullyQualifiedErrorld : StorageWMI 5.Resize-Partition
      My ComputerSystem Spec


  5. Posts : 9
    Windows 10 Pro for Workstations
    Thread Starter
       19 Feb 2018 #5

    I already have this text with red letters under the powershell screenshot :)

    dalchina said: View Post
    For anyone reading this- I've OCR'd the text in red:

    PS C:\Windows\system32> Resize-Partition -Size 37.1TB -DriveLetter h
    Resize-Partition : Invalid Parameter
    Activity ID: {5333086d-a957-0003-d208-335357a9d301}
    At line:1 char:1
    + Resize-Partition -Size 37.1TB -DriveLetter h
    + Categorylnfo : InvalidArgument: (StorageWMI:ROOT/Microsoft/.../MSFT_Partition) [Resize-Partition], CimException
    + FullyQualifiedErrorld : StorageWMI 5.Resize-Partition
      My ComputerSystem Spec

  6.    19 Feb 2018 #6

    Yes, but I found it extremely hard to read- now it's clearer...

    I see what you mean in terms of the command apparently being correct. As it's a simple syntax check it seems strange it is complaining.

    If you think it's an update, rather than an upgrade, you could of course experiment by uninstalling upgrades.... not nice...
      My ComputerSystem Spec


  7. Posts : 9
    Windows 10 Pro for Workstations
    Thread Starter
       22 Feb 2018 #7

    I had an idea that worked out just fine

    I booted in Safe Mode and extended the pool to the available virtualdisk size

    Click image for larger version. 

Name:	Clipboard Image (4).jpg 
Views:	1 
Size:	109.3 KB 
ID:	178153

    Click image for larger version. 

Name:	Clipboard Image (5).jpg 
Views:	11 
Size:	19.5 KB 
ID:	178154

    Click image for larger version. 

Name:	Clipboard Image (6).jpg 
Views:	11 
Size:	24.8 KB 
ID:	178155

    Click image for larger version. 

Name:	Clipboard Image (8).jpg 
Views:	1 
Size:	107.6 KB 
ID:	178156


    Click image for larger version. 

Name:	Clipboard Image.jpg 
Views:	11 
Size:	32.2 KB 
ID:	178157

    Now the volume has successfully resized to 59.9TB

    Hope this will help anyone with the same problem

    Always backup before such procedures!
      My ComputerSystem Spec


 

Related Threads
How to Rename Physical Drive in Storage Pool for Storage Spaces in Windows 10 Storage Spaces helps protect your data from drive failures and extend storage over time as you add drives to your PC. You can use Storage Spaces to group two or more...
How to Upgrade Storage Pool for Storage Spaces in Windows 10 Storage Spaces helps protect your data from drive failures and extend storage over time as you add drives to your PC. You can use Storage Spaces to group two or more drives together in...
How to Delete a Storage Pool for Storage Spaces in Windows 10 Storage Spaces helps protect your data from drive failures and extend storage over time as you add drives to your PC. You can use Storage Spaces to group two or more drives together in...
How to Remove Drive from Storage Pool for Storage Spaces in Windows 10 Storage Spaces helps protect your data from drive failures and extend storage over time as you add drives to your PC. You can use Storage Spaces to group two or more drives...
How to Optimize Drive Usage in Storage Pool for Storage Spaces in Windows 10 Storage Spaces helps protect your data from drive failures and extend storage over time as you add drives to your PC. You can use Storage Spaces to group two or more...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:06.
Find Us