Sorry, don't you want me to perform the repair and then try the restore again?
If I use -n seems like that wouldn't actually repair the volume?
On Dec 21, 2012, at 12:12 PM, Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx> wrote:
> On 12/21/2012 9:32 AM, Jeffrey Ellis wrote:
>> xfs_repair /dev/sda2
>> xfs_repair: /dev/sda2 contains a mounted filesystem
>> xfs_repair /dev/sda3
>> xfs_repair: cannot open /dev/sda3: Device or resource busy
> ~$ man xfs_repair
> ... the filesystem to be repaired must be unmounted ...
> Note the "-r" option and the "-n" option. The former specifies the
> realtime device (partition) and the latter allows you to do a non
> destructive repair, i.e. a "check", on a mounted filesystem. Probably a
> good idea at this point.
> So you might try something like:
> ~$ xfs_repair -n -r /dev/sda2 /dev/sda3
> xfs mailing list