xfs
[Top] [All Lists]

Bug#694624: /usr/sbin/xfs_freeze: freezes under lying (root)

To: Pat Emblen <support@xxxxxxxxxxxxxxxx>, 694624@xxxxxxxxxxxxxxx
Subject: Bug#694624: /usr/sbin/xfs_freeze: freezes under lying (root)
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 4 Dec 2012 13:15:11 +1100
In-reply-to: <50BD3B94.4070505@xxxxxxxxxxxxxxxx>
References: <50BD3B94.4070505@xxxxxxxxxxxxxxxx>
Reply-to: Dave Chinner <david@xxxxxxxxxxxxx>, 694624@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Tue, 04 Dec 2012 02:18:02 +0000
Resent-from: Dave Chinner <david@xxxxxxxxxxxxx>
Resent-message-id: <handler.694624.B694624.13545873234143@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Dec 04, 2012 at 10:53:56AM +1100, Pat Emblen wrote:
> > If you are running scripts remotely and they don't handle errors
> > properly, then that's your problem....
> 
> OK, can you then fix the man page to describe the real behaviour of the
> program so that users have a chance to intelligently decide what error
> checking to do in their scripts.
>
> I.E the argument isn't a mount point, it's a path,

Patches to fix the documentation are welcome...

> and perhaps use
> 'filesystem' rather than 'xfs' consistently.

>From the man page:

    In  Linux  kernel  version  2.6.29,  the interface which XFS
    uses to freeze and unfreeze was elevated to the VFS, so that
    this tool can now be used on many other Linux filesystems.


> > If you can't unfreeze the root filesystem by running xfs-freeze -u
> > immediately afterwards then that's a filesystem bug, not a problem
> > with the userspace command.
> 
> It may also be a good idea to point out in the man page that you should be
> extremely careful running this if you are not logged in
> interactively, even a
> disconnected ssh session will prevent you running xfs_freeze -u to manually
> unfreeze the root filesystem.

Sure. Patches are welcome. ;)

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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