Together-hard drive is not resize FS

Hello!


I'm trying to resize a VM with Set-disc drive.

Resizing to the vmdk level works, but, as indicated in the documentation, if I'm not resize the disk to the operating system, the command should expand the FS.

Well, it does not work...

I'm trying to do this in different ways:

- 1 get - VM $vmName | Get-hard drive | where {$_.} Name - eq "Hard Disk 2"} | Together-hard drive - CapacityGB 36 - ResizeGuestPartition-confirm: $false -> this process stucks

2 - get - VM $vmName | Get-hard drive | where {$_.} Name - eq "Hard Disk 2"} | Together-hard drive - CapacityGB 36 - ResizeGuestPartition - GuestCredentials $credentials - confirm: $false -> I get this result:

Hard drive set: 21/01/2016 17:30:22 Set-hard drive running the script in the operating system guest VM 'devvcli11 '.

has failed: "the system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The specified disc '4' was not found.

'

At line: 1 char: 71

+ Get - VM Devvcli11 | Get-hard drive | where {$_.} Name - eq "Hard Disk 2"} | Game-HardDi...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo: InvalidData: (devvcli11:VirtualMachineImpl) [Set-hard drive], VimException

+ FullyQualifiedErrorId: Client20_RunScriptInGuestHelper_RunScriptFileInGuest_ScriptError, VMware.VimAutomation.Vi

Core.Cmdlets.Commands.VirtualDevice.SetHardDisk

WARNING: The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The system cannot find the drive specified.

The specified disc '4' was not found.

3 - get - VM $vmName | Get-hard drive | where {$_.} Name - eq "Hard Disk 2"} | Together-hard drive - CapacityGB 36 - GuestCredentials $credentials - confirm: $false--> this command completes without error, but the drive remains with the old size


Can someone help me?


Thanks!

What OS are you running inside the guest?

Like the cmdlet Set - hard drive help States, "for a list of supported operating systems see the PowerCLI User Guide".

Take a look at page 28, the help of custom Scripts to extend the supported operating system for vSphere PowerCLI Cmdlets

Tags: VMware

