Storage spaces, Resize-Partition : Invalid Parameter


  1. Posts : 12
    Windows 10 Pro for Workstations
       #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
    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image.jpg

    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
    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image-2-.jpg

    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
    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image-1-.jpg

    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 Computer


  2. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #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 Computers


  3. Posts : 12
    Windows 10 Pro for Workstations
    Thread Starter
       #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 Computer


  4. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #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 Computers


  5. Posts : 12
    Windows 10 Pro for Workstations
    Thread Starter
       #5

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

    dalchina said:
    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 Computer


  6. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #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 Computers


  7. Posts : 12
    Windows 10 Pro for Workstations
    Thread Starter
       #7

    I had an idea that worked out just fine

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

    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image-4-.jpg

    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image-5-.jpg

    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image-6-.jpg

    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image-8-.jpg


    Storage spaces, Resize-Partition : Invalid Parameter-clipboard-image.jpg

    Now the volume has successfully resized to 59.9TB

    Hope this will help anyone with the same problem

    Always backup before such procedures!
      My Computer


 

  Related Discussions
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 16:45.
Find Us




Windows 10 Forums