Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 537334 - O/S Filesystem Corruption with RHEL-5.4 on a RHEV Guest
O/S Filesystem Corruption with RHEL-5.4 on a RHEV Guest
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
5.4
All Linux
urgent Severity high
: rc
: ---
Assigned To: Eduardo Habkost
Virtualization Bugs
: ZStream
Depends On: 531827
Blocks: 518493
  Show dependency treegraph
 
Reported: 2009-11-13 03:29 EST by RHEL Product and Program Management
Modified: 2016-04-26 10:51 EDT (History)
13 users (show)

See Also:
Fixed In Version: kvm-83-105.el5_4.12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-09 11:28:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1659 normal SHIPPED_LIVE Moderate: kvm security and bug fix update 2009-12-09 11:28:49 EST

  None (edit)
Description RHEL Product and Program Management 2009-11-13 03:29:55 EST
This bug has been copied from bug #531827 and has been proposed
to be backported to 5.4 z-stream (EUS).
Comment 7 Miya Chen 2009-11-30 02:23:20 EST
Test with kvm-83-105.el5_4.12 , Problem seems still exist.

Step:
1. create a local nfs server in host, then
mount localhost:/root/test-nfs /mnt -o rw,soft,timeo=1,retrans=0

2. start guest:
/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -cpu qemu64,+sse2 -drive file=/mnt/RHEL-Server-5.4-64-virtio.qcow2,if=virtio,boot=on,format=qcow2,cache=off -smp 2 -m 2G -vnc :1 -net nic,macaddr=20:20:20:11:12:56,model=virtio,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -monitor stdio


3. in guest:
cd /

4. in host:
service nfs stop

5. In host dmesg:
nfs: server localhost not responding, timed out

6. In qemu monitor
(qemu)info status
VM status: running


7. in host:
service nfs start



Actual result:
Guest keeps running.
guest dmesg:
ext3_abort called.
EXT3-fs error (device vdb1): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
Comment 8 Gleb Natapov 2009-11-30 02:28:28 EST
I don't see where you actually told qemu to stop on error. werror=stop is missing from -drive.
Comment 9 Miya Chen 2009-11-30 22:30:08 EST
Test with werror=stop in build kvm-83-105.el5_4.12 again, VM can stop on read errors.

steps:
Step:
1. create a local nfs server in host, then
mount localhost:/root/test-nfs /mnt -o rw,soft,timeo=1,retrans=0
cd /mnt
qemu-img create test-533390.qcow2 -f qcow2 10G


2. start guest:
/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -cpu qemu64,+sse2 -drive file=RHEL-Server-5.4-64-virtio.qcow2,if=virtio,boot=on,format=qcow2,cache=off,werror=stop -smp 2 -m 2G -vnc :1 -net nic,macaddr=20:20:20:11:12:56,model=virtio,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -monitor stdio -drive file=/mnt/test-533390.qcow2,if=virtio,format=qcow2,cache=off,werror=stop


3. in guest:
fdisk /dev/vdb
mkfs.ext3 /dev/vdb1
dd if=/dev/vdb1 of=/dev/null


4. in host:
service nfs stop

5. In host dmesg:
nfs: server localhost not responding, timed out


Result:
In qemu monitor
(qemu)info status
VM status: paused
Comment 10 Miya Chen 2009-12-01 01:00:54 EST
additional info:
after VM paused, it can be restored by inputting "c" in qemu monitor, and works fine.

steps:
1. in host:
service nfs start
2. In qemu monitor
(qemu)c
Comment 13 errata-xmlrpc 2009-12-09 11:28:58 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1659.html

Note You need to log in before you can comment on or make changes to this bug.