VMware/ESXi

Top / VMware / ESXi

󥹥ȡ

VMware ESXi 5.0 ͷ֡Ƕ update 1 Ф

VMware Workstation 8

  • ϥѥХ׷Ū 2 ʾɬܡȤϤƤȤǤä

Virtual Box 4.1

  • OS ESXi ̵ΤǤƤȤ 64 bit RHEL äƤȤˤƤߤä 2 ʾɬ

ޤ

SATA HDD RDM ǤäĤ

vSphere Client ϤʤΤǥޥɤǤɤˤ롣ESXi 륵ӥ SSH ӥ򳫻ϤƤ

  1. SSH оݤ ESXi ۥȤ˥󤹤
  2. RDM ǤäĤо SATA ǥꤹ
    # ls -l /vmfs/devices/disks/
    -rw-------    1 root     root         1980760064 May 25 15:58 mpx.vmhba32:C0:T0:L0
    -rw-------    1 root     root            4161536 May 25 15:58 mpx.vmhba32:C0:T0:L0:1
    -rw-------    1 root     root          262127616 May 25 15:58 mpx.vmhba32:C0:T0:L0:5
    -rw-------    1 root     root          262127616 May 25 15:58 mpx.vmhba32:C0:T0:L0:6
    -rw-------    1 root     root          115326976 May 25 15:58 mpx.vmhba32:C0:T0:L0:7
    -rw-------    1 root     root          299876352 May 25 15:58 mpx.vmhba32:C0:T0:L0:8
    -rw-------    1 root     root      2000398934016 May 25 15:58 t10.ATA_____ST2000DM0012D9YN164__________________________________Z1E0LRSA
    -rw-------    1 root     root      2000397795328 May 25 15:58 t10.ATA_____ST2000DM0012D9YN164__________________________________Z1E0LRSA:1
    -rw-------    1 root     root       250059350016 May 25 15:58 t10.ATA_____ST3250318AS_________________________________________9VYD131H
    -rw-------    1 root     root          524288000 May 25 15:58 t10.ATA_____ST3250318AS_________________________________________9VYD131H:1
    -rw-------    1 root     root       249533825024 May 25 15:58 t10.ATA_____ST3250318AS_________________________________________9VYD131H:2
    lrwxrwxrwx    1 root     root                 20 May 25 15:58 vml.0000000000766d68626133323a303a30 -> mpx.vmhba32:C0:T0:L0
    lrwxrwxrwx    1 root     root                 22 May 25 15:58 vml.0000000000766d68626133323a303a30:1 -> mpx.vmhba32:C0:T0:L0:1
    lrwxrwxrwx    1 root     root                 22 May 25 15:58 vml.0000000000766d68626133323a303a30:5 -> mpx.vmhba32:C0:T0:L0:5
    lrwxrwxrwx    1 root     root                 22 May 25 15:58 vml.0000000000766d68626133323a303a30:6 -> mpx.vmhba32:C0:T0:L0:6
    lrwxrwxrwx    1 root     root                 22 May 25 15:58 vml.0000000000766d68626133323a303a30:7 -> mpx.vmhba32:C0:T0:L0:7
    lrwxrwxrwx    1 root     root                 22 May 25 15:58 vml.0000000000766d68626133323a303a30:8 -> mpx.vmhba32:C0:T0:L0:8
    lrwxrwxrwx    1 root     root                 72 May 25 15:58 vml.01000000002020202020202020202020203956594431333148535433323530 -> t10.ATA_____ST3250318AS_________________________________________9VYD131H
    lrwxrwxrwx    1 root     root                 74 May 25 15:58 vml.01000000002020202020202020202020203956594431333148535433323530:1 -> t10.ATA_____ST3250318AS_________________________________________9VYD131H:1
    lrwxrwxrwx    1 root     root                 74 May 25 15:58 vml.01000000002020202020202020202020203956594431333148535433323530:2 -> t10.ATA_____ST3250318AS_________________________________________9VYD131H:2
    lrwxrwxrwx    1 root     root                 73 May 25 15:58 vml.01000000002020202020202020202020205a3145304c525341535432303030 -> t10.ATA_____ST2000DM0012D9YN164__________________________________Z1E0LRSA
    lrwxrwxrwx    1 root     root                 75 May 25 15:58 vml.01000000002020202020202020202020205a3145304c525341535432303030:1 -> t10.ATA_____ST2000DM0012D9YN164__________________________________Z1E0LRSA:1
    
    
    • [t10.ATA] ϤޤΤ SATA ǥϥܥå󥯤ǡΤ [vml.*] ΤۤɤɤƤ狼ˤΤ t10.* ǥǥ̾ߤꤹ
    • ѡƥǧƤ [:1] [:2] ʤɿդƤ롣ʤΤǥΤΡLinux Ǥ [/dev/sda] [/dev/sda1] δطߤʴ
    • 250 GB ΥǥäΤǡ[t10.ATA_____ST3250318AS_________________________________________9VYD131H]
  3. RDM Υޥåԥ󥰥ե
    ! vmkfstools -z <оݥǥ> <ޥåԥ󥰥ե> -a <ץ>
    # vmkfstools -z /vmfs/devices/disks/t10.ATA_____ST3250318AS_________________________________________9VYD131H /vmfs/volumes/datastore/hoge/hoge.vmdk -a lsilogic
    
    ! ʲإפȴ
    ! vmkfstools -z --createrdmpassthru /vmfs/devices/disks/...
    !            -a --adaptertype [buslogic|lsilogic|ide]
    !  [ide] ˤ IDE ǤäĤ
    
  4. ץץȤ֤äƤǤꡣvSphere Client ǡǤä .vmdk ե [¸Υϡɥǥե] Ȥɲä

