LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to clone virtual server (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-clone-virtual-server-684238/)

braclayrab 11-18-2008 01:04 AM

trying to clone virtual server
 
Hi everyone,
I'm trying to clone a 'virtual' server running CentOS 5 from my host to a VM I am running at home for development. I was going to use dd to copy the disk but there appears to be no disk! I cannot physically access this server, so cannot boot from a disk.

Code:

[clay ~]: ls -l /dev | grep disk
brw-r----- 1 root disk 1,  0 Apr 13  2006 ram0
brw-r----- 1 root disk 1,  1 Apr 13  2006 ram1
lrwxrwxrwx 1 root root      4 Feb  4  2008 ramdisk -> ram0
[clay ~]:

Why don't I see any disks? Is there another way I can proceed?
Thanks in advance!
-Clay

TB0ne 11-19-2008 09:59 AM

Quote:

Originally Posted by braclayrab (Post 3345949)
Hi everyone,
I'm trying to clone a 'virtual' server running CentOS 5 from my host to a VM I am running at home for development. I was going to use dd to copy the disk but there appears to be no disk! I cannot physically access this server, so cannot boot from a disk.

Code:

[clay ~]: ls -l /dev | grep disk
brw-r----- 1 root disk 1,  0 Apr 13  2006 ram0
brw-r----- 1 root disk 1,  1 Apr 13  2006 ram1
lrwxrwxrwx 1 root root      4 Feb  4  2008 ramdisk -> ram0
[clay ~]:

Why don't I see any disks? Is there another way I can proceed?
Thanks in advance!
-Clay

They're probably not going to be called "disk" anything. Type in "df -k", and look at what you get. It'll probably be something like /dev/sda1, /dev/hdc2, etc.


All times are GMT -5. The time now is 04:55 AM.