linux救援系统的操作指令:
linux ...... rd.break console=tty0
Ctrl+x
switch_root:/ mount -o rw,remount /sysroot
switch_root:/ chroot /sysroot
sh-4.4# echo redhat | passwd --stdin root
sh-4.4# touch /.autorelabel
逻辑卷扩容 -r可自动扩容文件格式
扩展文件系统
xfs_growfs +挂载位置。是扩展xfs系统的格式
resize2fs+文件名,是扩展ext4的格式
swapoff 扩展交换空间的格式需要先停用交换空间。