OpenVZ - cloning VE

Discussion in 'Server Operation' started by satimis, Apr 1, 2009.

  1. satimis

    satimis New Member

    Hi folks,


    OpenVZ
    Host - Ubuntu 8.04 workstation
    VE(existing guest) - 101

    I'm prepared following;
    http://wiki.openvz.org/Cloning_VE

    to duplicate a new VE of 101 and name it "102"

    I can't find following package on repo;

    [email protected]:~$ apt-cache policy pushd
    Code:
    W: Unable to locate package pushd
    
    [email protected]:~$ apt-cache search pushd
    Code:
    obexpushd - program for receiving files via Bluetooth
    
    # vzctl stop 101
    Code:
    Unable to stop: VE is not running
    
    The guest "VE" is NOT running.

    # ls /etc/vz/conf/
    Code:
    0.conf    102.conf.destroyed    ve-vps.basic.conf-sample
    101.conf  ve-light.conf-sample
    

    Re: pushd /vz/private/$OLDVE; ......

    the directories don't exist. Whether creating them?

    Please advise.

    TIA

    B.R.
    satimis
     
  2. falko

    falko Super Moderator ISPConfig Developer

    There's no package containing pushd in the Ubuntu repositories (see http://packages.ubuntu.com ). I guess the wiki article was written for Fedora or CentOS.
     
  3. satimis

    satimis New Member

    Hi falko,

    pushd' and 'popd' are shell commands.

    see #3 on;
    http://ubuntuforums.org/showthread.php?t=540034

    There is a way to find them on terminal. Unfortunately I forgot the command to be run on terminal to find them. Can you help?


    TIA


    B.R.
    satimis
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Code:
    updatedb
    locate pushd
     
  5. satimis

    satimis New Member

    Hi falko,

    locate can't find it. pushd is a bash command. I came across the steps to find bash commands before. I put the steps somewhere. Unfortunately I can't find them anymore.


    B.R.
    satimis
     
  6. falko

    falko Super Moderator ISPConfig Developer

    As I told you, there's no pushd package for Ubuntu.
     

Share This Page