ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Formatting disks post-install

Before using your disk partition you will need to format it with a filesystem. The common file systems under ClearOS are:

  • EXT3/4
  • XFS
  • BTRFS

Different partition types have their own strengths and weaknesses. With a partition in place you can place a filesystem on the drive.

EXT4

EXT is a common filesystem that has been around. When EXT version 3 came out, journaling was added and that increased reliability for operating system use. EXT2 is still used for some flash devices since journal activities require more writes.

mkfs.ext4 /dev/mapper/data-data0

Reclaiming reserve

Mounting ext3/4 filesystems will commonly reserve a portion of the disk, if you wish to reclaim this space, run:

tune2fs -m 0 /dev/mapper/data-data0

XFS

mkfs.xfs /dev/mapper/data-data0

BTRFS

mkfs.btrfs /dev/mapper/data-data0
content/en_us/kb_howtos_setup_formatting_disks_post_install.txt · Last modified: 2018/08/27 21:23 by dloper

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_howtos_setup_formatting_disks_post_install&1563831313