ޤ

ޥåԥ󥰥եϥƥȥǡʤΤ cat ʤɤߤ롣

  • # cat /vmfs/volumes/datastore/hoge/hoge.vmdk
    
    # Disk DescriptorFile
    version=1
    encoding="UTF-8"
    CID=fffffffe
    parentCID=ffffffff
    isNativeSnapshot="no"
    createType="vmfsPassthroughRawDeviceMap"
    
    # Extent description
    RW 488397168 VMFSRDM "hoge-rdmp.vmdk"
    
    # The Disk Data Base
    #DDB
    
    ddb.virtualHWVersion = "8"
    ddb.longContentID = "25f4e6e0cc3b796abdbe791cfffffffe"
    ddb.uuid = "60 00 C2 92 bc a7 14 96-9a fe 3f 4b c2 bf 66 95"
    ddb.geometry.cylinders = "30401"
    ddb.geometry.heads = "255"
    ddb.geometry.sectors = "63"
    ddb.adapterType = "lsilogic"
    

åץӥ˥󥰤饷ץӥ˥󥰤Ѵ

vSphere Client ϤǤʤΤǤäѤꥳޥɤ

  1. Ѵǥ򰮤äƤ VM 򥷥åȥ
  2. SSH о ESXi ۥȤ˥
  3. Ѵޥɤ򤿤
    # cd /vmfs/volumes/datastore/hoge
    
    ! vmkfstools -i < vmdk> -d thin <å vmdk>
    # vmkfstools -i hoge.vmdk -d thin fuga.vmdk
    Destination disk format: VMFS thin-provisioned
    Cloning disk 'v2v_src_1.vmdk'...
    Clone: 100% done.
    
    ! إפϰʲ
    ! vmkfstools -i --clonevirtualdisk srcDisk
    !            -d --diskformat [zeroedthick|
    !                             thin|
    !                             eagerzeroedthick|
    !                             rdm:<device>|rdmp:<device>|
    !                             2gbsparse]
    

RHEL 6 P2V ESXi ˾褻

ޤưƤʪ RHEL 6 ESXi ˤޤäȾ褻Converter бʤ RHEL 6 ꤳʤǶʤǤ ĿͤϰϤȵڤ˻Ȥ P2V ġ뤬̵ƤĤ餤Ѥ Acronis Ҥ Universal Restore 褵


Last-modified: 2012-05-26 () 16:21:49 (2248d)