# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root rhel -wi-ao---- <17.00g
swap rhel -wi-ao---- 2.00g
lv_data VG01 -wi-ao---- <2.00g
# lvremove -t /dev/mapper/VG01-lv_data
TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated.
Do you really want to remove active logical volume VG01/lv_data? [y/n]: y
Logical volume "lv_data" successfully removed.
# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root rhel -wi-ao---- <17.00g
swap rhel -wi-ao---- 2.00g
lv_data VG01 -wi-ao---- <2.00g
「-v」「–verbose」オプション (詳細メッセージを表示する)
# lvremove -v /dev/mapper/VG01-lv_data
Do you really want to remove active logical volume VG01/lv_data? [y/n]: n
Accepted input: [n]
Logical volume VG01/lv_data not removed.