我对在CentOS 上监控每个文件的磁盘 IO 的实用程序或进程感兴趣。
在 Win2008 上,resmon实用程序允许这种类型的向下钻取,但我发现的 Linux 实用程序都没有这样做(iostat、iotop、dstat、nmon)。
我对监控数据库服务器上的 IO 瓶颈感兴趣。使用 MSSQL,我发现它是一种信息丰富的诊断方法,可以了解哪些文件/文件空间受到的打击最严重。
尝试在 CentOS 7 上添加磁盘以镜像 LVM 卷总是失败,并显示“可用空间不足:需要 1 个范围,但只有 0 个可用”。寻找解决方案后,我尝试指定磁盘、多个日志记录选项、添加第三个日志分区,但没有找到解决方案
不确定我是否犯了菜鸟错误,或者有一些更微妙的错误(我更熟悉 ZFS,刚开始使用 LVM):
# lvconvert -m1 centos_bi/home
Insufficient free space: 1 extents needed, but only 0 available
# lvconvert -m1 --corelog centos_bi/home
Insufficient free space: 1 extents needed, but only 0 available
# lvconvert -m1 --corelog --alloc anywhere centos_bi/home
Insufficient free space: 1 extents needed, but only 0 available
# lvconvert -m1 --mirrorlog mirrored --alloc anywhere centos_bi/home /dev/sda2
Insufficient free space: 1 extents needed, but only 0 available
# lvconvert …Run Code Online (Sandbox Code Playgroud)