7-STABLE, gjournal and fsck.
Dmitry Morozovsky
marck at rinet.ru
Sun Aug 3 14:18:00 UTC 2008
On Sun, 3 Aug 2008, Eugene Butusov wrote:
EB> > Did you re-create your file systems? How did you create the journal?
EB> >
EB> > eg. newfs /dev/ad4s1g.journal ?
EB> >
EB> > or did you just enable journal on the partition? via tunefs?
EB>
EB> I did it this way:
EB>
EB> /dev/ad4s1g is my /home, an existing partition
EB>
EB> umount /home
EB> gjournal label -f /dev/ad4s1g
EB> tunefs -J enable -n disable /dev/ad4s1g.journal
EB> (added 'async' option to /etc/fstab for /home and changed entry to
EB> /dev/ad4s1g.journal)
EB> mount /home
EB>
EB> It worked until power failed... :)
No surprize. with you `gjournal label' command you've effectively destroyed
last 1G of UFS. You should use external journal provider in such case.
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
More information about the freebsd-stable
mailing list