วันพฤหัสบดีที่ 10 สิงหาคม พ.ศ. 2566

วันอาทิตย์ที่ 6 สิงหาคม พ.ศ. 2566

Checking the Health of a Storage Device in Linux

 https://www.baeldung.com/linux/storage-device-check-health

dnf install  e2fsprogs


 badblocks -sv /dev/sdd1


Checking blocks 0 to 15247359
Checking for bad blocks (read-only test):   0.00% done, 0:00 elapsed. (0/0/0 err  0.53% done, 0:04 ela    0.81% done, 0:  1.08% done, 0:08 elapse  1.22% done, 0:09 done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)


mount: unknown filesystem type ‘LVM2_member’.

 https://serverok.in/mount-unknown-filesystem-type-lvm2_member


https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Mount-mount-dev-mapper-vg00-lvol1-on-mnt-StorageMedia-failed-Structure-needs-cleaning-error-when-trying-to-mount-storage-in-Flame.html


https://www.linuxsysadmins.com/resize-root-lvm-partition-in-linux/


https://www.linuxsysadmins.com/resize-root-lvm-partition-in-linux/


https://linuxhint.com/xfs-repair/#post-276244-_sx44t3s3ishr


************************* Linux Emergency Mode Error RHEL/CentOS

https://www.youtube.com/watch?v=mnZ3YUnKzDU

https://systemzone.net/lvm-management-in-centos-red-hat-7-linux/



 




Activating Volume Group


# vgchange -ay


Check for file System error


# e2fsck -ff /dev/mapper/rhel-root


xfs_repair -L  /dev/mapper/centos-root