OpenVZ Forum


Home » General » Support » lvm
lvm [message #35625] Thu, 09 April 2009 07:03 Go to next message
sachin is currently offline  sachin
Messages: 27
Registered: September 2007
Junior Member
Hi,



[root@wolf2 ~]# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/sda2 114G 6.0G 102G 6% /

/dev/sda1 965M 36M 880M 4% /boot

tmpfs 1.8G 0 1.8G 0% /dev/shm

none 1.8G 104K 1.8G 1% /var/lib/xenstored

/dev/mapper/vg0-lvol0

9.7G 151M 9.4G 2% /mnt/vfs

[root@wolf2 ~]# vgdisplay

--- Volume group ---

VG Name vg0

System ID

Format lvm2

Metadata Areas 1

Metadata Sequence No 3

VG Access read/write

VG Status resizable

MAX LV 0

Cur LV 1

Open LV 1

Max PV 0

Cur PV 1

Act PV 1

VG Size 232.88 GB

PE Size 16.00 MB

Total PE 14904

Alloc PE / Size 689 / 10.77 GB

Free PE / Size 14215 / 222.11 GB

VG UUID LwMhgm-cW1A-ZTNi-dRG8-h2MH-1MjK-p7zPd6





When we try to create windows xen we do get error

Need lvm for windows.



We have 3 drive on same system.



[root@wolf2 ~]# fdisk -l



Disk /dev/sda: 250.0 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes



Device Boot Start End Blocks Id System

/dev/sda1 * 1 127 1020096 83 Linux

/dev/sda2 128 15425 122881185 83 Linux

/dev/sda3 15426 16445 8193150 82 Linux swap / Solaris



Disk /dev/sdb: 250.0 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes



Device Boot Start End Blocks Id System

/dev/sdb1 1 30401 244196001 8e Linux LVM



Disk /dev/sdc: 250.0 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes



Device Boot Start End Blocks Id System

[root@wolf2 ~]#



we have define xen home = /mnt/vfs too



how can we get lvm for windows.?


Re: lvm [message #35639 is a reply to message #35625] Thu, 09 April 2009 17:33 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


how can we get lvm for windows.?


I'm afraid it's not a proper place for asking such questions.
OpenVZ doesn't allow you to run Windows.
Re: lvm [message #35645 is a reply to message #35625] Fri, 10 April 2009 02:56 Go to previous messageGo to next message
sachin is currently offline  sachin
Messages: 27
Registered: September 2007
Junior Member
xm list
Name ID Mem(MiB) VCPUs State Time(s)
208.87.241.135.vm 3 191 1 ------ 0.0
Domain-0 0 3624 2 r----- 45.7

i am getting following error while click on vnc client.
network error: could not connect server ip:5905

i did install yum install vnc-server at vps node and i am able to connect main node by vnc using ip :5901 but it shows blank screen. i can see 5905 port is not open.
i am still unable to connect windows vnc
[root@wolf2 ~]# ll /home
total 32
drwx------ 2 20887241135vm 20887241135vm 4096 Apr 9 09:41 20887241135vm
drwxr-xr-x 2 root root 4096 Apr 4 07:24 httpd
drwxr-xr-x 7 root root 4096 Apr 7 03:57 hypervm
drwx------ 2 lxlabs lxlabs 4096 Apr 4 07:23 lxlabs
lrwxrwxrwx 1 root root 51 Apr 9 09:40 wincd.img -> /vz/template/cache/w2k3sp2_3959_usa_x64fre_spcd.iso
Re: lvm [message #35668 is a reply to message #35625] Mon, 13 April 2009 06:37 Go to previous messageGo to next message
sachin is currently offline  sachin
Messages: 27
Registered: September 2007
Junior Member
xm list
Name ID Mem(MiB) VCPUs State Time(s)
192.168.1.12.vm 3 191 1 ------ 0.0
Domain-0 0 3624 2 r----- 45.7

i am getting following error while click on vnc client.
network error: could not connect server ip:5905

i did install yum install vnc-server at vps node and i am able to connect main node by vnc using ip :5901 but it shows blank screen. i can see 5905 port is not open.
i am still unable to connect windows vnc
[root@wolf2 ~]# ll /home
total 32
drwx------ 2 192168112vm 192168112vm 4096 Apr 9 09:41 19216811vm
drwxr-xr-x 2 root root 4096 Apr 4 07:24 httpd
drwxr-xr-x 7 root root 4096 Apr 7 03:57 hypervm
drwx------ 2 lxlabs lxlabs 4096 Apr 4 07:23 lxlabs
lrwxrwxrwx 1 root root 51 Apr 9 09:40 wincd.img -> /vz/template/cache/w2k3sp2_3959_usa_x64fre_spcd.iso
Re: lvm [message #35701 is a reply to message #35668] Wed, 15 April 2009 18:17 Go to previous message
sachin is currently offline  sachin
Messages: 27
Registered: September 2007
Junior Member
Hello,

Now we are able to see the windows image on the VPS.

Now just problem is we are not able to use keyboard and mouse in this VPS. anyone can help on this issue.

sachin.
Previous Topic: vzplit bug?
Next Topic: Unable to fork: Cannot allocate memory
Goto Forum:
  


Current Time: Tue Aug 13 12:52:16 GMT 2024

Total time taken to generate the page: 0.03135 seconds