Bug#694624: /usr/sbin/xfs_freeze: freezes under lying (root)
Quoted 2 lines
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, and perhaps use 'filesystem' rather than 'xfs' consistently.
Quoted 3 lines
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.
Thanks
Pat Emblen
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 8 lines · Pat Emblen
Quoted 2 lines
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...
Quoted 4 lines
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.
Quoted 9 lines
Quoted 3 lines
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 runningxfs_freeze-u to manually unfreeze the root filesystem.
Sure. Patches are welcome. ;)
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs