eftychia: Me in poufy shirt, kilt, and Darth Vader mask, playing a bouzouki (vader)
Add MemoryShare This Entry
posted by [personal profile] eftychia at 03:48pm on 2006-01-21 under ,

Observation: running fsck on a 20G partition takes a whole lot longer when the output is chock full of "NotReady | SeekFailed" errors and "short read" errors. (Not sure I've remembered the exact phrasing of the first category -- the system's running again despite some scary notices about unrecoverable files ... less scary on /home than if they'd been on /, but still...) I thought "not ready" messages looked a little funny considering that /home is on the same physical drive as the partition from which I was running the OS and fsck (/dev/hda6 vs. /dev/hda1).

Reminder to self: procrastination'll bite ya'. I'd been meaning to copy everything from /home over to the file server and automount the home directories from there, but hadn't gotten around to it, so there's stuff on this machine that I have in /home/dglenn and a bunch of other stuff that I access at /mnt/richards/dglenn and can get to from every other machine in the house. I'm sure NFS on the server downstairs would've dealt with this box suddenly turning itself off far more gracefully than its own local filesystem did.

Question: I've finally bothered to fire up the Debian "Music Player" (Rhythmbox) and tell it to find a bunch of my MP3 files. But when I import a folder, it finds a few tunes then half-hangs (it can play music and I can navigate its browser, but the process/thread/whatever that's adding new music hangs and the application has to be "force-quit", which I presume is just a GUI-friendly way of saying "kill -9"(?)); and of the tunes it's gotten, some play at chipmunk speed despite sounding fine in other players. Whiskey Tango Foxtrot? Clue, please?

Another reminder to self: read up on just what EXT3 is (it's journalled, right?) and what it's supposed to give me, and why the fs-type-specific program that fsck invoked for an EXT3 volume had a name that sounded like it was for EXT2.

There are 11 comments on this entry. (Reply.)
 
posted by [identity profile] whc.livejournal.com at 08:54pm on 2006-01-21
EXT3 is basically EXT2 with a journaling add on, so it seems likey that the same program could fsck them both.
 
posted by [identity profile] dglenn.livejournal.com at 09:08pm on 2006-01-21
Ah, that makes sense.
dsrtao: dsr as a LEGO minifig (Default)
posted by [personal profile] dsrtao at 09:26pm on 2006-01-21
You can even mount an ext3 as an ext2, which corrupts the journal but gives you access to the entire filesystem. To rebuild the journal, umount the filesystem and run "tune2fs -j /dev/foo".

If your drive is giving 0x51 Drive Unready messages, it's probably about to die.
 
posted by [identity profile] elbowfetish.livejournal.com at 09:30pm on 2006-01-21
Checking the S.M.A.R.T. on the drive is a good idea.
 
posted by [identity profile] dglenn.livejournal.com at 07:32am on 2006-01-22
I don't have any of the relevant tools ... next time I get to a reasonable power-down spot, I'll reboot and see whether the BIOS looka like it has support for that, and see about downloading the SMART tools for Debian if it does.
 
posted by [identity profile] dglenn.livejournal.com at 07:34am on 2006-01-22
That would be bad ... I was just given a stack of used drives to test, but none anywhere near the size of this one. Argh.
 
posted by [identity profile] elbowfetish.livejournal.com at 09:34pm on 2006-01-21
/home is worse. / is only system files you can re-install. /home will have user and custom files it sounds like it's too late to back up reliably already.

ext3 has issues. Switch to OpenSolaris or Windows for a more robust fs. Or at least BSD or some form of Unix if you're old fashioned.

 
posted by [identity profile] elbowfetish.livejournal.com at 10:09pm on 2006-01-21
A thought on emergency rescue: if SMART tells you the drive h/w is failing, use it gently. Give it extra cooling and try not to power cycle it if you don't have to.
 
posted by [identity profile] dglenn.livejournal.com at 07:52am on 2006-01-22
richards:/home -- the file server -- would have been a much bigger deal. /home on this box mostly has scratchpad stuff, experiments I was in the middle of, recent downloads, config files for user apps running on this box that I don't have installed on other machines, and things I was copying from one machine to another. So losing files here is a nuisance, but not as big a deal as losing files from my real home-directory.

So in this (unusual) case, screwing up the system and making it temporarily un-runnable would actually have been a bigger pain.

Though I really do need to get around to reinstalling the OS with the full list of packages I want and current versions of everything at some point, or trying to update it piecemeal.

But my file server is also running Linux (Mandrake 6 there, vs Debian 3 in the bedroom), and its partitions are all EXT2. The file server is supporting NFS, Samba, and Appletalk (I considered Andrew but haven't gotten around to setting it up to experiment with). Does Netatalk run under BSD or Solaris? If so, I could see changing operating systems for that machine when I get around to upgrading it -- I'd already been planning to at least use a more recent version of Linux.

Of course, with the age-related hardware problems I tend to get, I'd love to use RAID on the server, but the only sizes of drives I have four of are too small to do the job. (And yeah, I'd be doing software RAID on IDE if I set it up, 'cause I don't have a RAID controller ... and I've got fewer and smaller SCSI drives than ISE drives, otherwise I'd considering making one of the Sparcs play file server.)
 
posted by (anonymous) at 09:31am on 2006-01-22
Netatalk works with newer and older versions of Solaris (I don't run that combination myself). It also runs on different BSD flavours.

Netatalk could probably even work on MacOS X. :-)

 
posted by [identity profile] dglenn.livejournal.com at 12:30pm on 2006-01-22
Ah, good to know.

Though the smartass MacOS comment reminded me of a question for a hypothetical future: Ifwhen I get ahold of a Mac that can handle OS X, what'll be the best way to hook it to the file server? Netatalk, NFS, or something else entirely?

(Note: I really really like OS X. I just haven't got a studly enough Mac at home for it, so in the house I'm running 8.6 and 9.1, where Netatalk is the obvious choice.)

Links

January

SunMonTueWedThuFriSat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24
 
25
 
26
 
27
 
28
 
29
 
30
 
31