Chinaunix首页 | 论坛 | 博客
  • 博客访问: 177294
  • 博文数量: 33
  • 博客积分: 1411
  • 博客等级: 上尉
  • 技术积分: 342
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-04 13:04
文章存档

2008年(33)

我的朋友

分类:

2008-09-27 14:23:01

root@npar2:/#hpvmstatus

[Virtual Machines]

Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid

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

hpvma                    1 HPUX    On (OS)        2     2     0    4 GB        0

hpvmb                    2 HPUX    Off            2     1     0    4 GB        0

hpvmc                    3 HPUX    Off            2     1     0    4 GB        0

hpvmd                    4 HPUX    Off            2     1     0    2 GB        0

root@npar2:/#hpvmstatus -vp 1

Version A.03.50.00

[Virtual Machine Details]

Virtual Machine Name VM #  OS Type State

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

hpvma                    1 HPUX    On (OS)  

 

[Authorized Administrators]

Oper Groups: 

Admin Groups:

Oper Users:  

Admin Users: 

 

[Virtual CPU Details]

#vCPUs Entitlement Maximum

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

     2      100.0%  100.0%

 

[Memory Details]

Total    Reserved

Memory   Memory 

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

   4 GB     64 MB

 

[Storage Interface Details]

Guest                                 Physical

Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device

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

disk    scsi         0   0   0   0   0 disk      /dev/rdsk/c5t0d0

tape    scsi         0   0   0   1   0 attach    /dev/rscsi/c3t3d0

 

[Network Interface Details]

Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address

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

 

[Misc Interface Details]

Guest                                 Physical

Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device

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

serial  com1                           tty       console

root@npar2:/#hpvmstatus

[Virtual Machines]

Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid

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

hpvma                    1 HPUX    On (OS)        2     2     0    4 GB        0

hpvmb                    2 HPUX    Off            2     1     0    4 GB        0

hpvmc                    3 HPUX    Off            2     1     0    4 GB        0

hpvmd                    4 HPUX    Off            2     1     0    2 GB        0

root@npar2:/#hpvmclone -P hpvma -N hpvmd -b disk:scsi:0,0,0:disk:/dev/rdsk/c5t3d0

hpvmclone: A guest with the name 'hpvmd' already exists.

hpvmclone: Unable to clone the guest.

NOTE:对于已经存在的vm host,不能进行克隆操作(即使vm host里面并没有操作系统)

 

root@npar2:/#hpvmremove -p 4

hpvmremove: Remove the virtual machine 'hpvmd'? [n/y]: y

root@npar2:/#hpvmclone -P hpvma -N hpvmd -b disk:scsi:0,0,0:disk:/dev/rdsk/c5t3d0

hpvmclone: WARNING (host): Unable to open file '/dev/rscsi/c3t3d0' when remapped as file '/dev/rmt/c3t3d0BESTnb' using O_RDWR|O_NDELAY - error reason: 'Device busy'.

hpvmclone: The -b option can not be used on an active guest.

hpvmclone: Unable to create clone 'hpvmd'.

hpvmclone: Unable to clone the guest.

NOTE:对于已经启动的vm host,也不能进行克隆操作

 

root@npar2:/#hpvmstatus

[Virtual Machines]

Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid

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

hpvma                    1 HPUX    Off            2     2     0    4 GB        0

hpvmb                    2 HPUX    Off            2     1     0    4 GB        0

hpvmc                    3 HPUX    Off            2     1     0    4 GB        0

 

root@npar2:/#hpvmstop -p 1

hpvmstop: Stop the virtual machine 'hpvma'? [n/y]: y

root@npar2:/#hpvmclone -P hpvma -N hpvmd -b disk:scsi:0,0,0:disk:/dev/rdsk/c5t3d0

140014+1 records in

140014+1 records out

hpvmclone: Virtual storage cloned successfully.

阅读(1693) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

zlg882011-12-22 13:21:26

实际上就是执行dd命令。