lainchan / tech

OpenBSD thread

Anonymous · 2015-12-02 00:35
This is a thread to discuss OpenBSD and ask questions. I'm actually having a very peculiar issue. I've been meaning to upgrade to 5.8 already, so I decided I would run a filesystem check on my 1TB backup disk before backing up my computer. I always unmount it, but then I just physically disconnect it. I believe it's also ext3 (It's been a while since I've used it). Anyways, I've been told it has errors on disk that should be corrected. I run fsck on the i partition and get this: # fsck /dev/sd2i ** /dev/rsd2i BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE fsck: /dev/rsd2i: Floating point exceptionI'm at a bit of a loss for what to do now. It seemed to mount fine, so I unmounted it, but I don't know what to do next. I have another, much smaller flash disk with a similar issue, but I know that it's never been interrupted on write, so I think my system is just telling me I should check it because it's also ext3. I'm not that worried about this one. Sorry for such a long post, but I would appreciate any help I can get.
Anonymous · 2015-12-05 01:02
Make sure sysutils/e2fsprogs is installed, then try fsck.ext3. The default fsck might assume UFS.