[Ocfs2-users] why does mkfs.ocfs2 take so long?

Sabuj Pattanayek sabujp at gmail.com
Mon Jul 28 08:35:23 PDT 2008


Hi,

Why does mkfs.ocfs2 take so long compared to gfs2 (pretty fast iirc),
xfs (almost instantaneous), or ext3 (slow but still ok)? I'm using:

# mkfs.ocfs2 -F -b 4k -C 4k -L san1 -T mail /dev/vg/san1
mkfs.ocfs2 1.3.9
Overwriting existing ocfs2 partition.
WARNING: Cluster check disabled.
Proceed (y/N): y
Filesystem Type of mail
Filesystem label=san1
Block size=4096 (bits=12)
Cluster size=4096 (bits=12)
Volume size=16789027160064 (4098883584 clusters) (4098883584 blocks)
127074 cluster groups (tail covers 16896 clusters, rest cover 32256 clusters)
Journal size=268435456
Initial number of node slots: 4
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock:

Perhaps some kind of inode done/total counter would be nice as is
shown while doing mkfs.ext3?

Thanks,
Sabuj Pattanayek



More information about the Ocfs2-users mailing list