LVM lvresize could not understand resize filesystem option
Hi community, I'm using RHEL lastest v9.3 for LVM practice. My logical volume have 15GB and volume group still free 15GB. I want to resize logical volume but lvresize/lvextend didn't understand resizefs option. May I make mistake?
[root@huyvl-linux-training ~]# lvresize -r --extents +100%FREE /dev/vg_database/lv_mysql File system not found for --resizefs or --fs options. [root@huyvl-linux-training ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lv_mysql vg_database -wi-ao---- 15.00g [root@huyvl-linux-training ~]# vgs VG #PV #LV #SN Attr VSize VFree vg_database 2 1 0 wz--n- 29.99g 15.00g [root@huyvl-linux-training ~]# lvresize -r --extents +100%FREE /dev/vg_database/lv_mysql File system not found for --resizefs or --fs options. [root@huyvl-linux-training ~]# [root@huyvl-linux-training ~]# lvextend -r --size +3G /dev/vg_database/lv_mysql File system not found for --resizefs or --fs options.
p/s: I lab in RHLS training environment with RHEL 9.0 so that succeed.
Responses