dom0:~ # pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name dom1
PV Size 1.97 TB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 516348
Free PE 257788
Allocated PE 258560
PV UUID rrUNYK-IGsW-hgUl-UpxE-xg47-xo3h-PxsIKp
dom0:~ # lvdisplay
--- Logical volume ---
LV Name /dev/dom1/dom1_arkeia
VG Name dom1
LV UUID O2hWKZ-mPUq-NaYC-i2IY-DiIA-Wa6A-IzCxFU
LV Write Access read/write
LV Status available
# open 2
LV Size 500.00 GB
Current LE 128000
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/dom1/dom1_root
VG Name dom1
LV UUID Aerho1-2vgn-0ZU7-cUil-47Yd-4eRT-idP6nX
LV Write Access read/write
LV Status available
# open 2
LV Size 5.00 GB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
--- Logical volume ---
LV Name /dev/dom1/dom2_arkeia
VG Name dom1
LV UUID V0VlPo-BALk-hHJn-sClh-0UYN-pkMi-pNTjqI
LV Write Access read/write
LV Status available
# open 0
LV Size 500.00 GB
Current LE 128000
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:2
--- Logical volume ---
LV Name /dev/dom1/dom2_root
VG Name dom1
LV UUID Ii36VC-tCRu-i8NB-Irts-4YFD-MNxt-HEAe9Q
LV Write Access read/write
LV Status available
# open 0
LV Size 5.00 GB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
dom0:~ # vgdisplay
--- Volume group ---
VG Name dom1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.97 TB
PE Size 4.00 MB
Total PE 516348
Alloc PE / Size 258560 / 1010.00 GB
Free PE / Size 257788 / 1006.98 GB
VG UUID z5vP22-tEtP-THML-wwuT-WhRN-XNUX-nfrREL
dom0:~ # cat /etc/xen/
auto/ images/ scripts/ xend-config.sxp
examples/ qemu-ifup vm/
dom0:~ # cat /etc/xen/vm/
vm1 .vm1.swp
dom0:~ # cat /etc/xen/vm/vm1
disk = [ 'phy:/dev/dom1/dom1_root,ioemu:hda,w', 'phy:/dev/dom1/dom1_arkeia,ioemu:hdb,w' ]
memory = 512
vcpus = 1
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
kernel = '/usr/lib/xen/boot/hvmloader'
name = 'vm1'
vif = [ 'type=ioemu,mac=00:16:3e:f2:44:d5' ]
stdvga = 0
sdl = 0
vnc = 1
vncviewer = 1
ne2000 = 0
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
boot = 'c'
cdrom = '/dev/hdb'
backup3:~ # fdisk /dev/hdb
The number of cylinders for this disk is set to 266305.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdb: 137.4 GB, 137438953472 bytes
16 heads, 63 sectors/track, 266305 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 266305 134217688+ 83 Linux
Command (m for help):