is checked by the dump(ext2/3 filesystem backup) utility. This field is usually set to 0, which disables the check. / sets the order for filesystem checks at boot time; see fsck(8). 1 for the root device, 2 for other partitions, 0 to disable checking. [Arch] If the root file system is btrfs, set to 0 instead of 1.
LVM
pvdisplay -v -m
Wiping internal VG cache
Wiping cache of LVM-capable devices
--- Physical volume ---
PV Name /dev/sde1
VG Name wd500-vg
PV Size <422.53 GiB / not usable 0
Allocatable yes
PE Size 4.00 MiB
Total PE 108167
Free PE 5523
Allocated PE 102644
PV UUID nPoenO-vin9-wkZF-4Dxh-5WT2-yU3f-EtAMs5
--- Physical Segments ---
Physical extent 0 to 5522:
FREE
Physical extent 5523 to 95122:
Logical volume /dev/wd500-vg/data
Logical extents 0 to 89599
Physical extent 95123 to 95366:
Logical volume /dev/wd500-vg/swap_1
Logical extents 0 to 243
Physical extent 95367 to 108166:
Logical volume /dev/wd500-vg/data
Logical extents 89600 to 102399
create vg+lv & format & mount:
vgcreate vg-name /dev/sdc3
lvcreate -L 80G wd500-vg -n data
mkfs.btrfs /dev/mapper/wd500--vg-data
mount /dev/mapper/wd500--vg-data /data2
echo $(cat /proc/mounts | tail -n 1) >> /etc/fstab ; ls /etc/fstab ;
pvcreate /dev/sdb # delete all partitions first
vgextend ubuntu-vg /dev/sdb
Remove disk from vg: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/logical_volume_manager_administration/disk_remove_ex
pvmove /dev/sdb1
vgreduce myvg /dev/sdb1
lv operations
lvremove sandisk-u2/mint
Resize fs
PV thrink: gparted
lvresize -L +20G /dev/debian9-vg/root # -r, --resizefs
resize2fs /dev/dlvebian9-vg/root
yum install e4fsprogs
resize4fs /dev/debian9-vg/root # resize ext4 if resize2fs error: Filesystem has unsupported feature(s)
lvextend --resize-fs --extents +100%FREE vg/lv # not support btrfs