First add partition to xenserver from xencenter.
pvcreate /dev/xvdb1
vgcreate vg02 /dev/xvdb1
lvcreate --name lv02 --size 20G vg02
mke2fs -j /dev/vg02/lv02
mkdir /space or mkdir /home/systest
mount /dev/vg02/lv02 /space
df -h
vi /etc/fstab
/dev/vg02/lv02 /space ext3 defaults 1 2
vg02 or lv02 is just names you can write any , xvdb is partition name so define accordingly.
Monday, May 9, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment