coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 22 guests online

Newest Member

beyondimagem

Hit Counter
9133562 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

vmkfstools- how to copy a VMFS volume in VMware to clone a disk
Description

If you want to copy a disk used by a virtual machine in VMware so that you can clone an existing virtual machine, do the following:

1) Stop the source virtual machine

2) Log into the VMware server as root and run the following command:

# vmkfstools -e /vmfs/vmfsname/target.vmdk -d vmfs /vmfs/vmfsname/source.vmdk

Note: The copy (export) takes quite a bit of time depending on the size of your disk.

3) Configure a new virtual machine but when asked to configure a disk, select to use an existing one and select the one you just created. In my case, it would be target.vmdk.

4) Once the virtual machine is created, power it up.

5) Log in to the new virtual machine and change its IP address and hostname so that there will not be any confilict once you power up the source virtual machine.

6) Once the IP for the target is changed, power up the source virtual machine.
Example

vmkfstools -e /vmfs/vmfsname/target.vmdk -d vmfs /vmfs/vmfsname/source.vmdk

Return to search results

Random coolcommands

coolcommand: rmvterm command will remove (close) a virtual terminal session
Example: rmvterm -m "managed-system" [ -p "partition-name" ] [—help ]
[show me the details]
coolcommand: how to make the permission of a file the same as another reference file in Linux
Example: chmod --reference file1 file2
[show me the details]
coolcommand: rrdtool - extract header information from a rrdtool (round robin database) database file
Example: rrdtool info cpu.rrd
[show me the details]
coolcommand: modunload - how to unload a kernel module in Sun Solaris
Example: /usr/sbin/modunload -i 11
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum