试图将现有逻辑卷扩展到大于16TiB的大小并调整其上的ext3文件系统的大小时,遇到了以下错误消息:
[root@shizhanxia.com ]# resize2fs /dev/testvg/testlv resize2fs 1.43.8 (1-Jan-2018) resize2fs: New size too large to be expressed in 32 bits
此时,通过lvdisplay查看逻辑卷大小显示为17TB。
[root@shizhanxia.com ]# lvdisplay -m /dev/testvg/testlv --- Logical volume --- LV Path /dev/testvg/testlv LV Name testlv VG Name testvg LV UUID qzUm4T-hZLy-TMF1-YkgN-YMPs-puB7-YcrboX LV Write Access read/write LV Creation host, time shizhanxia.com, 2023-02-03 07:12:55 +0000 LV Status available # open 1 LV Size 17.00 TiB Current LE 4456448 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 1024 Block device 254:0 --- Segments --- Logical extents 0 to 4456447: Type striped Stripes 2 Stripe size 64.00 KiB Stripe 0: Physical volume /dev/nvme3n1 Physical extents 0 to 2228223 Stripe 1: Physical volume /dev/nvme4n1 Physical extents 0 to 2228223
解决方案
原创文章,作者:保哥,如若转载,请注明出处:https://www.shizhanxia.com/1094.html