Results 1 to 3 of 3

Thread: Meta data corruption - can't boot!

  1. #1

    Default Meta data corruption - can't boot!

    Hi,

    When I try to start my computer I get a message saying (among other things):

    systemd-fstab-generator: Failed to create mount unit file
    Welcome to emergency mode! After logging in, type "journalctl-xb" to view system logs... <snip: several other options>...
    After I type systemctl-default, I receive the following output:

    Error initializing authority: Could not connect: No such file or directory...
    XFS (sda3) Metadata corruption detectyed at _write_verify+0xda/0xf0 [xfs], block 0x8826a70
    XFS (sda3) Umount and run xfs_repair
    <snip>
    XFS (sda3) Corruption of in-memory data detecte. Shutting down filesystem
    XFS (sda3) Please umount the filesystem and rectify the problem(s).
    When I installed opensuse, I went with the recommended partition setup, that is my /home partition is using XFS, and / uses BTRFS.

    Any advice on how to proceed?
    (I don't know the commands for how to umount and run the xfs_repair, so much appreciated if you can "spell it out" or point me to where I can read more).

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,048

    Default Re: Meta data corruption - can't boot!

    On Tue, 22 Dec 2015 21:46:01 +0000, Brahma-Vihara wrote:

    > Hi,
    >
    > When I try to start my computer I get a message saying (among other
    > things):
    >
    >
    >> systemd-fstab-generator: Failed to create mount unit file Welcome to
    >> emergency mode! After logging in, type "journalctl-xb" to view system
    >> logs... <snip: several other options>...
    >>
    >>

    > After I type systemctl-default, I receive the following output:
    >
    >
    >> Error initializing authority: Could not connect: No such file or
    >> directory...
    >> XFS (sda3) Metadata corruption detectyed at _write_verify+0xda/0xf0
    >> [xfs], block 0x8826a70 XFS (sda3) Umount and run xfs_repair <snip>
    >> XFS (sda3) Corruption of in-memory data detecte. Shutting down
    >> filesystem XFS (sda3) Please umount the filesystem and rectify the
    >> problem(s).
    >>
    >>

    > When I installed opensuse, I went with the recommended partition setup,
    > that is my /home partition is using XFS, and / uses BTRFS.
    >
    > Any advice on how to proceed?
    > (I don't know the commands for how to umount and run the xfs_repair, so
    > much appreciated if you can "spell it out" or point me to where I can
    > read more).


    Code:
    umount /dev/sda3
    xfs_repair
    should be what you need to do.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3

    Thumbs up SOLVED: Re: Meta data corruption - can't boot!

    Quote Originally Posted by hendersj View Post
    On Tue, 22 Dec 2015 21:46:01 +0000, Brahma-Vihara wrote:

    > Hi,
    >
    > When I try to start my computer I get a message saying (among other
    > things):
    >
    >
    >> systemd-fstab-generator: Failed to create mount unit file Welcome to
    >> emergency mode! After logging in, type "journalctl-xb" to view system
    >> logs... <snip: several other options>...
    >> <snip>

    Code:
    umount /dev/sda3
    xfs_repair
    should be what you need to do.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

    Thanks Jim, problem solved

    If it might be of any help for others, here is what I did.

    umount /dev/sda3 --> I got me a message saying that it wasn't mounted.
    xfs_repair --> I got a list of options to use.
    xfs_repair -v /dev/sda3 --> the -v option = verbose output from scan. The output said that if I couldn't mount the filesystem, I should delete the metadata in the log file.
    xfs_repair -L /dev/sda3 --> I deleted the log file by using the -L option.
    xfs_repair /dev/sda3 --> repaired the metadata.

    After that I rebooted.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •