Files get broken

Sebastian Pahlke at
Sun Aug 14 10:29:04 GMT 2005


my FreeBSD 5.4 release system makes some annoying things which I don't
understand. I use gmirror to mirror two IDE discs which seems to work
without problems until now.
I also use gbde to encrypt one data partition, but this partition seems NOT 
be affected for now, so I guess it's not a gbde related problem.

Some day's ago I would modify /boot/loader.conf (on /dev/mirror/gm0s1a).
As I opened the file in vi I saw just a line full of garbage. I was
confused a little bit, then I decided to rewrite the file
from (my human) memory, fortunately there were just two lines.

Now, some days later, I found another file which was corrupted.
It was a copy of /etc/fstab named /etc/fstab.orig (on /dev/mirror/gm0s1a).
If I open the file I see, again, only garbage:

8N^@^@\x8dC^A\x89\x868N^@^@\x8bE\xf4\x8b@^\\xc6@^B \xc7@^D@^@^@^@\x89\xda\x
VS\x83\xec^H\x8bu^L\x8d^^X\x83~^H^\u'^O\xb6C^B\x83\xe0^O\x83\xf8        u^[

Can anyone imagine whats going on? What does my system?
I'm scared because the FreeBSD box is my fileserver storing my whole
media library. Many thanks for help in advance!


Sebastian Pahlke

More information about the freebsd-questions mailing list