VDI 3 patch 2 on Solaris10U7 can't import Desktop - failed zfs commands

Hello,
I've installed and tested VDI 3 patch 2 successfully. Everthing worked correctly as expected. All components are installed on Solaris 10 U7 latest patch cluster, two hosts, one serves the VDI service + SunRay + VirtualBox 2.0.10 and the other is working as storage host.
Later I decided to clean up all pools and the Storage Provider. Delete everything exept the Settings for Users Directorys.
Now i wanted to reactivate the Desktop Provider with the same Options ( Virtualbox host, and storage host on different machines)
Everything seem like it works correct but when i try to import a Desktop then it fails after a few seconds.
cacao.0 says:
INFO: thr#38 Starting Job[513]: IMPORT for [pool]
18.09.2009 16:18:29 com.sun.vda.service.vbox.ZfsStorage resizeVolume
SCHWERWIEGEND: thr#38 Command "zfs set volsize=18253610496B tank/07cf8f40-2d27-416d-87dc-7613b7c699ad" failed on host con05!
Error code: 1
18.09.2009 16:18:29 com.sun.vda.service.vbox.Storage copyFileToVolume
SCHWERWIEGEND: thr#38 null
com.sun.vda.service.api.ServiceException: Resizing of volume 07cf8f40-2d27-416d-87dc-7613b7c699ad failed on storage server con05.
at com.sun.vda.service.vbox.ZfsStorage.resizeVolume(Unknown Source)
at com.sun.vda.service.vbox.Storage.copyFileToVolume(Unknown Source)
at com.sun.vda.service.vbox.VBDesktopProvider.importImage(Unknown Source)
at com.sun.vda.service.vbox.VBDesktopProvider.newDesktopInstance(Unknown Source)
at com.sun.vda.service.core.jobs.ImportJob.runJob(Unknown Source)
at com.sun.vda.service.core.jobs.Job.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)
and on storage side the zfs history (first command was me, others belong to the vda service):
2009-09-18.11:37:11 zpool create tank c0t0d0s1
2009-09-18.16:16:50 zfs create -s -V 1048576B tank/test0.6129920980714989
2009-09-18.16:16:53 zfs set shareiscsi=off tank/test0.6129920980714989
2009-09-18.16:16:54 zfs destroy tank/test0.6129920980714989
2009-09-18.16:16:57 zfs create -s -V 1048576B tank/test0.6574280129256773
2009-09-18.16:16:59 zfs set shareiscsi=off tank/test0.6574280129256773
2009-09-18.16:17:01 zfs destroy tank/test0.6574280129256773
2009-09-18.16:18:24 zfs create -s -V 7516192768B tank/07cf8f40-2d27-416d-87dc-7613b7c699ad
2009-09-18.16:18:27 zfs set shareiscsi=on tank/07cf8f40-2d27-416d-87dc-7613b7c699ad
2009-09-18.16:18:28 zfs set shareiscsi=off tank/07cf8f40-2d27-416d-87dc-7613b7c699ad
2009-09-18.16:18:31 zfs set shareiscsi=off tank/07cf8f40-2d27-416d-87dc-7613b7c699ad
2009-09-18.16:18:32 zfs destroy -R tank/07cf8f40-2d27-416d-87dc-7613b7c699ad
what is the vda service doing at this point?
I hope someone can take me on the right way..
thanks in advance
daniel

Hey all -
Being that I came across this and was in a hurry, I hacked up a very hacky hack to hack around the problem.
#! /usr/bin/ksh
if echo "$*" | grep 53687090688B >/dev/null 2>&1
then
        logger -p kern.crit "Saw Dumb Stuff - employing workaround"
        eval `echo $* | sed 's/53687090688/53687091200/'`
        EXITCODE=$?
else
        zfs.binary $*
        EXITCODE=$?
fi
exit $EXITCODEI determined the size it was using by using the dtrace toolkit execsnoop script, then calculated the next block size up from there.
I copied /usr/sbin/zfs to /usr/sbin/zfs.binary and replaced /usr/sbin/zfs with my script ONLY WHILST THE IMPORT OPERATION WAS HAPPENING. Clearly, there are a lot of operations the script does bad things to...
It's putrid, and has absolutely no error checking and it should not be used under any circumstances. :)
You can see what it might take to work around the problem though...
Looks like it's a classic off by one error. In my case, the calculated value they try to resize to is 8192 bytes off (one * blocksize) so it fails.
YMMV, but I'm importing as we speak, so it is worth a bash.
NOTE: don't just copy / paste the script if you don't know what you are doing. Just don't. (eg: It'll always return success!)
Cheers,
Nathan.
Edited by: vdidude on Sep 30, 2009 7:39 PM
Edited by: vdidude on Sep 30, 2009 8:47 PM

