Fsck errors in the Linux filesystem on my OpenBSD laptop NOT caused by OpenBSD

| | Comments (1) |

I've been able to have OpenBSD's /etc/fstab automatically mount the ext2 filesystem on my Compaq Armada 7770dmt's hard drive with no difficulty lately, but every couple of days or so I get a message while booting OpenBSD that says the Linux filesystem is not clean and that I should run fsck on it.

I then boot Puppy Linux 2.13, run e2fsck on the partition, the errors are cleared up, and all is well until a few more days pass.

I haven't lost any data, but I'm going to do a few experiments.

First, I added noauto to the /etc/fstab line so the Linux filesystem will not be automatically mounted. Then I'm going to run Puppy for a few days and check the filesystem with e2fsck.

It could be that the errors are coming from Puppy alone. I think that's unlikely, but it is a possibility.

Then I'll experiment with manually mounting (with mount) and unmounting (with umount) the Linux filesystem while in OpenBSD.

That way I can see whether or not automounting and unmounting the ext2 filesystem in OpenBSD is what's causing the problem.

Hours later: Looks like OpenBSD is NOT responsible. I ran Puppy totally in RAM (using the puppy pfix=ram boot parameter), than ran e2fsck to clean up the filesystem on my ext2 partition. Then I ran Puppy the "normal" way, in which the system mounts the partition to access the pup_save file. I then rebooted and once again ran Puppy without mounting the partition. At no time did I boot OpenBSD or mount the filesystem in that OS.

Once I was back in Puppy, running pfix=ram to keep the partition unmounted, I ran e2fsck and got this message:

/dev/hda3 was not cleanly unmounted, check forced.

I had one more test to do.

Now that I had run e2fsck on the ext2 filesystem, I needed to boot OpenBSD, mount the filesystem, write a file to it, then unmount it. After that, it would be time to boot Puppy Linux again, using the pfix=ram boot parameter again so as not to mount the filesystem in Linux, and then run e2fsck again to check the filesystem and see if mounting, writing to and then unmounting it caused any errors.

So I booted into OpenBSD 4.2, mounted the ext2 filesystem, modified a few files, added a few, then unmounted it. I rebooted and did the same thing again.

Then I booted into Puppy, again with the pfix=ram boot parameter so as not to mount the Linux partition.

I ran e2fsck. After two boots of OpenBSD, during which I modified files in the Linux filesystem both times, there were no errors in the ext2 filesystem.

I said it was "unlikely," but in fact it's Puppy Linux, NOT OpenBSD that is not "cleanly" unmounting the Linux filesystem. I truly expected it to be the other way around.

I'll have to test this with Damn Small Linux, Wolvix and maybe even Slitaz to see if this is a Linux problem, or just a Puppy (or Puppy 2.13, to be more specific) problem. But right now, OpenBSD has absolutely nothing to do with it.

Mounting the filesystem in:

Damn Small Linux 4.3 caused no errors


1 Comments

I enjoy your OpenBSD articles very much since it's an operating system that I am playing around with as well. Please keep 'em coming!

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on August 30, 2008 3:00 AM.

Starbucks WiFi does work with OpenBSD was the previous entry in this blog.

A Power Macintosh G4/450 falls into my lap is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

chess.griffin.myopenid.com on Fsck errors in the Linux filesystem on my OpenBSD laptop NOT caused by OpenBSD: I enjoy your OpenBSD articles very much since it's an operating system ...

Powered by Movable Type 4.25

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet U.K.
iTWire
CNet News
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Gobuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo

Advertisement

Other blogs

Johnson Update in Inside USC with Scott Wolf
Has Bynum outgrown Kareem? in Inside the Lakers
Can the Angels just get to the end of this thing without an injury? in Farther Off the Wall
Neuheisel On: in Inside UCLA with Jon Gold
U.S. Roster for Final Two WCQ Announced in 100 Percent Soccer