大佬教程收集整理的这篇文章主要介绍了lvm – 为什么不运行xfs_check?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
如果我启动到单用户模式并确保已卸载卷,则每次尝试运行xfs_check时仍会收到以下内容:
$sudo xfs_check /dev/mapper/vg0-bigthree xfs_check: /dev/mapper/vg0-bigthree contains a mounted and writable filesystem @R_403_795@ -- Couldn't initialize XFS library
为了彻底,我开始尝试运行
$sudo fsck.xfs /dev/mapper/vg0-bigthree If you wish to check the consistency of an XFS filesystem or repair a damaged filesystem,see xfs_check(8) and xfs_repair(8).
在转向xfs_check之前.
另外,我可以确认在mount的输出或卷的设备或挂载点的/ etc / mtab中没有出现.
[root@openfiler ~]# xfs_check /dev/BACkup2/BACkup2 xfs_check: /dev/BACkup2/BACkup2 contains a mounted and writable filesystem @R_403_795@ -- Couldn't initialize XFS library [root@openfiler ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc2 35775912 804200 33125044 3% / /dev/sdc1 101086 14410 81457 16% /boot tmpfs 512440 0 512440 0% /dev/shm [root@openfiler ~]# cat /etc/mtab /dev/sdc2 / ext3 rw 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 /dev/sdc1 /boot ext3 rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/rpc_pipefs rpc_pipefs rw 0 0 automount(pid2644) /misc autofs rw,fd=4,pgrp=2644,minproto=2,maxproto=4 0 0 automount(pid2681) /net autofs rw,pgrp=2681,maxproto=4 0 0 nfsd /proc/fs/nfsd nfsd rw 0 0 [root@openfiler ~]# service autofs stop Stopping automount: [ OK ] [root@openfiler ~]# cat /etc/mtab /dev/sdc2 / ext3 rw 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 devpts /dev/pts devpts rw,mode=620 0 0 /dev/sdc1 /boot ext3 rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/rpc_pipefs rpc_pipefs rw 0 0 nfsd /proc/fs/nfsd nfsd rw 0 0 [root@openfiler ~]# service nfs stop ShutTing down NFS mountd: [ OK ] ShutTing down NFS daemon: [ OK ] ShutTing down NFS services: [ OK ] [root@openfiler ~]# cat /etc/mtab /dev/sdc2 / ext3 rw 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 devpts /dev/pts devpts rw,mode=620 0 0 /dev/sdc1 /boot ext3 rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/rpc_pipefs rpc_pipefs rw 0 0 nfsd /proc/fs/nfsd nfsd rw 0 0 [root@openfiler ~]# xfs_check /dev/BACkup2/BACkup2
以上是大佬教程为你收集整理的lvm – 为什么不运行xfs_check?全部内容,希望文章能够帮你解决lvm – 为什么不运行xfs_check?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。