3

How do I disable journaling on xfs file system. I tried tune2fs to disable, it didnt help.

Does xfs has different tools/procedure to do so ?

tune2fs -o journal_data_writeback  /dev/mapper/fedora00-root
Chucks
  • 501
  • 1
  • 7
  • 13
  • 5
    XFS is a journal filesystem, I don't think you can disable this feature. Anyway why would you want to do this. – mdpc Aug 18 '14 at 19:16

1 Answers1

3

tune2fs is management tool for the EXT2, EXT3 and EXT4 file systems, not for the XFS filesystem.

Second XFS is, as @mdpc mentioned, designed as a journaled filesystem and you can't disable journaling, although some of the journal paramaters are tuneable and you can choose to use an external device as the place for the journal (i.e. a fast SSD) instead of the internal one to improve performance by using a separate IO path.

Chack the manual pages for mkfs.xfs, xfs, xfs_admin and xfs_db to name a few.

mdpc
  • 11,698
  • 28
  • 51
  • 65
HBruijn
  • 72,524
  • 21
  • 127
  • 192
  • You should hope that the tune2fs execution did not write something to the XFS filesystem that corrupted it! – mdpc Aug 18 '14 at 21:27