Unable to connect to hdd

Discussion in 'Installation and Configuration of Parallels Desktop' started by tsp1965, Sep 27, 2011.

  1. tsp1965

    tsp1965 Bit poster

    Messages:
    9
    Hi

    I am having the classic 'unable to connect to hard disk 1' problem with a Win XP installation I have kept on archive. This installation was originally made on the same real mac using the same login but probably using Parallels 4 or 5 rather than the 6 I am now using. It was archived at some point, after which I would have upgraded parallels. The pvm file was kept on an external drive and I have now copied it back and imported it into parallels 6.

    I researched the issue and the knowledge base tells me to look for signs in the parallels.log that the permissions aren't right. Sure enough, I have the error message:

    18:48:39.199 F /vdisk:591:B0289000/ Error locking file /Users/timpolla/Documents/Parallels/Windows XP.pvm/Windows XP-0.hdd/Windows XP-0.hdd [35]
    18:48:39.200 F /vdisk:591:B0289000/ Couldn't lock disk: 0x80021037
    18:48:39.201 F /vdisk:591:B0289000/ OpenDisk() returned error 0x80021037


    Trouble is, when I check the permissions of the outer .hdd file and then the temp, hdd and hds files it contains, they all show me as having read/write permissions (and 'Everyone' as having No Access). What I don't appear to be is the owner (it doesn't say whether I am or not). Under the permissions box in 'Get info' there is the option to 'make timpolla (Me) owner', but it is greyed out.

    Comparing the permissions in the failing VM with those for another one which was never archived and still works, they appear to be exactly the same.

    So I am a bit baffled as to what to do next. Can anybody help, please?

    Tim
     
  2. Bakosol

    Bakosol Bit poster

    Messages:
    1
    I have the same exact problem, did you ever find a solution?
     
  3. tsp1965

    tsp1965 Bit poster

    Messages:
    9
    Hi

    No, still doesn't work. Sorry!

    TP
     
  4. mmika

    mmika Pro

    Messages:
    488
  5. tsp1965

    tsp1965 Bit poster

    Messages:
    9
    Report ID 11313454 generated.

    Thanks
     
  6. mmika

    mmika Pro

    Messages:
    488
    Log claims that "Windows XP.pvm/Windows XP-0.hdd/DiskDescriptor.xml] not exists."
    Check that file within VM bundle and permissions.
    Please provide output of
    "ls -la /Users/timpolla/Documents/Parallels/Windows XP.pvm/Windows XP-0.hdd/" command
    You need to run this quoted command in terminal window.
    Thank you
     
  7. tsp1965

    tsp1965 Bit poster

    Messages:
    9
    Hi mmika

    Thanks for the reply.

    Running the command as set out generates:

    MacBookPro-2:~ timpolla$ ls -la /users/timpolla/Documents/Parallels/Windows XP.pvm/Windows XP-0.hdd/
    ls: /users/timpolla/Documents/Parallels/Windows: No such file or directory
    ls: XP-0.hdd/: No such file or directory
    ls: XP.pvm/Windows: No such file or directory

    I don't think it likes the spaces in the pvm and hdd file names?

    I have opened the package Windows XP-0.hdd, inside it is a file DiskDescriptor.xml.Temp

    The contents of this file are:

    <Parallels_disk_image Version="1.0" >
    <Disk_Parameters>
    <Disk_size>67109616</Disk_size>
    <Cylinders>66577</Cylinders>
    <Heads>16</Heads>
    <Sectors>63</Sectors>
    <Padding>1</Padding>
    <Miscellaneous>
    <CompatLevel>level2</CompatLevel>
    <SuspendState>0</SuspendState>
    <ChangeState>0</ChangeState>
    <GuestToolsVersion>4.0.3844</GuestToolsVersion>
    </Miscellaneous>
    </Disk_Parameters>
    <StorageData>
    <Storage>
    <Start>0</Start>
    <End>67110120</End>
    <Blocksize>504</Blocksize>
    <Image>
    <GUID>{5fbaabe3-6958-40ff-92a7-860e329aab41}</GUID>
    <Type>Compressed</Type>
    <Flags/>
    <File>Windows XP-0.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds</File>
    </Image>
    </Storage>
    </StorageData>
    <Snapshots>
    <Shot>
    <GUID>{5fbaabe3-6958-40ff-92a7-860e329aab41}</GUID>
    <ParentGUID>{00000000-0000-0000-0000-000000000000}</ParentGUID>
    </Shot>
    </Snapshots>
    </Parallels_disk_image>


    Regards

    Tim
     
  8. tsp1965

    tsp1965 Bit poster

    Messages:
    9
    Fixed

    Hi

    I tried deleting the .Temp from the end of the xml file name and it now all works.

    thank you for pointing me in the right direction!

    TP
     
  9. mmika

    mmika Pro

    Messages:
    488
    Sorry, my fault.
    It does not like spaces definitelly.
    Need to use "ls -la /users/timpolla/Documents/Parallels/Windows\ XP.pvm/Windows XP-0.hdd/"
    of use shell autocompletion.
    Anyway as I understand there is no DiskDescriptor.xml file, while it is a general file with metadata,
    described harddisk image parameters.
    Let's try to resore it from backup :)
    you need to run
    "cp /users/timpolla/Documents/Parallels/Windows\ XP.pvm/Windows XP-0.hdd/DiskDescriptor.xml{.Temp,}"

    So, just copy DiskDescriptor.xml.Temp to DiskDescriptor.xml.

    UPD:
    Glad to hear that you fixed it.
     
  10. spatterso

    spatterso Bit poster

    Messages:
    7
    Same error, different cause

    My hard disk failed and was replaced by Apple Genius Tech Support. I restored from a Time Machine backup and all files are working properly, except my .pvm

    I get the 'cannot connect to hard disk 1' error. All permission were checked and I have read/write access. I have look through other solutions, no luck so far.
     
  11. spatterso

    spatterso Bit poster

    Messages:
    7
    Error report # 11431684 was generated and sent to Parallels Support
     
  12. mmika

    mmika Pro

    Messages:
    488
    Hello, spatterso, what permissions did you check?
    Please check your hdd image file.
    Log tells that PD could not find a disk image file.

    Please provide output of
    "ls -la /Users/spatterso911/Documents/Parallels/Windows\ Vista 64.pvm/Windows\ Vista-0.hdd"
    You need to run this quoted command in terminal window.
    Thank you
     
  13. spatterso

    spatterso Bit poster

    Messages:
    7
    Thanks for your quick reply.

    I checked permissions for all of the files associated with PD, as well as expanding packages for the .pvm

    The files contained include:
    2011-03-07-195341.dmp
    2011-11-30-193035.dmp
    config.pvs
    config.pvs.backup
    monitor.dmp
    parallels.log
    snapshots (empty folder)
    statistics.log
    unattended.fdd
    Vminfo.pvi
    Windows Disks (contains _psf_Home, C,D,E)
    Windows Vista-0.hdd


    I am presuming that the Windows Vista-0.hdd is the disk image file. I gave permissions of read/write for all users, including administrator, still does not pick up the hdd, though.

    I accessed terminal and entered the command. This is the output:

    Last login: Wed Nov 30 09:37:13 on console
    Steves-iMac:~ spatterso911$ ls -la /Users/spatterso911/Documents/Parallels/Windows\ Vista 64.pvm/Windows\ Vista-0.hdd
    ls: /Users/spatterso911/Documents/Parallels/Windows Vista: No such file or directory
    ls: 64.pvm/Windows Vista-0.hdd: No such file or directory
    Steves-iMac:~ spatterso911$
     
  14. spatterso

    spatterso Bit poster

    Messages:
    7
    Fixed!

    I was able to pull a prior version from the time machine and replace the .pvm file. I started PD, and it loaded fine. Thanks for your help!
     
  15. mmika

    mmika Pro

    Messages:
    488
    =) I didn't help you.
    "ls" didn't make a proper output,
    but i wanted to know Windows Vista-0.hdd contents...
    Did Apple time machine saved all that data before?
     
  16. AndrewB9

    AndrewB9 Bit poster

    Messages:
    2
    I am experiencing this issue and have submitted a problem report with the ID number 83650269.
     

Share This Page