Re: Problems with gjournal or something else.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pawel Jakub Dawidek
Date: Wednesday, October 31, 2007 - 11:38 am

On Wed, Oct 31, 2007 at 03:28:03PM +0300, Artem Kuchin wrote:

Have you read what the warning says? It tells you that the last sector,
where it tries to write metadata is used by existing file system. Using
-f option will destroy the last sector. You not only decided to
overwrite single sector, but 1GB of data, because you didn't give separate
provider for journal.


This command destroys 1GB at the end of your file system. How do you
expect it to work properly after that? Do you think that giving '-f'
will magically add 1GB to your disk capacity? It won't. It will destroy
your data, because you asked for by giving *FORCE* option.

=20

That's mistake. It should be 'tunefs -J enable -n disable /dev/da0s1d.journ=
al'.


There is more than that. It is given as one command on purpose. If any
of the previous commands (gjournal, tunefs or mount) fail, for example
because it is not possible to convert the file system to use gjournal,
it will mount the file system back.


2GB is fine.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Problems with gjournal or something else., Artem Kuchin, (Wed Oct 31, 5:28 am)
Re: Problems with gjournal or something else., 韓家標 Bill Hacker, (Wed Oct 31, 9:45 am)
Re: Problems with gjournal or something else., Pawel Jakub Dawidek, (Wed Oct 31, 11:38 am)