Similar Messages

  • I am kind of mad that i can't play powerpc games on my mac anymore, specifically battlefield 1942. is there a patch or something i can do to be able to play this game again???

    i am upset that i cannot play battlefield 2 anymore on my mac mini. is there a patch or something i can do to be able to play this again???

    jaredrayer wrote:
    i am upset that i cannot play battlefield 2 anymore on my mac mini. is there a patch or something i can do to be able to play this again???
    Playing PowerPC games on Snow Leopard (with Rosetta) installed into Parallels in Lion or Mt. Lion:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.  A recent poster has offered a solution for Mountain Lion users that do not have access to Snow Leopard or Lion Macs.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • Is there any patch available so i can use it in Oracle 9i Standard Edition

    Incremental Backup and Recovery
    Parallel DML
    Parallel Query
    Export/import Transportable Tablespace
    these features are supported by Oracle 9i Enterprise Edition but not in Oracle 9i Standard Edition
    is there any patch available so i can use it in Oracle 9i Standard Edition

    A DVD is essentially a standard definition image (DV)
    So, if you are not adding titles or compositing, simple DV/NTSC (or DV/PAL) will work.
    If you are doing compositing, ProRes LT for standard definition would be the way to go.
    x

  • When Patch 1 for Dev6i can be downloaded ???

    When Patch 1 for Dev6i can be downloaded ???

    When it's been released.
    Should be around August.
    Jason Pepper
    Snr Product Manager
    Oracle Enterprise Internet Tools

  • 10g Release 2 (10.2.0.4) Patch Set 3 for HP-UX Itanium installation failed

    hi everyone
    after i installed the oracle10g 10.2.0.1,and tried to install the patch set (10.2.0.4)
    Prerequisite check failed!
    My OS platform is  HP-UX B.11.23 IA64
    the error info as follow :
    Checking the Components installed in Oracle Home
    Actual Result: error
    Check complete. The overall result of this check is: Not executed <<<<
    Recommendation:
    =======================================================================
    Checking for Oracle Home incompatibilities ...
    Check complete. The overall result of this check is: Not executed <<<<
    OUI-15038: Unable to execute rule 'CheckCompatibility' from ruleset 'CompatibilityChecks'. The underlying test 'oracle.sysman.oip.oipc.oipcz.OipczCompatibilityChecks.checkProductCompatibility' has thrown an unhandled exception [value for param now is null]. If the exception results in a failure of the test and the exception needs to be propagated, then encapsulate the exception in the result object and return the result.
    Recommendation: Choose an existing Oracle Database 10g Oracle Home for installing this software.
    =======================================================================
    Any advise will be much appriciated!
    Do need your helps!
    Thanks&Regards
    Peter

    Hello,
    The same problem is documented on Oracle metalink:
    OUI 10.2 Prerequisite Check Fails With OUI-15038 And "[value for param now is null]" [ID 602059.1]:
    Cause
    Some kernel tunables (parameters) have been changed but the new values will not be activated until the next server reboot
    Solution
    Reboot the server so that the kernel tunable (parameter) changes are activated before installing the Oracle software
    Workaround
    The errors/warnings can be ignored and the Oracle installation can be completed successfully, but it is best to schedule a reboot of the server soon so that the pending kernel parameter changes are activated.
    References
    BUG:7150277 - OUI 10.2 PREREQ CHECKS FAIL WITH OUI-15038 AND "[VALUE FOR PARAM NOW IS NULL]"

  • I can't import any songs into iTunes.

    I can't import any songs into iTunes. I can drag and drop but nothing will happen. Songs show up when a search is done but songs cannot be played or located in iTunes. I think this has something to do with the recent update because I have songs imported into iTunes from December.

    I found the problem. I have VMware fusion that is hosting Window XP on the iMac. When the fusion is running the CD player is not seen in OS. By quitting Fusion I can now insert a CD and the disk icon appears on the OS screen. Now I can bring up iTunes and import the audio and continue as before. The one exception is I cannot bring in a photo of the album cover as before I have to drag the photo out of iPhoto and onto the desk top. Then I can drag it into the artwork patch in the iTunes/ info window.

  • Can't import any songs

    I can't import any songs to Itunes. The only ones in my playlist are the ones I bought from Itunes store. My IE keeps shuting down and sends a report to Microsoft.

    I found the problem. I have VMware fusion that is hosting Window XP on the iMac. When the fusion is running the CD player is not seen in OS. By quitting Fusion I can now insert a CD and the disk icon appears on the OS screen. Now I can bring up iTunes and import the audio and continue as before. The one exception is I cannot bring in a photo of the album cover as before I have to drag the photo out of iPhoto and onto the desk top. Then I can drag it into the artwork patch in the iTunes/ info window.

  • Only a type can be imported. package.Class resolves to a package

    Hi,
    I made a class for database connection named ConnectionClass.class.
    The JSPs in public_html directory working fine with import and session variables.
    but JSPs under public_html/subdirectory are unable to import this Class and also unable to access session variables.
    I have deploy this class under public_html/WEB-INF/classes/ directory.
    and also in a jar file vidyabharti.jar under public_html/WEB-INF/lib directory
    I am importing it in JSPs like
    <%@ page import="vidyabharti.ConnectionClass, java.sql.*" %>
    but i am getting following error
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. vidyabharti.ConnectionClass resolves to a package
    An error occurred at line: 110 in the jsp file: /welcome.jsp
    ConnectionClass cannot be resolved to a type
    109: <%
    110: ConnectionClass cs=null;
    An error occurred at line: 115 in the jsp file: /welcome.jsp
    ConnectionClass cannot be resolved to a type
    cs=new ConnectionClass();
    i am using Tomcat 5.5.28.
    please help me.

    Hello,
    It's a possible issue whith the JDT compiler version of your tomcat distribution.
    You know that jasper is the engine that transform jsp to classes and to achive this goal uses a jdt compiler or the ant task javac compiler.
    First check that the JDT compiler class is present in the trace of the exception you have.
    If this is the case follow the steps of the tomcat documentation in order to use the ant compiler.
    http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
    Apache Ant, which was used in previous Tomcat releases, can be used instead instead of the new compiler by simply removing the common/lib/jasper-compiler-jdt.jar file, and placing the ant.jar file from the latest Ant distribution in the common/lib folder. If you do this, you also need to use the "javac" argument to catalina.sh.
    If you check the code of the tomcat compilation context seems that you can do the same, without removing any file, by setting the compile parameter of the JspServlet to an arbitrary value diferent from null.
    Try this other alternative by editing the file %TOMCAT_HOME%\conf\web.xml
    and set the compiler attribute as follow
        <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
            <init-param>
                <param-name>fork</param-name>
                <param-value>false</param-value>
            </init-param>
            <init-param>
                <param-name>xpoweredBy</param-name>
                <param-value>false</param-value>
            </init-param>
            <init-param>
                <param-name>compiler</param-name>
                <param-value>Ant</param-value>
            </init-param>
            <load-on-startup>3</load-on-startup>
        </servlet>If this works for your problem we can check the jdt code and perhaps make a patch.
    Best reggards,

  • SAP XI HR patch XI7_0_SAP_HR_6.00_83_00.tpz not getting imported

    SAP XI HR patch XI7_0_SAP_HR_6.00_83_00.tpz not getting imported
    ​Hi Team,
    We are trying to import this patch to SAP XI in IR, but this is
    not getting imported. Everytime it is getting errored out or running for more
    than 7 hours and still not completing.
    This patch is per below note:
    1969094 - PY-GB: Earlier Year Update Report Changes 2013/2014The .TPZ file was downloaded from below from SAP Market place.
    The .TPZ file was downloaded from below from SAP Market place.
    GO to SAP Service
    Marketplace:
    http://service.sap.com/sp-stacks
    Then follow the path given below
    -> Support Packages and Patches
    => A - Z Index
    o Click on index "E"
    -> Click on "ESR Content (XI Content)"
    XI content for SAP HR are available for 600 and 604 releases seperately.
    FOR SAP HR 600
    => XI CONTENT HR
    o XI CONTENT HR 600
    => #Database independent
    o DOWNLOAD: SP83 XI Content SAP HR 600To track the progress of the import we
    have also enabled the trace. Below is the trace log:
    To track the progress of the import we have also enabled the
    trace. Below is the trace log:
    #135 13:07:29 [AWT-EventQueue-0] DEBUG
    com.sap.aii.ib.clsif.login.LoginService: Found cached remote interface
    LoginServiceBean
    Feb 28, 2014 1:07:30 PM [1393592850003]:Info : Thread[AWT-EventQueue-0,6,m...
    com.sap.engine.services.rmi_p4: com.sap.engine.services.rmi_p4.Call.sendRequest
    MSG: com.sap.aii.ib.sbeans.login.LoginServiceRemote_Stub@d61efd:
    Calling remote method: getSystemMessages(com.sap.guid.IGUID) call id: 49
    connection: com.sap.engine.services.rmi_p4.Connection@1150389
    : None:192.168.29.48:50004 [null] server id: 8005050
    Feb 28, 2014 1:07:30 PM [1393592850019]:Path : Thread[AWT-EventQueue-0,6,m...
    com.sap.engine.services.rmi_p4.Connection.reply: com.sap.engine.services.rmi_p4.Connection@1150389
    : None:192.168.29.48:50004 [null]: sending message with size 410 bytes to
    server 8005050
    Feb 28, 2014 1:07:30 PM [1393592850019]:Path : Thread[Thread-23,6,main]
    com.sap.engine.services.rmi_p4: com.sap.engine.services.rmi_p4.Parser.newRequest
    MSG: Received message type: REPLY call id: 49 size:197 received from: com.sap.engine.services.rmi_p4.Connection@1150389
    : None:192.168.29.48:50004 [null]
    Please help on this urgently to find out the root cause and import the patch successfully.
    Many thanks.
    Binod Kumar

    Hi Binod,
    you can configure the java heap size in PI exchange profile. change the max heap size (to 1024 or check with basis)
    com.sap.aii.ib.client.jnlp.j2se.maxheapsize = 1024m
    refer the below wiki question 19
    QA for PI - One stop for all (Part - 1) - Netweaver Technology - SCN Wiki
    regards,
    Harish

  • How can i import contacts from another AIM account to this new one

    If you reference my last ichat question, you will see that I have had serious problems and had to create a new account.
    How can I import contacts from another AIM account to this new one??

    Hi,
    Use AIM for Mac and use the Export and Import features.
    Other than that it is a question on making sure every Single Buddy has more than just their Screen name in the IChat Address Card so it is added to the Address Book and dragging them back from there
    9:08 PM Thursday; February 7, 2008

  • How can I import my old Appleworks spreadsheets into Neo Office or Pages

    I am a new MBP owner and have some spreadsheets in Appleworks from my old iMac. I don't have Appleworks on my new MBP. I have downloaded Neo Office and could use it to create a new spreadsheet but can't import my previously created ones. Must I retype then? Or...as an alternative, I have iWorks. Can I import them into Pages? How? Thanks for any help.

    The above suggestion didn't work for me. However, I did find this site that helped me--and it might help someone else:
    http://neowiki.neooffice.org/index.php/OpeningAppleWorksdocuments
    It worked for spreadsheet--now I have to try to convert a data base document in Appleworks.

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Upgraded to 10.6.8 and now can't import photos from Olympus camera

    1. Recently bought a new Olympus VR310 digital camera.  I couldn't get either Image Capture (6.0.1) or iPhoto (9.1.5) to import images from day one, onto my Mac Mini running Snow Leopard 10.6.8.  However, if I took the SDHC card out of the Olympus and put it into an older  Canon Ixus digital camera , and used that to upload, then both Image Capture and iPhoto worked perfectly.  So it's not the card.  Or the USB connection.  It's something special to the Olympus and the Mac.  Obviously I tried all the usual stuff about dumping plist files etc.  Nothing worked.
    2. The problem manifests itself, when the Olympus is connected,  as Image Capture being unable to show more than one, if any, thumbnails, and it is unable to import at all.  In iPhoto the problem manifests immediately it calls up the Olympus as a connected camera.  The dreaded spinning beachball of death kicks off, and the program 'stops responding'.  Even after I quit iPhoto and unmount the Olympus, iPhoto will not open without the spinning ball of death until I restart.  
    3. Anyway, I tried connecting the Olympus to my son's Macbook, (System 10.6.7, Image Capture 6.0.1 and iPhoto 9.1.1) and all worked perfectly.  Hmm… so it's NOT just down to the Olympus.  It's something to do with my setup. 
    4. I also have a bootable USB drive connected to the Mini, so I booted into that, so I then have my computer and my user preferences etc running under the bootable drives System 10.6.6, Image Capture 6.0.1, and iPhoto 9.1.5.  That worked perfectly with the Olympus too.  So it's not my the combination of my user settings, Image Capture 6.0.1, or iPhoto 9.15, or the  Olympus.
    5. My guess then was it was some corruption of the system on the Mac Mini.  So I reinstalled the Mac Mini system, from the install DVD, so I had a nice fresh Snow Leopard 10.6.0.  That gave me Image Capture 6.0.1 and iPhoto 9.1.5.  When I attached the Olympus, everything worked perfectly.  Great.
    THEN, I updated the system from Apple's Oftware Update, all the way to 10.6.8, which is where I started from. 
    6. And guess what.  Nothing works anymore. Immediately before the update, the Olympus importing worked.  Immediately afterwards it didn't.  I'm back where I was at the beginning, with exactly the same problem..  I can't import from the Olympus but the Canon is fine. (see 1 and 2 above)
    So, it seems to me that the Upgrade straight to 10.6.8 is what caused the problem.  And given I could get the Olympus to work on my son's computer (system 10.6.6) it's something between 10.6.6 and 10.6.8.  Why the Canon works on all the permutations, and not the Olympus, I don't know.  I don't know why the  Olympus ONLY doesn't work with 10.6.8.
    7. Obviously there are tedious workarounds (but none that lets iPhoto capture the photos directly) which I can use to get the images into iPhoto eventually, but hey, this is an Apple Mac, who wants to be doing tedious workarounds all the time.
    I've had Macs since 1984  (I'm that old…) so I'm a fan, and I'm reasonably competent, but this has me stumped.
    Any ideas, anyone. 
    Any help much appreciated.
    Ian Waterston

    You launched iPhoto and from its Preferences you selected Connecting camera opens.....

  • Not enough space on my new SSD drive to import my data from time machine backup, how can I import my latest backup minus some big files?

    I just got a new 256GB SSD drive for my mac, I want to import my data from time machine backup, but its larger than 256GB since it used to be on my old optical drive. How can I import my latest backup keeping out some big files on the external drive?

    Hello Salemr,
    When you restore from a Time Machine back up, you can tell it to not transfer folders like Desktop, Documents. Downloads, Movies, Music, Pictures and Public. Take a look at the article below for the steps to restore from your back up.  
    Move your data to a new Mac
    http://support.apple.com/en-us/ht5872
    Regards,
    -Norm G. 

  • After I import a movie file from the camera memory card, Imovie 10.0.1 acts as if the memory card is empty though I know it isn't.... I can't import that file to iMovie again.. is that the way it worksnow?  Thank you, Filippo

    On IMac 10.9  After I import a movie file from the camera memory card to Imovie 10.0.1 it acts as if the memory card is empty though I know it isn't.... I can't import that file to iMovie again.. is that the way it works now?  Anyone know?  Thanks, Filippo

    I would like to know this too. I imported a lot of files, then Imovie crashed. I went back in and they are not in imovie at all.
    I reconnected the camcorder to import again and though they are still on the camcorder, I no longer see them in the available list of files to import. I'm sure there is some sort of simple setting somewhere that reveals all files even if it thinks they are imported.
    Thanks

Maybe you are looking for

  • Macbook Fios Wireless Connection Issues

    Hi everyone. All of a sudden today my Macbook is having issues connecting to my Verizon Fios Wireless Internet. I was just wondering if anyone else has had this problem or is aware of any problems with compatibility or something. Any tips or advice?

  • Organizing Photos for an iMovie presentation...

    Hi, I have a real picture mess on my computer and would like some advise if there is some out there.  I have more than one camera, I have an iPhone and I have several pictures which I have imported via scan.  Of course all these pictures have there o

  • Please someone help meeeeeee!!

    Hi , first i must to say my apple id and icloud id is diffrent. my icloud accant is disable, and i have to reset my password now , but when i want to do it ,it requst me for two option: 1 rescue mail , 2 answer security question!   But i dont remmebe

  • SQL-02103

    This happend during a prepare for a select statement using embedded C (proc). The select statement had a length of 20. Here's more info about the error from the database: out of memory (could not allocate) inconsistent cursor cache (out-or_range CUC

  • Error (COR-10126) after upgrade

    We have recently upgraded our Business Objects server. This is a Windows 2008 64-bit server. --Previous Versions-- Business Objects Platform Services: 4.0 SP2 Patch23 Business Objects Data Services: 4.0 SP2 Patch8 Business Objects Information Steward