Virtualization with a Fedora 13 Host

After a few years of having a old Proliant ML370 Server with a Pentium III i decide to go with a AMD Athlon DualCore and install KVM for having some virtual Servers.

But there where some problems, as usual.

[root@cetus ~]# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 8
model name    : Pentium III (Coppermine)
stepping    : 6
cpu MHz        : 997.345
cache size    : 256 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips    : 1996.56

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 8
model name    : Pentium III (Coppermine)
stepping    : 6
cpu MHz        : 997.345
cache size    : 256 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips    : 1993.38

[root@cetus ~]#

As always I start with a Howto from Howtoforge.com, really no Problem straight forward. I decide to go with btrfs instead of ext4 for my OS Filesystem and with xfs for my Data Filesystem.

After the Installation i begun to copy my data over, but in the morning the process stuck, checking the RAID Controller logs see that one Disk is brocken. Also after calling the Support I learnd that my Firmeware from the new WD 2 TB Disk is broken and need update !

[root@enif ~]# tw_cli /c6 show alarms

Ctl  Date                        Severity  AEN Message
——————————

————————————————
c6   [Mon Jul 05 2010 00:08:09]  ERROR     Verify failed: unit=1
c6   [Mon Jul 05 2010 00:08:09]  INFO      Verify paused: unit=1
c6   [Mon Jul 05 2010 00:53:48]  WARNING   Drive removed: phy=1
c6   [Mon Jul 05 2010 00:53:48]  ERROR     Degraded unit: unit=1, vport=1
c6   [Mon Jul 05 2010 00:56:06]  WARNING   Drive removed: phy=0
c6   [Mon Jul 05 2010 00:56:46]  ERROR     Unit inoperable: unit=1
c6   [Mon Jul 05 2010 00:56:46]  INFO      Cache synchronization
completed: unit=0
c6   [Mon Jul 05 2010 00:56:46]  WARNING   Cache synchronization skipped: unit=1
c6   [Mon Jul 05 2010 00:56:47]  WARNING   Cache synchronization skipped: unit=1
c6   [Mon Jul 05 2010 00:57:05]  ERROR     Unit inoperable: unit=1
c6   [Mon Jul 05 2010 01:00:17]  WARNING   Buffer ECC error corrected:
address=0xDFE0220
c6   [Mon Jul 05 2010 01:00:17]  WARNING   Buffer ECC error corrected:
address=0xDFE0220
c6   [Mon Jul 05 2010 01:00:17]  INFO      Cache synchronization
completed: unit=0
c6   [Mon Jul 05 2010 01:00:17]  WARNING   Cache synchronization skipped: unit=1
c6   [Mon Jul 05 2010 01:00:17]  WARNING   Cache synchronization skipped: unit=1
c6   [Mon Jul 05 2010 01:00:36]  ERROR     Unit inoperable: unit=1
c6   [Mon Jul 05 2010 01:13:59]  WARNING   Buffer ECC error corrected:
address=0xDFE0220
c6   [Mon Jul 05 2010 01:13:59]  WARNING   Buffer ECC error corrected:
address=0xDFE0220
c6   [Mon Jul 05 2010 01:13:59]  INFO      Cache synchronization
completed: unit=0
c6   [Mon Jul 05 2010 01:13:59]  INFO      Cache synchronization
completed: unit=1
c6   [Mon Jul 05 2010 01:15:47]  INFO      Rebuild started: unit=1
c6   [Mon Jul 05 2010 01:28:53]  ERROR     Drive error detected: phy=0, unit=1
c6   [Mon Jul 05 2010 01:28:53]  ERROR     Source drive error
occurred: phy=0, unit=1
c6   [Mon Jul 05 2010 01:28:53]  ERROR     Rebuild failed: unit=1
c6   [Mon Jul 05 2010 01:28:58]  INFO      Rebuild paused: unit=1

So I send my Disk back and repair the xfs with xfsrepair -L /dev/? and restart the copy process. Unfortunately at the next morning the copy process stop again with lot of btrfs bad sector messages at the host console!

Jul 5 00:57:08 enif kernel: sd 6:0:1:0: [sdb] Device not ready
Jul 5 00:57:08 enif kernel: sd 6:0:1:0: [sdb] Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
Jul 5 00:57:08 enif kernel: sd 6:0:1:0: [sdb] Sense Key : Not Ready [current]
Jul 5 00:57:08 enif kernel: sd 6:0:1:0: [sdb] Add. Sense: Logical unit not
ready, cause not reportable
Jul 5 00:57:08 enif kernel: sd 6:0:1:0: [sdb] CDB: Write(10): 2a 00 3e 86 31
ff 00 00 18 00
Jul 5 00:57:08 enif kernel: end_request: I/O error, dev sdb, sector 1048982015

At the End I’m reinstalling the complete Server and try to fix the btrfs Filesystem but nothing is left:

[root@enif ~]# btrfsck  /dev/mapper/vg_local-lv_virt
Segmentation fault
[root@enif ~]#

So I lost my complete Virtual Servers –> Not Ready to use!

Fedora 13 KVM Howto:

http://www.howtoforge.com/virtualization-with-kvm-on-a-fedora-13-server

Fedora 13 Virtualization Documentation:

http://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/index.html

libvirt Caching:

http://wiki.libvirt.org/page/UbuntuKVMWalkthrough

Btrfs problem:

https://bugzilla.redhat.com/show_bug.cgi?id=612036

Leave a Comment

Your email address will not be published. Required fields are marked *