Red Hat ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE Manual page 188

Hide thumbs Also See for ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE:
Table of Contents

Advertisement

Chapter 11. Xen Para-virtualized Drivers
Note
You need to increment the letter for the 'xvd' device, that is for your second storage entity
it would be 'xvdb' instead of 'xvda'.
disk = [ -"file:/var/lib/libvirt/images/rhel5_64_fv.dsk,hda,w",
-"tap:aio:/var/lib/libvirt/images/UserStorage1.dsk,xvda,w",
-"tap:aio:/var/lib/libvirt/images/UserStorage2.dsk,xvdb,w" -]
Verify the partitions have been created and are available.
# cat -/proc/partitions
major minor
#blocks
3
0
10485760
3
1
104391
3
2
10377990
202
0
64000
202
1
64000
253
0
8257536
253
1
2031616
In the above output you can see the partition or device "xvdb" is available to the system.
Mount the new devices and disks to local mount points and update the /etc/fstab inside the guest
to mount the devices and partitions at boot time.
# mkdir -/mnt/pvdisk_xvda
# mkdir -/mnt/pvdisk_xvdb
# mount -/dev/xvda -/mnt/pvdisk_xvda
# mount -/dev/xvdb -/mnt/pvdisk_xvdb
# df -/mnt
Filesystem
/dev/xvda
/dev/xvdb
174
name
hda
hda1
hda2
xvda
xvdb
dm-0
dm-1
1K-blocks
Used
64000
15
64000
15
Available Use%
Mounted on
63985
1%
-/mnt/pvdisk_xvda
63985
1%
-/mnt/pvdisk_xvdb

Advertisement

Table of Contents
loading

Table of Contents