Advertisement
Guest User

Untitled

a guest
Nov 28th, 2013
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. Physical disks:
  2. Model: ATA WDC WD7500BFCX-6 (scsi)
  3. Disk /dev/sdc: 1465149168s
  4. Sector size (logical/physical): 512B/4096B
  5. Partition Table: gpt
  6.  
  7. Number Start End Size File system Name Flags
  8. 1 2048s 1465147391s 1465145344s primary raid
  9.  
  10. ---
  11.  
  12. Model: ATA WDC WD7500BFCX-6 (scsi)
  13. Disk /dev/sdd: 1465149168s
  14. Sector size (logical/physical): 512B/4096B
  15. Partition Table: gpt
  16.  
  17. Number Start End Size File system Name Flags
  18. 1 2048s 1465147391s 1465145344s primary raid
  19.  
  20. ---
  21.  
  22. Model: ATA WDC WD7500BFCX-6 (scsi)
  23. Disk /dev/sde: 1465149168s
  24. Sector size (logical/physical): 512B/4096B
  25. Partition Table: gpt
  26.  
  27. Number Start End Size File system Name Flags
  28. 1 2048s 1465147391s 1465145344s primary raid
  29.  
  30. ---
  31.  
  32. Model: ATA WDC WD7500BFCX-6 (scsi)
  33. Disk /dev/sdf: 1465149168s
  34. Sector size (logical/physical): 512B/4096B
  35. Partition Table: gpt
  36.  
  37. Number Start End Size File system Name Flags
  38. 1 2048s 1465147391s 1465145344s primary raid
  39.  
  40.  
  41. mdadm:
  42. md2 : active raid5 sdc1[0] sdf1[3](S) sde1[2] sdd1[1]
  43. 1465144320 blocks super 1.0 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
  44.  
  45. PV:
  46. PV VG Fmt Attr PSize PFree 1st PE
  47. /dev/md2 data lvm2 a-- 1.36t 527.27g 512.00k
  48.  
  49. VG:
  50. --- Volume group ---
  51. VG Name data
  52. System ID
  53. Format lvm2
  54. Metadata Areas 1
  55. Metadata Sequence No 7
  56. VG Access read/write
  57. VG Status resizable
  58. MAX LV 0
  59. Cur LV 4
  60. Open LV 4
  61. Max PV 0
  62. Cur PV 1
  63. Act PV 1
  64. VG Size 1.36 TiB
  65. PE Size 4.00 MiB
  66. Total PE 357701
  67. Alloc PE / Size 222720 / 870.00 GiB
  68. Free PE / Size 134981 / 527.27 GiB
  69. VG UUID tPVqsw-wR7F-7LZA-CjiP-HJGt-vO22-u2VCzF
  70.  
  71.  
  72. LV, /dev/data/lks-srv (windows lv):
  73. Model: Linux device-mapper (linear) (dm)
  74. Disk /dev/dm-2: 335544320s
  75. Sector size (logical/physical): 512B/4096B
  76. Partition Table: msdos
  77.  
  78. Number Start End Size Type File system Flags
  79. 1 2048s 718847s 716800s primary ntfs boot
  80. 2 718848s 335542271s 334823424s primary ntfs
  81.  
  82. ---
  83.  
  84. Config file for lks-srv:
  85.  
  86. <domain type='kvm'>
  87. <name>lks-srv</name>
  88. <uuid>241d9aab-85c3-577a-13bf-b38c4c409922</uuid>
  89. <memory unit='KiB'>8290304</memory>
  90. <currentMemory unit='KiB'>8290304</currentMemory>
  91. <vcpu placement='static'>4</vcpu>
  92. <os>
  93. <type arch='x86_64' machine='pc-1.1'>hvm</type>
  94. <boot dev='cdrom'/>
  95. <boot dev='hd'/>
  96. <boot dev='network'/>
  97. </os>
  98. <features>
  99. <acpi/>
  100. <pae/>
  101. </features>
  102. <clock offset='localtime'/>
  103. <on_poweroff>destroy</on_poweroff>
  104. <on_reboot>restart</on_reboot>
  105. <on_crash>restart</on_crash>
  106. <devices>
  107. <emulator>/usr/bin/kvm</emulator>
  108. <disk type='block' device='disk'>
  109. <driver name='qemu' type='raw' cache='none' io='native'/>
  110. <source dev='/dev/data/lks-main'/>
  111. <target dev='vda' bus='virtio'/>
  112. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  113. </disk>
  114. <disk type='block' device='disk'>
  115. <driver name='qemu' type='raw' cache='none' io='native'/>
  116. <source dev='/dev/data/lks-data'/>
  117. <target dev='vdb' bus='virtio'/>
  118. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  119. </disk>
  120. <disk type='file' device='cdrom'>
  121. <driver name='qemu' type='raw'/>
  122. <source file='/srv/install/w2k12.iso'/>
  123. <target dev='hda' bus='ide'/>
  124. <readonly/>
  125. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  126. </disk>
  127. <disk type='file' device='cdrom'>
  128. <driver name='qemu' type='raw'/>
  129. <source file='/srv/drivers/virtio-win-0.1-74.iso'/>
  130. <target dev='hdc' bus='ide'/>
  131. <readonly/>
  132. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  133. </disk>
  134. <controller type='usb' index='0'>
  135. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  136. </controller>
  137. <controller type='ide' index='0'>
  138. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  139. </controller>
  140. <interface type='bridge'>
  141. <mac address='52:54:00:55:95:bd'/>
  142. <source bridge='br0'/>
  143. <model type='e1000'/>
  144. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  145. </interface>
  146. <serial type='pty'>
  147. <target port='0'/>
  148. </serial>
  149. <console type='pty'>
  150. <target type='serial' port='0'/>
  151. </console>
  152. <input type='tablet' bus='usb'/>
  153. <input type='mouse' bus='ps2'/>
  154. <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='sv'>
  155. <listen type='address' address='0.0.0.0'/>
  156. </graphics>
  157. <video>
  158. <model type='vga' vram='9216' heads='1'/>
  159. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  160. </video>
  161. <memballoon model='virtio'>
  162. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  163. </memballoon>
  164. </devices>
  165. </domain>
  166.  
  167. Guest create options:
  168. virt-install --connect qemu:///system --name lks-srv --ram 8096 --vcpus=4 --disk path=/dev/data/lks-main,bus=virtio,cache=none,sparse=false,format=raw,io=native --disk path=/dev/data/lks-data,bus=virtio,cache=none,format=raw,io=native --disk path=/srv/drivers/virtio-win-0.1-65.iso,device=cdrom --cdrom /srv/install/w2k12.iso --boot cdrom,hd,network --network=bridge:br0,model=e1000 --vnc --vnclisten=0.0.0.0 --os-type=windows --noautoconsole --noapic --keymap=sv-latin1 --autostart --hvm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement