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.plpjd@FreeBSD.orghttp://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!