Austin Murphy on 28 Jan 2011 09:04:45 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Ninja repair of a XFS volume


>>> The normal move would be to restart the system in single user, or using a
>>> live cd, and run a xfs_repair on /dev/sda.
>>
>> Well, the key is to not have sda mounted.  If that is your root
>> partition, then a liveCD/etc may be your only option.  Or, if you can
>> get your virtual hosting provider to send you a disk image and take a
>> fixed one back you can easily fix it with a loopback device/etc.

from the xfs_repair man page:

       -d     Repair dangerously. Allow xfs_repair to repair an XFS
filesystem mounted read only.  This  is  typically
              done on a root fileystem from single user mode,
immediately followed by a reboot.

If you have no other option, this seems worth a try.

Austin
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug