After expanding a Logical Volume (/dev/vg_web/lv_root) using lvextend, what command should typically be run next for an ext4 filesystem to utilize the new space while it is mounted? 在使用 lvextend 擴充了邏輯卷軸 /dev/vg_web/lv_root 之後,若該檔案系統為 ext4 且處於掛載狀態,通常應接著執行下列哪個指令來讓檔案系統使用新增加的空間?
Try the interactive quiz above, or study the options and notes below.
Answer choices
Learning notes
resize2fs resizes an ext2/ext3/ext4 file system online or offline. resize2fs 可在線上或離線調整 ext 檔案系統的大小以配合擴充後的 LV vgreduce removes a PV from a VG. vgreduce 是用來從 VG 中移除 PV 的指令 xfs_growfs is used for XFS filesystems, not ext4. xfs_growfs 用於 XFS 檔案系統而非 ext4