Re: Problems with gjournal or something else.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Artem Kuchin
Date: Wednesday, October 31, 2007 - 11:53 am

First of all, thank you for replying. It is always very nice and informative
for hear from the actual developer of something. Thank you.


My point here is that since it is and example of configuring a gjournaling onf
existing system then this 'gjournal label da0s1d da0s1e' will always fail.
Of course it says the warning, but basically, condidering that it overwrites
last sector+1 GB of data on existing FS there is actual configuring on
existing FS. It is simply destroying it.  

So, i wonder if man page should give such a big hope thar one
can configure gjournal on existing fs. Even if another device is used
for journal the last sector is overwritten and, as i understand, filesystem
still thinks that that sector is free and any attemp to write/read at that
sector will result in error=5

In any case, w/o newfs on .journal special the filesystem does not know
that it is now shorter than before and IO will be attempted out of the
boundaries of that filestem (in the area of journal and last sector) which
will result in error 5. To fix it one must newfs spec.journal wich will
result in loss of data. SO, there is no proper way to maje existing
fs journaled. 

This is totally fine and not a big problem actually, but it should
be mentioned specifically in the man page.



I'm sorry. I mean what || means here? I probaly just lack enough shell
knowledge.


For any fs size and disk operations intensity? Mine is about 260GB
moderatelly used.

--
Artem
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
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, 11:53 am)
Re: Problems with gjournal or something else., Pawel Jakub Dawidek, (Wed Oct 31, 11:58 am)
Re: Problems with gjournal or something else., Nikolay Pavlov, (Thu Nov 1, 4:25 am)