disk_io doesn't work on LVM or dmraid devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: byobu
the disk_io script uses '/sys/block/
$ mount | grep 'on / '
/dev/mapper/
$ ls -l /dev/mapper/
lrwxrwxrwx 1 root root 7 2011-01-28 12:57 /dev/mapper/
$ls -l /dev/dm-2
brw-rw---- 1 root disk 252, 2 2011-01-28 12:57 /dev/dm-2
$ ls /sys/block/
dm-0 dm-2 loop1 loop3 loop5 loop7 ram1 ram11 ram13 ram15 ram3 ram5 ram7 ram9 sdb
dm-1 loop0 loop2 loop4 loop6 ram0 ram10 ram12 ram14 ram2 ram4 ram6 ram8 sda
so if I get this right the sed command in line 33 will set disk too "" and you get no disk_io output unless setting MONITORED_DISK to /dev/dm-2
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: byobu 3.26-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.37-12-generic i686
NonfreeKernelMo
Architecture: i386
Date: Fri Jan 28 13:46:06 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=
ScreenRC:
SourcePackage: byobu
Changed in byobu (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Pretty easy to solve, just needed a readlink in there ;-)
Thanks for the report.