New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 716646 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

image: test image on USB full out the box

Project Member Reported by gwendal@chromium.org, Apr 28 2017

Issue description

Install chell image on USB:
cros flash --debug --disable-rootfs-verification usb:////dev/sdg xbuddy://remote/veyron_minnie/latest-dev/test

The stateful partition is full at boot, 10MB available.
/dev/sda1                 1192808 1165832     10592 100% /home

As soon as we leave the machine running on the USB stick, logs in /var will eat that space in no time, leading to error in /dev/loop1, where the encstateful is mounted.

We need to change the partition layout to increase the stateful partition size on USB stick (legacy_disk_layout.json): 1216MB is not enough.

May be related with chromium:693189
 

Comment 1 by rajatja@google.com, Apr 29 2017

Here are the logs seen on Fizz. Errors start happening shortly after booting.

[ 1204.841127] blk_update_request: I/O error, dev loop0, sector 535744
[ 1204.848138] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 144 (offset 0 size 4096 starting block 66968)
[ 1204.861858] Buffer I/O error on device dm-1, logical block 66968
[ 1204.868585] loop: Write error at byte offset 274305024, length 4096.
[ 1204.875692] blk_update_request: I/O error, dev loop0, sector 535752
[ 1204.882701] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 145 (offset 0 size 4096 starting block 66969)
[ 1204.896424] Buffer I/O error on device dm-1, logical block 66969
[ 1204.903196] loop: Write error at byte offset 274309120, length 4096.
[ 1204.910302] blk_update_request: I/O error, dev loop0, sector 535760
[ 1204.917301] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 138 (offset 0 size 4096 starting block 66970)
[ 1204.931011] Buffer I/O error on device dm-1, logical block 66970
[ 1204.937729] loop: Write error at byte offset 274313216, length 4096.
[ 1204.944833] blk_update_request: I/O error, dev loop0, sector 535768
[ 1204.951832] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 144 (offset 0 size 4096 starting block 66971)
[ 1204.965544] Buffer I/O error on device dm-1, logical block 66971
[ 1204.972266] loop: Write error at byte offset 274317312, length 4096.
[ 1204.979361] blk_update_request: I/O error, dev loop0, sector 535776
[ 1204.986371] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 140 (offset 0 size 4096 starting block 66972)
[ 1205.000086] Buffer I/O error on device dm-1, logical block 66972
[ 1205.006806] loop: Write error at byte offset 274321408, length 4096.
[ 1205.013910] blk_update_request: I/O error, dev loop0, sector 535784
[ 1205.020917] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 151 (offset 0 size 4096 starting block 66973)
[ 1205.034622] Buffer I/O error on device dm-1, logical block 66973
[ 1205.041343] loop: Write error at byte offset 274325504, length 4096.
[ 1205.048447] blk_update_request: I/O error, dev loop0, sector 535792
[ 1205.055460] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 147 (offset 0 size 4096 starting block 66974)
[ 1205.069165] Buffer I/O error on device dm-1, logical block 66974
[ 1205.075887] loop: Write error at byte offset 274329600, length 4096.
[ 1205.082981] blk_update_request: I/O error, dev loop0, sector 535800
[ 1205.090002] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 152 (offset 0 size 4096 starting block 66975)
[ 1205.103706] Buffer I/O error on device dm-1, logical block 66975


localhost home # df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/root                1.7G  1.6G  121M  94% /
devtmpfs                 1.9G     0  1.9G   0% /dev
tmp                      1.9G  112K  1.9G   1% /tmp
run                      1.9G  484K  1.9G   1% /run
shmfs                    1.9G  1.0M  1.9G   1% /dev/shm
/dev/sdb1                1.2G  1.2G     0 100% /home
/dev/sdb8                 12M   28K   12M   1% /usr/share/oem
/dev/mapper/encstateful  340M  336M  4.6M  99% /var
media                    1.9G     0  1.9G   0% /media
none                     1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/loop1               445M  445M     0 100% /opt/google/containers/android/rootfs/root
/dev/loop2                49M   49M     0 100% /opt/google/containers/android/rootfs/root/vendor
/dev/loop3               4.0K  4.0K     0 100% /opt/google/containers/arc-removable-media/mountpoints/container-root
/dev/loop4               4.0K  4.0K     0 100% /opt/google/containers/arc-sdcard/mountpoints/container-root
/dev/loop5               4.0K  4.0K     0 100% /opt/google/containers/arc-obb-mounter/mountpoints/container-root
localhost home # 

/mnt/stateful_partition/dev_image/telemetry/src/third_party/catapult/tracing
localhost tracing # 
localhost tracing # du -sh test_data/
233M    test_data/
localhost tracing # 

Sign in to add a comment