Oddity with set-hard drive - storageformat?

I'm trying to move individual disks of virtual machine based on their data store, regardless of what that VM that they are attached to.  I can give a larger image of my task if requested, but I'm not sure its relevant.

When I get the disk object in the pipeline to Get-data store:

Get-data store 'datastorename ' | Get-hard drive | Select - 1 first | Together-hard drive - Datastore (Get-data store "newdatastore") - thin - StorageFormat confirm: $false

... I get this error:

Together-hard drive: 13/01/2011 13:46:18 Set - HardDisk Transformation of the storage disc format is not supported for drives not attached.

However, when I get the disk object in the pipeline to Get - VM:

Get - VM "vmname" | Get-hard drive | Select - 1 first | Together-hard drive - Datastore (Get-data store "newdatastore") - thin - StorageFormat confirm: $false

.. .it works.  And it's the same file/disk VM, I deal in both cases.

Strange?

Hi Jesse,.

When a hard drive is directly extracted from a data store, there is insufficient information to determine whether or not it is attached to a virtual machine. And for drives that are not attached to a virtual machine we do not support changing the storage format. You must retrieve the disks of virtual machines to do this.

Kind regards

Dimitar

Team PowerCLI

Tags: VMware

Similar Questions

  • How do I set up a dual boot Vista and XP with 2 hard drives?

    Dual boot Vista and XP with 2 hard drives

    I tried to get my computer has a separate hard drive put in place that lets me run Windows XP or Windows Vista. I tried the path of the CMD, but I could do things wrong with that because the news NTLDR appeared much too different info from Vista. Currently, I have deleted this change to the startup configuration. I want to know what I have to do to get these two to be able to boot. I noticed problems similar to mine, but the answer always seems to be a software that would cost me money.

    Thank you

    Tevans95

    Hello Tevans95,

    You cannot install two different operating systems on two different disks. For a dual-boot environment, you must install both XP and Vista on the same drive with different partitions.

    In addition, you must install Windows XP first and then Windows Vista.

    You can check the items below which will give you information on Dual boot.

    Install multiple operating systems (multiboot)

    Set up a dual-boot system

    Change the default operating system for startup (multiboot)

    There is no software that can help you to install XP and Vista on different drives.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also backed u

    My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also saved to the time capsule. Everything is in 'Data' when I look through the Airport utility. I think that the information that I've lost are still there since I was a Capsule 3 to.

    Time Machine backup to a sparsebundle.

    The sparsebundle will use the share name of computer. So, it should be obvious who is your Macbook and that is your Macpro.

    Open the sparsebundle in Finder and keep open the subfolders until you get to the backup of each separate hard drive...

    You has of course set the exclusion in Time Machine?

    By default, Time Machine will exclude your second drive unless you have included it. Did you?

    Once you get to this level during the backup, you can do a full restore manually whenever you want.

  • Raid PowerEdge r.620 with single hard drive controller

    Hi all

    I have Dell PowerEdge r.620 with 1 * 1 TB hard drive, Raid Controller using mini H710... When I try to install Win Server 2008/R2 x 64 the HDD is not detecting, I've read in this forum of the disc cause hard does not detect is pilot raid is not installed, but I don't have that single hard drive is possible to set up raid with single hard drive or I don't have to use raid controller but I still don't understand how to set up the server with no raid...

    Thank you...

    Dimm21
    Sorry for the late reply, do you mean raid controller in the server? If you want to say, I always do not install driver coz is new server than i've got...

    I want to know, if posibble install raid on one hard drive and how to configure who... Server raid controller is mini H710

    Thanks for your response

    Yes, the RAID controller.  One you have?  I'll assume a PERC H710 for now:

    The H710 PERC is NOT compatible non-RAID (you cannot use a single disk without RAID)... in order to use a hard drive, you MUST configure a single drive RAID 0.  This must be done in the RAID controller BIOS utility, accessed by pressing CTRL-R during POST when prompted.

    Once configured, you need TO load the driver for the operating system, see the drives connected to the controller.

    If you have a H310, it SUPPORTS no RAID, so you do not have to configure anything in the RAID controller BIOS, HOWEVER, you MUST always load the RAID controller driver during installation.

  • expand the disk error using the cmdlet set-hard drive

    Hello

    I will try to extend a vmdk with the command set-hard drive the rcli installed to my latptop througth, but I'm getting some sort of syntax error, I think.

    I connect the vCenter and can run commands very well...

    I use the following commands in the process:

    PS C:\ > get-disk hard-vm xxx_teco

    CapacityKB persistence Filename
    ----------                     -----------                                                    --------
    persistent 31457280 [brjgs163_Storage1_Local] xxx_teco/xxx_teco.vmdk
    persistent 5242880 [brjgs163_Storage1_Local] xxx_teco/xxx_teco_1.vmdk

    then:

    PS C:\ > set-hard drive - vm xxx_teco - hard drive ' [brjgs163_Storage1_Local] xxx_teco/xxx_teco_1.vmdk "-capcity 10485760

    then, got the error:

    Together-hard drive: Nao e possible associar o Parâmetro 'hard drive '. NAO e possible Converter "[brjgs163_Storage1_Local]" o valor homes don't do tipo "System.String" no type "VMware.VimAutomation.Types.HardDisk".
    Em linha:1 caractere:36 + set-hard drive - vm xxx_teco - hard disk < < < < [brjgs163_Storage1_Local] xxx_teco/xxx_teco_1.vmdk - capcity 10485760
    + CategoryInfo: InvalidArgument: (:)) [game-hard drive], ParameterBindingException)
    + FullyQualifiedErrorId: CannotConvertArgumentNoMessage, VMware.VimAutomation.Commands.SetHardDisk

    I have tryied somehow different to specify the disk hard but without success... always get these errors of messages...

    any help, please.

    The cmdlet Set-HDD wants something, such that returned by Get - hard drive to the hard drive setting.

    Easier is to use the pipeline (see also example 1 on the hard disk-Get help).

    get-disk hard - vm xxx_teco | where {$_.} {Name - eq ' Hard disk 2 "} | whole-disk hard-capcity 10485760


  • Migration to a new SAN with a hard drive to separate LUNs

    Hello

    Thanks LucD, I now have a CSV containing on the same line

    the VM name and each hard disk and its file name. I also have a field for each drive with a place to enter the name of the Destination data for each store.

    VM,VM_NewDS,HD1,LUN1,LUN1_NEWDS,HD2,LUN2,LUN2_NEWDS,HD3,LUN3,LUN3_NEWDS,HD4,LUN4,LUN4_NEWDS,HD5,LUN5,LUN5_NEWDS,HD6,LUN6,LUN6_NEWDS,HD7,LUN7,LUN7_NEWDS,HD8,LUN8,LUN8_NEWDS,HD9,LUN9,LUN9_NEWDS,HD10,LUN10,LUN10_NEWDS,HD11,LUN11,LUN11_NEWDS,HD12,LUN12,LUN12_NEWDS,HD13,LUN13,LUN13_NEWDS,HD14,LUN14,LUN14_NEWDS,HD15,LUN15 LUN15_NEWDS, HD16, LUN16, LUN16_NEWDS

    I know on the Move-VM command, it will change ALL the VM selected in the specified data store.

    What I need is to be able to move the VM files (vmx, nvram, vmxf, etc.) to the VM_NewDS and each hard drive to its LUN * _NEWDS data store.

    My LUN is set to be really separate (a Mon, 8 vmdk).

    If I use Set-disc hard $HDx - Datastore HDx_NEWDS he won't move the vmx, vmxf, etc...

    Do you know a way?

    Thank you

    There are 2 cmdlets that allow you to move a virtual machine and it's hard, Move-VM and Set - hard drive.

    As you have discovered, the cmdlet Set-hard drive does not move the .vmx and another VM of the linked files.

    The cmdlet Set-hard drive lets you move a hard disk.

    One way to do, is use the Move-VM and then the Set-virtual hard disk for each hard drive.

    The downside is that the files on your drive hard twice will be moved and you need storage space enough on the data store the virtual machine specified in the Move-VM cmdlet with guests full.

    The other way is to use the RelocateVM_Task method.

    It is a good example in the thread Storage VMotion for several data stores .

  • Of a VBox OVF 0.9 to VMWare image with 2 hard drives

    Hello world

    I'm trying to convert a VirtualBox 3.1.4 image with 2 hard drives with OVFTool 1.00 x 64 linux.

    ~/VirtualBox$ ovftool - noDisks MANAGER .ovf-SDM SDM - MANAGER .vmx

    Source OVF opening: SDM - MANAGER .ovf

    Target VMX opening: SDM - MANAGER .vmx

    Error:

    -"3" of the "vim.vm.device.VirtualIDEController" device has been found. Only '2' permit

    I can't find the solution to the problem. Could someone help me on this?

    I added the ovf file to the post!

    Kind regards

    Jeroen van Hoef

    Hi Jeroen

    A quick glance on the OVF, you have as far as I can see that you have 1 IDE controller using 'address = 1' this translates to be IDE 1 controller on the motherboard. Controllers IDE are the default devices you'll be controller IDE automatically get to address 0 defined for example the 0 on the motherboard IDE controller.

    Second, you set the CD-ROM to use AddressOnParent = 0, which is the same disc 1 with InstanceId 8 AddressOnParent have.

    A fix for your OVF is therefore to define a second controller ide like

    < item >

    < rasd:Caption > ideController0 < / rasd:Caption >

    < rasd:Description > IDE controller < / rasd:Description >

    < rasd:InstanceId > 20 < / rasd:InstanceId >

    < rasd:ResourceType > 5 < / rasd:ResourceType >

    < rasd:ResourceSubType > PIIX4 < / rasd:ResourceSubType >

    < rasd:Address > 0 < / rasd:Address >

    < rasd:BusNumber > 0 < / rasd:BusNumber >

    < / point >

    map the drive to use it (you can do this by changing the Parent = 2) ide controller.

    It may be useful

    Eske

  • Problem with new HARD drive and Qosmio Player installation

    Hi all
    I hope someone can help, I had my Qosmio for 2 1/2 years now and recently had a problem with the hard drive. I decided to replace the hard drive, because it was the fastest solution. The problem I have now is that I can't receive TV on media center. I tried to install qosmio player at the disk to see if it made any difference, but when I run the provided recovery disc software tells me that there is not enough disk space! The laptop came with a 60G hard drive and the new HARD drive manufactured by the same manufacturer is a 150 GB, can someone help me out with this would be appreciated.

    Thank you
    ED.

    Have you tried to install Qosmioplayer initially, then on operating system? If I remember well, on this first portable Qosmio, it was very important to install Qosmioplayer initially.

  • A40: problems, I think that with a hard drive

    Hello! Bit of background - had a laptop Toshiba SA40 ISI during a little less of 2 years, and there have been some major problem with it in these last days (until then it had been beautiful and functional with brio).

    He started working yesterday incredibly slowly, took forever to load, kept on crashing etc. After the restart for the 5th time, it would have just send me to the "Windows didn't load correctly screen ' and ask me to select an option, and whatever that I did sent me to the toshiba load screen, Windows does not at all.

    So I had use the product recovery disks and reformat the hard disk. For half a day, the laptop was working once again excellent, no problem. Then this morning, out of nowhere, it completely crashed again. I rebooted, and again the same problems appear. But now I can't used the product to reformat recovery disks. A few times he reformatted then the screen became all black. The error messages became more in worst - now, when I'm trying to recover, comes up with an error message:

    GDISK (e) cannot write to sector 0 of the fixed disk 1 - the IDE controller error

    F0ollowed by a little more information, I have not a chance to note that the screen then recovering flashed, then the screen says:

    !!!!!!!!!! Error!

    Then a screen that says:

    DAY 02/05/06
    Error No.: 11030
    Message: Invalid destination drive

    He has gradually deteriorated. I think there is a problem with the hard drive, the previous messages referred to make it incapable of partition. It is quite anmnoying as it came straight from heaven. Everyone has experienced or heard of something like that? Anyone know what is the problem or what to do? How do you think it will cost you for difficulty? I don't know if it is covered by the warranty, or if this series comes with 2 year warranty.

    Any help would be much appreciated

    Russell

    Hello

    If the warranty is valid, then all replacements will be done free of charge. If you are not 100% sure so call the Toshiba service in your country. Please note; If you open the notebook (remove covers) by yourself if you will lose the warranty.

  • Satellite A20-S103 - crackling noise with new HARD drive

    Hello together

    I upgraded my laptop A20-S103 with a hard drive Western Digital WD2500BEVE 250 GB running under Windows XP Pro.
    Since then, I have problems with the sound and the movement of the mouse when the CPU usage is high.

    Up to 50% of its use, works well but before I crack and mouse sticks and made jumping movements.
    The BIOS and drivers are updated to the latest versions of Toshiba online.
    After awhile and a lot of research, I got also the HDD running in DMA mode with the IDE4008.exe ALI tool isn't that hard drive is running in PIO mode.

    In addition, I think that the speed of the hard drive is low when the CPU usage is high.

    Please also read http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=89990𕾆 that is showing that I'm not the only one with this problem.

    Anyone know a solution?

    I agree with Akuma. You should try to update the BIOS and drivers from the chipset and see if it works or not.
    It's worth to try ;)

    The two you can find here:
    http://EU.computers.Toshiba-Europe.com-online decision-making supported Downloads & => Download drivers

  • Y480 - laptop does not start with attached hard drive enclosure.

    My laptop started clicking and will boot LAN, so I opened it and looked at the hard drive. All seemed well, it wouldn't be fair to start. Then I removed the metal casing around it and stuck the drive in. Everything started normally. Chkdsk shows nothing wrong with the hard drive, and I'm not sure why remove the dressing would affect startup. All the thoughts/solutions?

    Blue... temporarily parts of the sponge to keep the HARD drive in place.

    and if your Y480 is still under warranty, can consult a Support technique Lenovo...

    http://support.Lenovo.com/en_US/feedback/detail.page?LegacyDocID=MIGR-76613

    Good luck... Zehn

  • What is the measure to take to get my card to work with my hard drive that I just put in?

    What is the measure to take to get my card to work with my hard drive that I just put in?

    Run Windows Update and install all updates.

    Also, visit your PC manufacturer's Web site and install the latest driver.

  • If your computer comes with a hard drive of 32-bit pc will work better by adding another hard drive of 60 bits or transfer all files on the hard drive of 60 bits?

    The pc is a hp pavilion a706n and windows vista ultimate.

    Hello

    You confuse the version of Windows with the hard drive.

    A hard drive is a physical device for Windows (operating system)
    are the programs installed. When the data is created and saved which are written in the
    hard drive. A hard disk is analogous to a wardrobe as a storage device.

    Hard drives are not little dependent, which means that you can run Windows 32 or 64 on them
    If the rest of the system is compatible with every version.

    Windows can be 32-bit or 64-bit. But not all hardware systems can run both.
    Many 32-bit systems cannot run 64-bit Windows.

    Your computer came with at least a possible hard disk to add possibly
    internally, and certainly outside.

    WiKi - hard disk drive
    http://en.Wikipedia.org/wiki/Hard_disk_drive

    As TrekDozer said that your computer cannot run as 64-bit Windows if you need to stay
    with 32-bit Windows. However, you can add additional hard disks of extra disk space.

    Check with HP support, their books online and the drivers, diagnosis, and
    their forum are good sources of information from others with the same or similar
    systems.

    Support HP & drivers
    http://welcome.HP.com/country/us/en/support.html

    Contact HP
    http://welcome.HP.com/country/us/en/contact_us.html

    HP forums
    http://h30434.www3.HP.com/PSG/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Blue screen error: 0x0000001a when using system to restore with new hard drive disk

    original title: blue screen error when you use the system disk to restore with new hard drive

    I bought a new hard drive to my computer because the old one gave me a bunch of error messages on screen blues. I installed in the tower and tried to use my restore and system recovery disks that the manufacturer has given me, the process has got to the last disk then asked for the system once again restore disc, and then began to load the last steps and went to blue screen error. I don't know what to do, I mean it's a whole new drive hard, so where could the error come, theres nothing on the hard drive because I have not yet used really, yet. Help, please

    I have finally fixed the problem myself. The problem was that one of the sticks three memory was bad and the only way I could test this error. I took two sticks a left, used disks I had and was able to restore my computer, then I put a stick, turned on the computer, had no errors so I let him, so I put the last stick in and com immediately on, I had the Disconnections: memory management and that's when I knew that the last stick of memory was bad I took it back and now my computer works well and I can't buy more memory for not too. So if someone gets this BOSD error on memory, I'd say 8/10 computers have bad memory (not a number). If youcannot run the tool of diagnosis of memory like me then I would suggest to do what I did with the trial and error, it was the only way to understand the problem. Thanks for your help

  • Problem with connector hard drive to spring on T43 motherboard

    My T43 (type 1875) cannot operator unless I am pressing on toward the down on the palm rest above the spring certainly drive connector.  This connector seems to be designed to move upwards & downwards on two positions.  44 pin hard drive seem to connect indirectly to the motherboard via 44 springs in this assembly.  This Assembly should be compressed manually for the system to communicate with the hard drive.

    I do not understand the physical design of this connection?  I certainly do not understand the purpose of this complicated mechanism.  It is part of the protection of the hard drive?

    To correct the problem, I see two possible solutions;  either compress the springs, then bend the stems of alignment to maintain the State of compression, which makes electrical connections or replace the motherboard.

    If someone put me on how I could fix this?

    -Michael Faklis

    Note of the moderator; email address removed before finding too much spam

    This is common with the T4x problems and those who have not been carefully reassembled since the Council can become cracked over time especially when door one-handed from a corner as a person would natrually.

    Even models 15 inches and their solid upper bezel can experiencine this issue, but the models 14 inches and the palm rest of split and are the most sensitive.

    The system works when you press the right ALT just below and to the right of the trackpad?

    If you took the palm rest off the power, then press the plug of the battery, it restores the operating system?

    If so, you may be lucky that the Council itself cannot be cracked but it could be the connectors of taking battery BIOS on the Board and in this regard a $3 repair. Cut the connector and replace with a new one or cut and reweld to ensure that the circuit is solid.

    If it is cracked, you can hold with some high quality neoprene since used neoprene "shrink as styrofoam when exposed to heat and pressure. Shim planks will run, but the added stress of ttignehtning it back together can create other pauses as you are bowing the bridge so that the stress has to go somewhere.

    In addition, the system will work better if it remains stationery for a portable shim will pass when the goods are shipped under nomral conditons.

    Finally, the entire system will be brick and you can save or part the rest of it.

Maybe you are looking for