Xen

Share/Save

xenconsole: Could not read tty from store: No such file or directory

xen の console につなぐときに、このエラーメッセージが出るときは、
xenconsole: Could not read tty from store: No such file or directory

xenconsoled を立ち上げればよい。 でも、何故落ちたのだろう??? そっちの方が気になる。

参考
xenconsole: Could not read tty from store: No such file or directoryでハマりました
http://d.hatena.ne.jp/kgbu/20080523/1211555660

in

Xen の domainU のディスクを動的に増設する

1. ディスクイメージを2つ作成する。1つでも良いが、せっかくなので2個。

[root@st1 xen]# dd if=/dev/zero of=centos5_demo_1 bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 57.3006 seconds, 75.0 MB/s
[root@st1 xen]# dd if=/dev/zero of=centos5_demo_2 bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 65.3232 seconds, 65.7 MB/s

2. domainU に attach する。domainU は動かしたままで良い。

[root@st1 xen]# xm block-attach demo <a href="//var/xen/centos5_demo_1" title="//var/xen/centos5_demo_1">file://var/xen/centos5_demo_1</a> /dev/xvda3 w

in
Syndicate content