xfs
[Top] [All Lists]

Re: xfsdump INTERRUPT issue

To: Jeffrey Ellis <jellis@xxxxxxxx>
Subject: Re: xfsdump INTERRUPT issue
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Fri, 21 Dec 2012 11:12:57 -0600
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <FBB37644-0ED3-446B-BAAA-92E1389BB9DC@xxxxxxxx>
References: <50D2A038.2040501@xxxxxxxxxxxxxxxxx> <CCF8A128.B0C13%jellis@xxxxxxxx> <20121221032026.GD15182@dastard> <FBB37644-0ED3-446B-BAAA-92E1389BB9DC@xxxxxxxx>
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0
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

-- 
Stan

<Prev in Thread] Current Thread [Next in Thread>