Xfs_repair on mounted file system




















The utility is highly scalable and is tailored to scan and repair huge filesystems with several inodes with the highest possible efficiency. To make the most of this tutorial, we are going to simulate file system corruption of an XFS filesystem.

Our partition is now successfully mounted as an xfs partition. Next, corrupt the filesystem by running the command below to trash random filesystem metadata blocks.

But before we embark on repairing the filesystem, we can perform a dry run using the -n flag as shown. A dry run provides a peek into the actions that will be performed by the command when is it executed. From the output, we can see some metadata errors and inode inconsistencies. The command terminates with a brief summary of the steps the actual command would have carried out. XFS and JFS both are originally designed for the servers, so we can say that both are built for high work load.

XFS is very mature, stable and proven reliable. If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www. To become an author at LookLinux Submit Article. Stay connected to Facebook. I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

The documentation man umount itself says -l Lazy unmount. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.



0コメント

  • 1000 / 1000