Re: Questions about XFS

Ben Myers
2013-06-11T20:08:14Z

Hey Steve,

On Tue, Jun 11, 2013 at 02:55:09PM -0500, Steve Bergman wrote:
> I'm setting up a new server right now, and I'm breaking it up into a
> number of different LV's for flexibility. I've gone through a number
> of possibilities, and I think it's going to look something like this:
>
> / - Ext4
> /root - Ext4
> /home - Ext4
> /var - Ext4
> /usr/local - Ext4
> /usr/local/worktmp - XFS (Very intensive & time-consuming random
> writes, here. But all files are temporary work files. XFS is
> performing well here in my testing.)

Good.

> /usr/local/data - Ext3 (Cobol doesn't know about fsync. I need
> pony-magic in this LV.)

You might be better served (with whatever filesystem you are using) by
looking into whether you can teach cobol about fsync. I've never worked
with cobol so I don't know if it can be done. Based upon a quick web
search I suspect that it may be possible.

> Backup on the /usr/local/worktmp is not critical, due to its nature.
> But can't I just lvm2-snapshot an XFS LV and rsync that to USB drive
> like I do everything else?

Snapshot and rsync should work fine with xfs.

Regards,
Ben