大网数据广告活动
服务器运维问答

A new logical volume appearing after reducing the size of another

· 52CE 我爱测

I was following these instructions to remove one disk from a 3-disk logical volume, and at some point a new logical volume appeared: ls /dev/mapper control ubuntu--vg-root ubuntu--vg-swap_1 vgdata-lvdata vgdata-pvmove0 The last o…

问题原文

原帖链接 · Cindy Almighty · CC BY-SA 4.0

I was following these instructions to remove one disk from a 3-disk logical volume, and at some point a new logical volume appeared:

ls /dev/mapper control ubuntu--vg-root ubuntu--vg-swap_1 vgdata-lvdata vgdata-pvmove0

The last one appeared after reducing the size of vgdata-lvdata. Why is that? I cannot see it anywhere when running lvdisplay. Is it related to the pvmove command I ran? Is this a problem?

已采纳解答

原帖链接 · John Mahowald · CC BY-SA 4.0

Is it related to the pvmove command I ran?

Yes. pvmove LVs are temporary, and managed by pvmove. LVM tools try to hide them. That device mapper reference is harder to hide, other things use dm in addition to LVM.

Moves can take a long time to complete. Check for any running pvmove process doing I/O. Run pvmove with no arguments to resume any stopped move. If pvmove finishes without error, consider the process successful. Any stray pvmove mapper devices are not a concern. They should go away at the next regularly scheduled reboot, at the latest.

After the move completes, vgreduce should exclude this PV from the VG without complaint.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-12-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。