ESXi 5.1 Clone VM with SSH

Salvation;

I had veeam error message error "Snapshot hierarchy is too deep." I decided to clone my virtual machine. But I can't install vcenter due to insufficient infrastructure and I decided to use the SSH commands.

When these commands: vmkfstools-i vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk d vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk thin

error: DiskLib_Check() failed for source disk the system cannot find the specified file (25).

So. What is my problem or bad in this situation, please advise me. Thank you...

When these commands: vmkfstools-i vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk d vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk thin

Unless your working directory of when you run this command is /, you would need a "/" in front of paths... so try:

"vmkfstools-i /vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk /vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk d thin."

/ Rubeck

Tags: VMware

Similar Questions

  • Manage the 5512 ASA with SSH via VPN

    Hello

    We are facing problems with ssh access on our ASA5512 on a Site-2-Site VPN tunnel.

    SSH seems to be implemented properly, because we can login from inside and outside on both Interfaces.

    But when we try to connect the ASA from a remote location with SSH Putty reports a timeout.

    We set up a lot of these configurations with ASA5510 and ASA Image 8.x without any problem, so I guess it must have something to do with the new version of the ASA.

    The value by defect-rsa-key was generated successfully.

    VPN is ok and log viewer shows:

    6 March 21, 2016 10:21:44 302013 192.168.0.100 51682 192.168.1.1 22

    Built of TCP connections incoming 597903 for outside:192.168.0.100/51682 (192.168.0.100/51682) at inside:192.168.1.1/22 (192.168.1.1/22)

    That's how we set up the configuration:

    the ssh LOCAL console AAA authentication

    SSH 192.168.0.0 255.255.255.0 inside (192.168.0.0 is the remote VPN network)

    management-access inside

    username privilege 15 PASSWORD USER password

    We missed something?

    Thank you

    Best regards

    Dennis

    Hi Dennis,

    The config looks very good.

    Are you able to ping inside the interface through the tunnel.

    If not can check you the nat for traffic and adds the route search key word.

    If you use not all certificates on the SAA you can use the command for related on the SAA rsa keys:

    encryption key tied rsa or try to be specific: related encryption rsa label key<>

    Try to remove the SSH configuration and reapply.

    I would like to know if it works or not. If this isn't the case, then take debug ssh 255 and part.

    Kind regards

    Aditya

    Please evaluate the useful messages.

  • is it possible to connect with SSH from router to router?

    is it possible to connect with SSH (1.0 or 2.0) to a CISCO-router/Switch to another CISCO-router/Switch?

    I think that an SSH connection to a router/switch is no longer possible to a women (Windows/Linux/Unix)

    is it not?

    I don't know if Cisco Compatible SSH 2.0, but there IOS - s that support ssh 1.0 and you can connect with ssh 1.0 from a cisco device (if it supports) to any device with

    Router # ssh?

    Select encryption algorithm - c

    -l Log in using that username

    options to specify o

    p connect to this port

    Address WORD IP or hostname of a remote system

    Router # ssh x.x.x.x

  • Sew I clone puppets with all settings?

    Sew I clone puppets with all settings? I want to use the same puppet, but fix.

    When I duplicate puppets in the project Panel, I always work with the same puppet.

    My idea is puppet timeline and repaired for the same clone change but all parameters remain unchanged

    The only way I've found that works is the following:

    1. create a puppet called, for example, ClonePuppet. This is possible by choosing puppets you have and save as ClonePuppet.

    2. create your scene with ClonePuppet

    3. has chosen another puppet you have and now save this as ClonePuppet

    4. your scene now shows the new ClonePuppet the exact same behavior.

    Of course, the two puppet design that you choose to use should be adapted for stocks in the timeline panel. The minesweepers, dangles, origins etc all must match in all cases for all actions to be recognized.

  • Problem with: Clone, windows with a single NETWORK adapter

    Hello

    I have some bad problems while trying to use the following workflow: 'Clone, windows with a single NETWORK card. I always get the following error message: "task"CloneVM_Task"error: a specified parameter was not correct. "

    "Spec.Identity.Password.Value (name of the dynamic Script Module: vim3WaitTaskEnd #20).

    So I guess I have a problem with a password but I don't know what password, I give for the input parameter "channel passwork. It is encrypted if the indicator planText partner is false"I do not understand what password I would give here because I do not give any account of domain user.

    Is there anyone who has already used this workflow and can give me some advice on how to use it properly?

    Any help is appreciated.

    Thank you

    If I remember correctly, that's your administrator password local if it has been defined or the new password set if the model is no password defined. But then I did years ago doublecheck Yes.

  • Trouble with SSH plugin and 5.0 ESXi hosts...

    Hello

    As I migrated my hosts to ESXi 4.1 to ESX5.0 Build 822926, I can't connect to these hosts using the SSH connection plugin.

    I tried with a vCO device version a 4.2 and another with version 5.1, without success.

    The error message is always the same: auth failed.

    But with PuTTY or other SSH client, using the same credentials, it works fine...

    I maybe missed something in the ESX 5.0 configuration?

    Thank you for your help.

    BZ.

    Please check this.

  • Difference between Shell ESXi and active with SSH PuTTY?

    Hello

    We used to activate SSH and PuTTY to connect to 5.5 ESXi host.

    However, a consultant suggested allow ESXi Shell and access it via DCUI.

    Would just like to ask you what is the difference between these 2 methods of access?

    Thank you

    Accusing Shell of ESXi is available by using two different ways.

    (1) local access to the shell of ESXi is available turning and by using directly from DCUI (Alt + F1), safer, since it is connected locally

    (2) remove access to the shell of ESXi is available by activating SSH Shell and using the SSH Client such as PUTTY etc to access. Since it is remote access, security is a bit of a cause for concern.

    This is the reason, the suggestion to use locally DCUI is given.

  • ESXi 5 - added user cannot connect ssh

    I am lost in the vast amount of documents and have not found anything that, covering thus pointers to docs command-line ESXi will be very appreciated...

    I added a user (with password) on a host machine ESXi 5.0.0 made the new user member of the users group and granted access the user's shell. I have double-double-checked access password and shell setting, but trying to connect to the host fails: login just repeat the password, and then closes the connection.  After logging in as root, I can su to the new user (password is not required). Am I misunderstanding something, maybe added users can not connect?  Or have I just missed some setting somewhere?

    $ ssh [email protected]
    Password:
    The time and date of this connection have been sent in the system logs.

    < snip >

    ~ #
    ~ su bot #.

    ~ $ whoami

    BOT
    ~ exit $
    ~ exit #.
    Connection to 10.217.174.27 closed.


    $ ssh [email protected]
    Password:
    Password:
    Password:
    Permission denied (publickey, keyboard-interactive).

    Suggestions, please, how to make it work?

    Advice on finding good documentation would be so awesome!

    You must add the new user to the root group in order to ssh. That opens a lot of other security issues as well. As an alternative, you can also change the following files to add a user ssh:

    /etc/security/access.conf

    Add a line that allows your user. For example, for the "bot" user add the following before the last line (-:ALL:ALL) in the file):

    +: bot: ALL

    Edit the following file:

    / etc/passwd

    Find your username in the line add a base directory, the works/tmp and then change their interpreter/bin/Ash. For the "bot" user you have a line like:

    BOT: x: 501:100:ESXi user: / tmp: / bin/ash

    You should now be able to ssh in the host by using your user name. The problem is that these files do not have the sticky bit set, so once you restart changes will disappear. You can change this behavior to have your settings persist, but I'll be here all day describing the process. You can probably find a good ventilation of the how to make your setting persist on vm-help forums.

  • ESXi server of the poll with Solarwinds Orion NPM

    I'm under ESX1 4.1 U2 and we just bought Orion NPM 10.2.2.  I connected with the success of the host of Orion by the creation of a local on the ESXi host user and give permissions ReadOnly.   It works all fine Orion is the CPU, MEM, survey disks, the virtual machine to its customers, ect...  However the condition of the material shows ' material vote failed: chassis Polling (class CIM_Chassis) has failed.» Unable to establish a session with all the identification information provided" I am able to fix this by assigning the Administrator role to my local user.

    That is the problem.  I don't want to give this account full administrator permissions to monitor my hosts.   I tried cloning of the Administrators role, but he doesn't let Orion survey CIM hardware stats.  What am I missing why the default role works but not the clone? What is different?

    SNMP is the right answer, because I got exactly the same problem.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1008065

    Activation/enable SNMP on host ESXi 5.1 | Geraldo Magella Junior

    Use the two links above and it solved the problem.

  • ESXI host "not in compliance" with the profile of the host

    I have a host ESXI "not in compliance" with the profile of the host cluster. Attached screenshot shows TSM, TSM - SSH message. I've seen it before and fixed by stopping local and SSH support. This time however, the message does not disappear, even when local and remote technical support. I stopped the services and value manual. Any suggestions?

    Have you tried to check compliance again? As I got errors like that, they went all first I checked compliance again manually...

  • HOWTO add properties custom for redhat linux vm after 'Clone, Linux with a single NETWORK card.

    Hello

    How can we add the custom properties to a new linux vm after clone of model with the vco workflow?

    Something like ' / bin/echo x.x.x.x >/etc/newfile ", run this with sysprep or something (not ssh) inside the new VM for linux with a vco workflow.


    Someone at - it an idea about it?

    Thomas

    If you can't get it by sysprep, you can use the VIX plugin for vCO to run a command in the guest OS once it is deployed and under tension.

    http://labs.VMware.com/flings/VIX-VCO

  • File deleted on esxi system after the restart with the last patch (256968)

    Hello

    Since I installed latest patch on esxi (build 256968), every time that I reboot server esxi, I lost the files in / opt and the .ssh folder.

    Before this patch, the files were still there on reboot.

    Do you have any idea what's going on? Is this a new limitation of free esxi?

    I ' am, using this file to VM backup with ghettovcb and everything works fine (until I reload )

    Thank you.

    This is provided with ESXi, there is difficulty set of files, including any of the local VMFS volumes that are kept at the restart. There is a cronjob schedule that works for the configuration files important backup automatically at a local bootbank, which is then loaded after the next reboot, all files created by the user and most likely using the Busybox does not support console will not survive a restart by default.

    If you use the ghettoVCB.sh - Free alternative for backup of VMS to ESX (i) 3.5, 4.x & 5.x , recommendation would be to store the script and all relevant files is the local VMFS volume or on the shared storage (NFS, iSCSI/FC SAN) volume.

    There is a script in "/sbin/auto-backup.sh" that you can actually run to see what files are being backed up, you can easily modify this script to save additional files which will ensure that they are saved on a restart.

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • How activate/connect with SSH?

    For Beta3 release notes say is a new feature ' secure connection: you can now connect to the Tablet using Secure Shell (SSH) and download files from your application using SCP and SFTP.

    The simulator of listening on port 22 (the SSH standard) or any other port for SSH connections, with or without active development mode does not have a vanilla installation.

    I found the blackberry connect program in the SDK bin folder and tried this after creating a RSA2 key:

    c:\>blackberry-connect -targetHost 192.168.7.172 -devicePassword x
    PROGRESS: Connecting to target 192.168.7.172:4455
    PROGRESS: Authenticating with target 192.168.7.172:4455
    PROGRESS: Encryption parameters verified
    PROGRESS: Authenticating with target credentials.
    PROGRESS: Successfully authenticated with target credentials.
    PROGRESS: Sending ssh key to target 192.168.7.172:4455
    Connection refused: Invalid ssh key contents.
    The target actively refused the connection. Please ensure that qconnDoor is running on the target.
    PROGRESS: Unable to send ssh key to target
    

    The fichier.ssh/id_rsa.pub is generated as a SSH-1 using PuttyGen key.  I also tried a file SSH-2 RSA with the same results.

    The fact that he said that he "succesfully authenticated" it suggests successfully connected... probably using port 443 (https) the way I guess that deploy blackberry is.  However, after that he seems to say my key is not valid (not sure, I believe that), but also actively target "connection refused" (I think that... qconn is not listening on port 8000 or another).

    Any who have knowledge of this area, or wild guess I can try?

    OK, I am able to connect through SSH.  It's a little complicated at the moment but I'll simplify and post a recipe as soon as I can.

    For anyone technical enough to follow with minimal intervention:

    1. I generated a 4096-bit RSA key using 'ssh-keygen - b 4096' on a Linux machine, recording in the format 'test_rsa' and 'test_rsa.pub '.
    2. I transferred those to my Windows box.
    3. I called "blackberry-connect targetHost - PCMGM - devicePassword x - test_rsa.pub sshPublicKey."

    This operation transfers the public key in the device by connecting through qconn (port 4455) using unknown protocols.  The output looks like this:

    PROGRESS: Connecting to target 192.168.7.172:4455
    PROGRESS: Authenticating with target 192.168.7.172:4455
    PROGRESS: Encryption parameters verified
    PROGRESS: Authenticating with target credentials.
    PROGRESS: Successfully authenticated with target credentials.
    PROGRESS: Sending ssh key to target 192.168.7.172:4455
    PROGRESS: ssh key successfully transfered.
    PROGRESS: Succesfully Connected
    

    Blackberry connect program continues to run, and as long as it is running at this point the Simulator will be listening for SSH connections on port 22.

    At this point, I had to take the test_rsa (the private key) file and import it into Puttygen using Conversions-> import menu button.  Save the private key, and load the key in the pageant.

    Finally, normally connect using PuTTY at the address PCMGM and sign in as "devuser".  This was discovered by looking in the /accounts folder using a primitive file browser application, where I found two subfolders, 1000 / and devuser.

  • in PIX with SSH connection issues

    Hello

    I have a PIX 506 running OS 6.2 (2) which is located in a demilitarized zone known as the PIX from the outside. It's behind an another PIX506 (PIX inside). The two PIX have Ganymede + configured for authentication of the connection.

    Last week the outdoor PIX crushed physically and I replaced it with a spare PIX part and he completely reconfigured.

    Now I can't connect to this outside PIX using SSH, despite the list of access inside PIX is correct and can SSH and Ganymede +. However, I can telnet to it.

    I use Putty to connect and when I start the session SSH from the PIX, the login window appears and disappears immediately without having the time to do anything myself.

    Any help would be greatly appreciated. Thanks in advance.

    A.G.

    ##################################################

    Inside PIX config:

    access-list inside allow TCP Company-Interior-Net 255.255.255.0 host outsidepix-Interior-interface eq ssh

    list Company-Interior-Net 255.255.255.0 access inside permit tcp host eq telnet interface-inside-outsidepix

    access-list inside allow the ICMP messages to echo DMZNet 255.255.255.192 Company-Interior-Net 255.255.255.0

    access-list inside allow Company-Interior-Net icmp 255.255.255.0 DMZNet 255.255.255.192 - response to echo

    dmzacl list of access allowed icmp echo host outsidepix-Interior-interface company-Interior-Net 255.255.255.0

    dmzacl list of access allowed icmp host outsidepix-Interior-interface company-Interior-Net 255.255.255.0 - response to echo

    access-list permits dmzacl tcp host outsidepix-Interior-interface host Ganymede-server1 eq Ganymede

    access-list permits dmzacl tcp host outsidepix-Interior-interface host Ganymede-server2 eq Ganymede

    The outdoor PIX config:

    GANYMEDE + Protocol Ganymede + AAA-server

    AAA-server GANYMEDE + (inside) host Ganymede-server1 1234 timeout 10

    AAA-server GANYMEDE + (inside) host Ganymede-server2 1234 timeout 10

    RADIUS Protocol RADIUS AAA server

    AAA-server local LOCAL Protocol

    Console telnet authentication GANYMEDE AAA +.

    the AAA console ssh GANYMEDE authentication +.

    AAA authentication enable console GANYMEDE +.

    Telnet Company-Interior-Net 255.255.255.0 inside

    Telnet timeout 5

    SSH-company-Interior-Net 255.255.255.0 inside

    SSH DMZNet 255.255.255.192 inside

    SSH timeout 5

    did you follow the steps to configure ssh? the domain name and host name is defined on it? CA has generated you any rsa... to create the encryption keys?

  • Skyline view 6, failed to connect to deployed Linked clone pool with PCOIP?

    I can not connect to my pool bound using pcoip by the client or the web browser, however I can connect by customer and select rdp.

    Liked my statue of gold to clone a set-aside;

    • View agent
    • Member of domain with the static ip DNS address
    • VMware OS optimization tool
    • ipconfig/release
    • then snapshot and is used for specialized bound basin

    Made by basic deployment and use of vCenter customization specification (sysprep);

    Custom network setting, use DHCP and static DNS ip

    domain credentials: lots of domain and user name: administrator@fulldomainname

    Additional information is needed to help. Have you installed the tools or the agent first? Believe that desktop computers available in the administrator of the display? Do you think all the right ports open on the desktop? Haven't you view files customer newspapers and agent you can edit? What is the error message get you from the customer?

Maybe you are looking for