Similar Questions

  • external hard drive is not displayed in disk utility

    I have a drive (2 TB) seagate desktop external hard, while the backup time machine HDD power adapter was pulled from the socket. Now the hard drive is not recognized (both on the utility disk and office) of my mac pro book works on os x el capitan, seeing the hard drive is disabled, but I can feel and hear the operation of the hard drive. Also when I hang up my iMac running os x yosemite on the hard drive can be used and seems to work very well.

    I tried to reformat the hard disk, but it has failed it is still not recognized on my mac pro book

    Hello amartnez,

    Thank you for using communities of Apple Support.

    From your post, I see that your drive external hard seagate was pulled from the socket during backup with Time Machine, and now it is not recognized by your MacBook Pro. I know how it is important to ensure that you are able to connect your external drive to your Mac. I have something I want you to try.

    Because the external hard drive seems to be working on another computer (iMac), please try a different USB port on your MacBook Pro and see if it recognizes the external hard drive on the desktop and in disk utility. If so, that means you have a problem with this specific USB port on the MacBook Pro.

    See you soon!

  • IPhoto on the external hard drive will not launch despite the force quit and relaunch several times. Can someone help me?

    I have a MacBook from 2008. 4 years ago I moved my iPhoto on an external hard drive. I have thousands if photos on it. IPhoto on the external hard drive will not launch despite the force quit and relaunch several times. Can someone help me?

    < re-titled by host >

    I moved my iPhoto on an external hard drive.

    Did you move the iPhoto library for the external hard drive or the iPhoto application, or both?

    How is formatted the external hard drive? Is the file system on the drive Mac OS extended (journaled) or other system files?  Is the drive directly connected by USB or similar, or is it a SIN?

    IPhoto on the external hard drive will not launch despite the force quit and relaunch several times.

    I don't understand - if you force quit smoking, launches the application, or you can not force it quit?

    IPhoto is suspended without doing anything, when you launch?

    What version of iPhoto does? And what version of Mac OS X?

  • Satellite Pro 2100 - new HARD drive is not booting

    Hello
    I wanted to update my SP2100 with a WD1200BEVE. (120 GB of WD).

    Copy of disk via USB + speakers worked, but after changing the disc nine does not start: the laptop hangs up with blinking cursor.
    Already checked that the partition is active and even a new installation from a CD of XP has the same result! The BIOS seems to accept the drive (if not installing via CD should have failed) so where is the problem?

    Any tips?

    Hi Kannengiesser,

    Which is really strange that you can t start up disk even it s recognized in BIOS correctly...

    You have the Toshiba Recovery disk? If so, you can try this disc factory settings. If it works, it was just an installation problem.

    But I couldn't imagine also that the new HARD drive is not working properly last week I had a similar problem. Made a HARD drive upgrade, but a few days later Windows didn't start because the HARD drive had a bad sector, now I'm waiting for a replacement drive.

  • Re: Tecra 9100 - new HARD drive is not detected

    I have a Toshiba Harddisk provide a Tecra 9100. Checking the BIOS it shows "Enhanced IDE", but you are trying to boot from the disc does not work HARD. Even trying to install a new operating system present, that the HARD drive is not detected.
    From the laptop is also very long.
    Any idea?

    Your new HARD drive is larger than 120 GB? The HARD disk controller supports the 28-bit LBA and large drives as 120 GB will not be recognized by the BIOS.

    What you mean with Enhanced IDE? The BIOS recognizes the new HARD drive with model number?

  • Satellite A200 PSAF6A - HARD drive is not recognized. No recovery of product

    The drive HARD in my Toshiba Satellite A200 PSAF6A-0US01N is not recognized in the machine or any other computer, so I can't run any windows/toshiba repair.

    I know that readers have a factory reset hidden on the disc and press 0 to the power upward, but with the unreadable disk, how can I repair my installation of Windows Vista?

    Hello

    If the HARD drive is not recognized by the BIOS or other laptops, then I would say that your HARD drive is defective.
    In this case, you need to replace the HARD drive.
    In this case, you will not be able to start the recovery procedure from the HARD drive because it works badly as he has already said

    Are you from the Australia? If you need a recovery disk, I recommend contacting the local Toshiba ASP to get this drive

  • Seagate 120 GB external HARD drive could not be detected

    We use Win XP Pro, when you plug the HDD of the promt "Cypress AT2LP RC42" System. How to detect this material?

    In the Device Manager Composite Device failed to start Code: 10

    Hello

    I think it might be 2 possibilities, why it does not work.
    First the external drive is dead and that is why it does not work or there is something wrong with the USB ports.
    Sometimes after installing SP2, the ports will not work.

    For this, I found this Microsoft Knowledge base article:
    http://support.Microsoft.com/?kbid=873169

    I think you should try to connect this USB HDD on another computer, make sure that the HARD drive is not altered.

    My brother uses a with USB cable external HARD disk that supports 2 USB connectors.
    This cable allows you to use the USB ports and dual power.
    I think that's not a bad idea, try using a USB hub with an external power supply and then connect the HDD to this hub.

    Eventually, it helps.

  • New 500 GB HARD drive is not recognized correctly

    What is happening, I replaced the drive HARD than Go 150 original after about 18 months, again, now a year later, that the drive seems to have died too, so I bought a new seagate 500 GB drive HARD for it, the BIOS said it s it, but vista CD dies just when it is trying to install, CD WXP can t see the drive at all, but I expected that when WXP is older , but Vista I expected to work.

    So here's the thing, I put the new HARD drive in my desktop PC and he found in the BIOS no worries, then I started the Vista CD and again no probs, Vista installed without worries, then I put the HARD drive in the lappy and once again he can t read it, so it s not a Vista thing , it seems that it s the lappy itself

    Is this a problem with the Toshiba BIOS, or is it a physical problem where the Toshiba is struggling in reading ANY player?

    It s driving me crazy.

    And what model of laptop do you have?

    Generally upgrade HARD drive should not be a problem. I assume that your laptop's HARD drive with SATA interface and I sure you bought the right of Mr. I've upgraded or because of the experiences on several laptops equipped new hard disks and all of them were still properly recognized and I was able to install original Toshiba Recovery (recovery DVD) on this subject image.

    Maybe you have an older model A200 and perhaps he has some compatibility issues with new hard disks. I will be 100% sure works perfectly with HARD drive up to 300 or 400 GB maybe.

    Do you use Toshiba Recovery for the Vista installation disc or original disc of Microsoft?

    BTW: WXP is unclear due to lack of driver SATA HARD drive.

  • HARD drive is not detected in BIOS - need to recover data.

    What happened is that my laptolaptop takes a long time to start, so I slapped him. After that I kept getting the error message "no boot device, please restart". So whenever I restarted I kept getting this message. I also sometimes had "Media Fail" message. I pressed F2 at startup to get into the Bios. Settings so check I saw that hard disk still showed it's a Hitachi one.

    My hard drive was clicking to it so I searched online advice on what to do and I saw on the opening of the hard drive in a clean environment, ensuring that no dust went on the drive. I expect the head being stuck on disc, but it was not stuck. So basically, I put the lid on. Since then, the hard drive was not detected.

    Not in the Bios (he said no). I bought a CD to restart which can temporarily become Windows to the screen under Xp, so I can go to the computer to retrieve data from the hard drive. It shows nothing. There is always a clicking hard drive, more a ticking sound. It is always possible that an expert could remove the hard drive and recover my data that are valuable photos and videos.

    Thank you

    What model of laptop do you have?
    Try to set the BIOS to default settings and check if the HARD drive is recognized correctly.

  • Toshiba Canvio Basics HARD drive does not appear in my computer

    Hello

    I have a HDTB110AK3BA - Toshiba 1 TB Canvio Plus Portable Hard Drive for storage 3.0 Basics and the computer will allow it to connect, but it does not appear in my computer / pc is in Device Manager thought but not my pc

    Please help and Windows 7 or windows 8.1 PC do the same thing.

    Hello

    I found the description of the product of this external HARD disk:

    Product features:
    • USB 3.0 - powered portable add-on storage.
    • Voltage of bus capable USB, no need for AC adapter.
    • Easy to use with no software to install.
    • Adapts to large digital files with spacious storage capacity.
    • Protect your drive (internal shock sensor and ramp loading technology).

    Specifications
    • Capacity: 1.0 TB
    • Interface: USB 3.0
    • Transfer rate: up to 5 Gb/s
    • Speed: 5 400 rpm
    • Average access time: 12ms
    • Cache buffer: 8 MB

    It is a HARD USB 3.0 drive. No doubt the HARD drive is not recognized correctly in windows exploerer due to the low power.
    The USB 2.0 port common feeds only 500mA. The USB 3.0 device must be able to 900mA.
    Therefore, it would be advisable to connect this 2 ports USB 2.0 HARD drive with a USB Y cable

  • Toshiba Stor.E Canvio HARD drive does not appear

    Hello

    I got a Toshiba Stor.E Canvio for about 2 years without problems

    By using the external drive recently and the USB cable is removed accidentally. After attempting to connect the USB on my Mac again once the external HARD drive does not appear in the Finder.

    Passing through the disk utility, the hard drive is visible, but I am unable to check or repair the disk.

    The message I get is

    "Peut-t disk utility repair this disk. "Save as many files as possible, reformat the drive and restore your backed up files.

    The HARD drive itself is turned on, the light is on... but I'm stuck now

    Any help would be appreciated

    Gary

    I m not iOS expert and, therefore, I cannot recommend to any advanced troubleshooting but recommend you check out this thread:
    http://Apple.StackExchange.com/questions/130304

  • HARD drive is not recognized on the Satellite 2800 200

    Hello

    First of all, I'm Dutch so I hope that I do not have too many mistakes in my English writing.

    I bought a 2800-200 Satellite at a friend's House. This laptop has a problem.
    When it is started is says "insert the disk in the drive system. Press a key when readya?.

    My bios is ACPI BIOS version 1.80
    In Pheripheral in Bios it says disc hard = not used Mode.

    On page two discs i/o: HARD drive: no drive.

    I tried two hard drives and the two were not working and not recognized in the BIOS.
    I have no CD of restoration.

    My questions:

    What kind of central computer has this laptop?
    Can someone help me with the recovery CD?
    What can I do to fix this?
    How can I change my BIOS so that the HARD drive is recognized?

    My hard drive is MK2023GAS and is not broken. There is nothing on this HARD drive.
    But also with the disk hard 10 GB of origin, I had the same problem.

    I hope you can help me and once again I apologize for my English.

    Hello

    I'll try to help you my friend.

    > When it is started is says "insert the disk in the drive system. Press any key when ready
    This message appeared on my laptop after the HARD disk is dead.
    I had to replace the HARD drive and reinstall the operating system.

    I guess that it of the same problem with your laptop. The HARD drive is not present or not recognized, and you will need to install a compatible HDD for the operation of the OS.

    I have google a bit and discovered that this laptop comes with the 10 GB HARD MK1016GAP of Toshiba drive. It supports the interface ATA-2/ATA-3/ATA-4/ATA-5.

    Please note that many BIOS have a limit of size of HARD drive. This means that not all HARD drive sizes are supported! I assume a 20 GB should be compatible, but this is just my own opinion
    > How can I change my BIOS so that the HARD drive is recognized?
    The BIOS can be modified outside the update (check page driver Toshiba-> Archive-> archive of Satellite).
    But vary important is that you use a compatible HARD drive.

    > Can someone help me with the recovery CD?
    Don t know if you will be able to order this CD at the service provider allowed in your country, because the laptop is really an oldie. But you should ask the guys.
    What you is to install the OS from the Microsoft CD-ROM and then could install drivers needed.

    Greetings

  • Hard drive is not recognized in the BIOS - Equium A60

    Hi hope someone can help. I have a Toshiba Equium EA60-173 and the hard drive is not recognized in the BIOS. When I remove the hard drive and put it in another laptop it is detected fine. I also tried another hard drive in the Toshiba and that does not work either. So I suspect the IDE controller has disappeared, but can I do to confirm this? I wish there was an option in the BIOS to force detection. I updated the BIOS but still the same.

    This laptop is only just out of warranty, so if it is the controller would I need to replace the motherboard? Are there other options at my disposal?

    Thanks in advance.

    Hi Neil,

    Unless there is some physical\problem with the cable/connector hard drive, then it is most likely that you will have a new mainboard for your laptop. I suggest you to contact an authorized service partner and ask them to check your laptop and give you an estimate of the cost of the repair. Then you can try to shop for less expensive alternatives.

    Kind regards

  • I was told that 3 TB hard drive is not as reliable as the 2 TB drive. True?

    I was told that 3 TB hard drive is not as reliable as the 2 TB drive. True?

    Not true. What fool told you that?

  • Hard drive will not accept any CD or DVD

    I have a MacBook Pro, OS 10.6.8 version.  The hard drive will not accept a CD or a DVD.  Thinking maybe I left a floppy disk in the drive, I tried to eject, but the eject button does not eject anything.  I have not tried to insert a disk for a long time, so do not know how long it could have been a problem without me realizing it. I tried to shut down the computer and restart, but this does not solve the problem.  I did some research using the Apple Hardware Test, but the instructions say insert the Applications install disc 2.  Unfortunately, as I can't insert a disc, I can't deal with the problem in this way?  Any suggestions?

    Have you tried:

    Get help with the SuperDrive slot on your Mac - Apple Support loading

    What happens when you try to insert a disk? The player makes a noise?

    This is the Office Mac Pro forum. I asked that your post be moved to the MacBook Pro laptop forum.

Maybe you are looking for

  • Device locked out

    I'm stuck on my iPad for 24 hours? Any way to change this? I'm stuck on my iPad for 24 hours? Any way to change this?

  • HP all-in-one: Microsoft Office does not.

    Bought Hp all in one yesterday, Microsoft Office that comes with the computer has been activated, but it will not respond when I try to use word, outlook and excel. I use PowerPoint.

  • How to prevent overheating on the Equium A60

    My laptop is about 2 years old and overheating after around one hour use and automatically stop. Is there something that can be done to help solve this problem?

  • E250 vs differences c250

    Hello. Can someone tell me please the main differences between the models c and e Sansa? My recent research has shown the information that makes it seem like the only difference between the two is the horizontal/vertical design. The two apparently su

  • How to find the position of errors about?

    When an exception occurs apper Android can find their mistakes about searching in the journal. What could we do?