Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Physical disks:
- Model: ATA WDC WD7500BFCX-6 (scsi)
- Disk /dev/sdc: 1465149168s
- Sector size (logical/physical): 512B/4096B
- Partition Table: gpt
- Number Start End Size File system Name Flags
- 1 2048s 1465147391s 1465145344s primary raid
- ---
- Model: ATA WDC WD7500BFCX-6 (scsi)
- Disk /dev/sdd: 1465149168s
- Sector size (logical/physical): 512B/4096B
- Partition Table: gpt
- Number Start End Size File system Name Flags
- 1 2048s 1465147391s 1465145344s primary raid
- ---
- Model: ATA WDC WD7500BFCX-6 (scsi)
- Disk /dev/sde: 1465149168s
- Sector size (logical/physical): 512B/4096B
- Partition Table: gpt
- Number Start End Size File system Name Flags
- 1 2048s 1465147391s 1465145344s primary raid
- ---
- Model: ATA WDC WD7500BFCX-6 (scsi)
- Disk /dev/sdf: 1465149168s
- Sector size (logical/physical): 512B/4096B
- Partition Table: gpt
- Number Start End Size File system Name Flags
- 1 2048s 1465147391s 1465145344s primary raid
- mdadm:
- md2 : active raid5 sdc1[0] sdf1[3](S) sde1[2] sdd1[1]
- 1465144320 blocks super 1.0 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
- PV:
- PV VG Fmt Attr PSize PFree 1st PE
- /dev/md2 data lvm2 a-- 1.36t 527.27g 512.00k
- VG:
- --- Volume group ---
- VG Name data
- System ID
- Format lvm2
- Metadata Areas 1
- Metadata Sequence No 7
- VG Access read/write
- VG Status resizable
- MAX LV 0
- Cur LV 4
- Open LV 4
- Max PV 0
- Cur PV 1
- Act PV 1
- VG Size 1.36 TiB
- PE Size 4.00 MiB
- Total PE 357701
- Alloc PE / Size 222720 / 870.00 GiB
- Free PE / Size 134981 / 527.27 GiB
- VG UUID tPVqsw-wR7F-7LZA-CjiP-HJGt-vO22-u2VCzF
- LV, /dev/data/lks-srv (windows lv):
- Model: Linux device-mapper (linear) (dm)
- Disk /dev/dm-2: 335544320s
- Sector size (logical/physical): 512B/4096B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 2048s 718847s 716800s primary ntfs boot
- 2 718848s 335542271s 334823424s primary ntfs
- ---
- Config file for lks-srv:
- <domain type='kvm'>
- <name>lks-srv</name>
- <uuid>241d9aab-85c3-577a-13bf-b38c4c409922</uuid>
- <memory unit='KiB'>8290304</memory>
- <currentMemory unit='KiB'>8290304</currentMemory>
- <vcpu placement='static'>4</vcpu>
- <os>
- <type arch='x86_64' machine='pc-1.1'>hvm</type>
- <boot dev='cdrom'/>
- <boot dev='hd'/>
- <boot dev='network'/>
- </os>
- <features>
- <acpi/>
- <pae/>
- </features>
- <clock offset='localtime'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>restart</on_crash>
- <devices>
- <emulator>/usr/bin/kvm</emulator>
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw' cache='none' io='native'/>
- <source dev='/dev/data/lks-main'/>
- <target dev='vda' bus='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </disk>
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw' cache='none' io='native'/>
- <source dev='/dev/data/lks-data'/>
- <target dev='vdb' bus='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
- </disk>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <source file='/srv/install/w2k12.iso'/>
- <target dev='hda' bus='ide'/>
- <readonly/>
- <address type='drive' controller='0' bus='0' target='0' unit='0'/>
- </disk>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <source file='/srv/drivers/virtio-win-0.1-74.iso'/>
- <target dev='hdc' bus='ide'/>
- <readonly/>
- <address type='drive' controller='0' bus='1' target='0' unit='0'/>
- </disk>
- <controller type='usb' index='0'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
- </controller>
- <controller type='ide' index='0'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
- </controller>
- <interface type='bridge'>
- <mac address='52:54:00:55:95:bd'/>
- <source bridge='br0'/>
- <model type='e1000'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </interface>
- <serial type='pty'>
- <target port='0'/>
- </serial>
- <console type='pty'>
- <target type='serial' port='0'/>
- </console>
- <input type='tablet' bus='usb'/>
- <input type='mouse' bus='ps2'/>
- <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='sv'>
- <listen type='address' address='0.0.0.0'/>
- </graphics>
- <video>
- <model type='vga' vram='9216' heads='1'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
- </video>
- <memballoon model='virtio'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </memballoon>
- </devices>
- </domain>
- Guest create options:
- 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