Results 1 to 9 of 9
  1. #1
    Newcomer
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default VM restore as thin-provisioned disk?

    Not sure if anyone tried this. I am testing full VM restore, by default, the VMDK will be restored as thick-provisioned. According to an IBM technote (http://www-01.ibm.com/support/docvie...id=swg21508259) there is a testflag (VMRESTOR_DONT_FORCE_THICK) which can be specified making the VMDK restore as thin-provisioned. But I could not get this working. I am not a VMware expert and not sure if anything gone wrong.

    Environment:
    vSphere: 5.0 build 623860
    TSM server: 6.3.1.0 / Windows 2008 R2
    TSM client: 6.3.0.15 / Windows 2008 R2

    VMware transport is NBD only.

    This parameter (VMRESTOR_DONT_FORCE_THICK) could not be specified in the TSM client options file, so I suppose this is used in VM's settings. The only place that I found for specifying parameters for a VM is "Edit Settings" => "Options" tab => "Advanced" => "General" => "Configuration Parameters". I tried specifying only the parameter name (VMRESTOR_DONT_FORCE_THICK) without a value, as well as adding "true" as the value, but both didn't work. I do this before running a VM backup, but both restored as thick-provisioned disk only.

    Any suggestions? Thanks.

  2. #2
    Member
    Join Date
    May 2012
    Posts
    32
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Default

    Quote Originally Posted by Spree View Post
    This parameter (VMRESTOR_DONT_FORCE_THICK) could not be specified in the TSM client options file
    How did you try and specify this in the dsm.opt? I think the correct syntax would be:

    TESTFLAG VMRESTOR_DONT_FORCE_THICK

    alternatively you could try:

    dsmc i -testflag=VMRESTOR_DONT_FORCE_THICK

  3. The Following User Says Thank You to dbias1601 For This Useful Post:

    Spree (08-22-2012)

  4. #3
    Newcomer
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I think I misunderstood the technote. I will try.

  5. #4
    Newcomer
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    It seems it is not valid... but I am already using the latest client (6.3.0.15).

    ANS1036S The option 'TESTFLAG' or the value supplied for it is not valid. It was found in options file 'C:\Program Files\Tivoli\TSM\baclient\dsm.opt' at line number: 44
    The complete entry: 'TESTFLAG VMRESTOR_DONT_FORCE_THICK'

  6. #5
    Member
    Join Date
    May 2012
    Posts
    32
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Default

    Perhaps attempt from the command line?

    From the command line browse to the ba client directory:

    C:\Program Files\Tivoli\TSM\baclient> dsmc backup vm 'myvm' -testflag=VMRESTOR_DONT_FORCE_THICK

  7. #6
    Newcomer
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Not work either. Same message as above, can't understand why.

  8. #7
    Newcomer
    Join Date
    Mar 2009
    Location
    Germany
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    The following settings works fine to restore the vm with thin provisioned vmdk´s:

    TSM-BAclient: 6.3.0.16
    vSphere 5 U1

    dsm.opt
    VMBACKUPTYPE FULLVM
    VMFULLTYPE VSTOR
    VMVSTORTRANSPORT HOTADD
    VMCHOST xyz.domain.local
    VMCUSER xyz
    VMCPW ****
    testflag VMRESTORE_DONT_FORCE_THICK

    Maybe you have to do a new backup to save attribute with information about the disk format.

  9. #8
    Newcomer
    Join Date
    Mar 2009
    Location
    Germany
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    You forgot an "E" in the parameter 'TESTFLAG VMRESTORE_DONT_FORCE_THICK'
    ^

  10. #9
    Newcomer
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Oh? I just refer to IBM: http://www-01.ibm.com/support/docvie...id=swg21508259

    Thanks anyway.

Similar Threads

  1. restore db after disk crash
    By wesd in forum TSM Database
    Replies: 4
    Last Post: 06-24-2011, 06:59 AM
  2. Restore System Disk
    By zsoltesz in forum Restore / Recovery Discussion
    Replies: 3
    Last Post: 12-22-2010, 08:23 AM
  3. TSM6 VMax & Thin Provisioning
    By drrobert6 in forum TSM Server
    Replies: 11
    Last Post: 09-02-2010, 11:47 AM
  4. Restore Db From Devclass Of Disk???
    By Tom Crutcher in forum TSM Server
    Replies: 2
    Last Post: 04-11-2007, 02:59 PM
  5. restore db previously backed up to disk?
    By itdrew in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 07-15-2004, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •