Adding gjournal to existing disks?

Tony Holmes tony at crosswinds.net
Fri Jul 6 00:50:59 UTC 2007


I have a question about gjournal.

I have a system that I can not reparition/newfs and was wondering if it is
possible to add gjournal to the existing filesystems?

The system is i386, RELENG_6 and the disk are using gmirror and gstripe. The
partition I'm most interested in journaling is the gstripe parition.

Here's my fstab as a reference:

/dev/mirror/gm0s1b      none            swap    sw              0       0
/dev/mirror/gm1s1b      none            swap    sw              0       0
/dev/mirror/gm0s1a      /               ufs     rw              1       1
/dev/mirror/gm1s1d      /tmp            ufs     rw              2       2
/dev/mirror/gm0s1d      /usr            ufs     rw              2       2
/dev/mirror/gm1s1e      /var            ufs     rw              2       2
/dev/stripe/home        /usr/home       ufs     rw,userquota,noauto     2       2

df -k:

Filesystem         1K-blocks      Used    Avail Capacity  Mounted on
/dev/mirror/gm0s1a   2026030    104708  1759240     6%    /
devfs                      1         1        0   100%    /dev
/dev/mirror/gm1s1d   2026030     13052  1850896     1%    /tmp
/dev/mirror/gm0s1d   8122126   3859922  3612434    52%    /usr
/dev/mirror/gm1s1e   8122126   1070764  6401592    14%    /var
/dev/stripe/home   287190090 167354816 96860068    63%    /usr/home
procfs                     4         4        0   100%    /proc

So lots of space free on the stripe. I read the man page for 7-Current but
it is unclear if a both the journal and data can exist in the same partition.


BTW, I've been using FreeBSD for almost 14 years now and I LOVE where 6 and 7
are going.

-- 
Tony Holmes

Ph: (416) 993-1219

Founder and Senior Systems Architect
Crosswinds Internet Communications Inc.


More information about the freebsd-fs mailing list