Difference between revisions of "Kvm test"
(→Bridge van de netwerkinterface) |
|||
| Line 1: | Line 1: | ||
| + | = Bridge van de netwerkinterface = |
||
| − | = kvm test = |
||
| − | == Bridge van de netwerkinterface == |
||
Na de aanpassing van de configuratie: |
Na de aanpassing van de configuratie: |
||
udell-kvm:~# /etc/init.d/networking restart |
udell-kvm:~# /etc/init.d/networking restart |
||
| Line 31: | Line 30: | ||
collisions:0 txqueuelen:0 |
collisions:0 txqueuelen:0 |
||
RX bytes:280 (280.0 B) TX bytes:280 (280.0 B) |
RX bytes:280 (280.0 B) TX bytes:280 (280.0 B) |
||
| + | </pre> |
||
| + | = kvm volume = |
||
| + | <pre> |
||
| + | root@sauron:~# pvcreate /dev/sda6 |
||
| + | Physical volume "/dev/sda6" successfully created |
||
| + | root@sauron:~# pvdisplay |
||
| + | "/dev/sda6" is a new physical volume of "226.66 GiB" |
||
| + | --- NEW Physical volume --- |
||
| + | PV Name /dev/sda6 |
||
| + | VG Name |
||
| + | PV Size 226.66 GiB |
||
| + | Allocatable NO |
||
| + | PE Size 0 |
||
| + | Total PE 0 |
||
| + | Free PE 0 |
||
| + | Allocated PE 0 |
||
| + | PV UUID E873tT-F3zW-rMM9-CJ4q-Lf6r-ZYEi-kZsojC |
||
| + | |||
| + | root@sauron:~# pvscan |
||
| + | PV /dev/sda6 lvm2 [226.66 GiB] |
||
| + | Total: 1 [226.66 GiB] / in use: 0 [0 ] / in no VG: 1 [226.66 GiB] |
||
| + | root@sauron:~# |
||
</pre> |
</pre> |
||
<hr> |
<hr> |
||
Revision as of 10:43, 15 June 2010
Bridge van de netwerkinterface
Na de aanpassing van de configuratie:
udell-kvm:~# /etc/init.d/networking restart udell-kvm:~# ifconfig
br0 Link encap:Ethernet HWaddr 00:1d:09:ce:71:43
inet addr:10.21.22.4 Bcast:10.21.22.31 Mask:255.255.255.224
inet6 addr: fe80::21d:9fe:fece:7143/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41761 errors:0 dropped:0 overruns:0 frame:0
TX packets:38081 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8146503 (7.7 MiB) TX bytes:37966761 (36.2 MiB)
eth0 Link encap:Ethernet HWaddr 00:1d:09:ce:71:43
inet6 addr: fe80::21d:9ff:febe:7143/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61041 errors:0 dropped:0 overruns:0 frame:0
TX packets:52944 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37905144 (36.1 MiB) TX bytes:39143902 (37.3 MiB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:280 (280.0 B) TX bytes:280 (280.0 B)
kvm volume
root@sauron:~# pvcreate /dev/sda6 Physical volume "/dev/sda6" successfully created root@sauron:~# pvdisplay "/dev/sda6" is a new physical volume of "226.66 GiB" --- NEW Physical volume --- PV Name /dev/sda6 VG Name PV Size 226.66 GiB Allocatable NO PE Size 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID E873tT-F3zW-rMM9-CJ4q-Lf6r-ZYEi-kZsojC root@sauron:~# pvscan PV /dev/sda6 lvm2 [226.66 GiB] Total: 1 [226.66 GiB] / in use: 0 [0 ] / in no VG: 1 [226.66 GiB] root@sauron:~#
Terug naar: KVM