New issue
Advanced search Search tips

Issue 809847 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

crosvm: btrfs corruption when running apt

Project Member Reported by smbar...@chromium.org, Feb 7 2018

Issue description

1) Start tatl image with qcow2 stateful disk.
2) Connect with vsh, create a debian container
3) In the debian container, apt update && apt install gnome-mahjongg
4) ???
5) apt bails out as filesystem is remounted RO

Log attached.
 
btrfs_corruption.log
85.9 KB View Download
Project Member

Comment 1 by bugdroid1@chromium.org, Feb 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosvm/+/72dd367aa850a505b95744635692419cd1433932

commit 72dd367aa850a505b95744635692419cd1433932
Author: Dylan Reid <dgreid@chromium.org>
Date: Tue Feb 13 06:42:42 2018

qcow: Calculate correct refcount table size and zero it

The reference count table must be continuous in the file, not
preallocating it when creating a file causes errors when setting
reference counts for new blocks later.

BUG= 809847 
TEST=Replay formatting and downloading container events.
Add unit test that catches error with default files.

Change-Id: I08840958a1180a73f32f42d520517bcf88a158b0
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/909915

[modify] https://crrev.com/72dd367aa850a505b95744635692419cd1433932/qcow/src/qcow.rs

Components: OS>Systems>Containers

Comment 3 by dgreid@google.com, Feb 15 2018

Status: Fixed (was: Untriaged)

Sign in to add a comment