On Sat, 22 Sep 2012 08:49:30 -0700 (PDT)
Rich Shepard <[email protected]> wrote:
> On Mon, 10 Sep 2012, Ken Stephens wrote:
>
> > Check your cables, pull and reinsert them a couple of times. The 5
> > volt signal levels can degrade after years because of corrosion and
> > relaxing contact pressure. The cable may be broken. Somewhere it
> > goes over a sharp edge and gets pulled. I have tripped over cables
> > and caused failures. As a sysadmin I seen weirder stuff.
>
> I need to admit that I'm quite discouraged. The new external case
> arrived yesterday and I mounted the new hard drive (that worked for a
> few days in the old case) and got everything set up. Still see the
> same errors:
>
> [root@salmo ~]# ./dirvish-backup.sh &
> [1] 27195
> [root@salmo ~]# mount: wrong fs type, bad option, bad superblock on
> /dev/sdb,
> missing codepage or helper program, or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
>
> cannot open config file: default.conf
> cannot open config file: default.conf
> cannot open config file: default.conf
> cannot open config file: default.conf
> cannot open config file: default.conf
> cannot open config file: default.conf
> umount: /media/hd0: not mounted
>
> When I try to mount it manually,
>
> [root@salmo ~]# mount /media/hd0
> mount: wrong fs type, bad option, bad superblock on /dev/sdb,
> missing codepage or helper program, or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
>
> [root@salmo ~]# dmesg | tail
> EXT3-fs (sdb): error loading journal
> sd 319:0:0:0: [sdb] Unhandled sense code
> sd 319:0:0:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08
> sd 319:0:0:0: [sdb] Sense Key : 0x3 [current]
> sd 319:0:0:0: [sdb] ASC=0x11 ASCQ=0x0
> sd 319:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 1d 1b 72 b8 00 00 f0 00
> end_request: I/O error, dev sdb, sector 488338104
> JBD: Failed to read block at offset 27704
> JBD: recovery failed
> EXT3-fs (sdb): error loading journal
>
> This is a new case, new cables, new drive. What am I missing here?
> It's been about 3 weeks with no daily backups and I really need to
> get this working once again.
Rich,
Does fdisk see the drive? Can it read the partition table? If yes,
you could try mounting the drive using one of the spare superblocks
using the "sb=n" option to mount. My first inclination, though, would
be to run fsck on that partition. It sounds to me like your old case
or cables must have trashed something on your new drive, and you need
to clean that up. Given that mount can't find the first superblock,
you'll probably need to provide e2fsck with the block number of one of
the spares (the -b option). For example,
# e2fsck -b 8193 -fpC 0 /dev/sdb1
will use the spare superblock at 8193, force (-f) e2fsck to run, and
give you a pretty progress bar (-C 0) while it "preens" (-p) the
partition. You want the -f option because e2fsck will return without
doing anything if the partition isn't marked as "dirty".
As an aside, since this is a new drive, without much on it, and it's
hooked up via USB, I would seriously consider using ext4 instead of
ext3. Among its other advantages is that fsck runs far, FAR faster.
I have a 500Gig WD MyBook that I use for backups, attached via USB.
Originally I had it set up with ext3, and it took most of a day to
run. I switched it over to ext4 and it now runs in about half an
hour. The first pass through took a long time, since it had to
convert the data structures in the filesystem, but after that it's
been quite speedy. Since you have little or nothing on the drive, it
shouldn't take long.
Which brings up another thought. Do you actually have anything on
that drive you want or need to save? If not, simply reformat it.
Probably the simplest way to go, rather than tearing your hair out
over this. Again, I'd use an ext4 filesystem, but that's up to you.
(I've heard good things about btrfs, but last I heard it still doesn't
have an fsck. I refuse to use it until I know I can clean the
filesystem if something goes wrong. And it it will, guaranteed.
Murphy lives!)
Anyway, I hope this helps, and I wish you luck!
--Dale
--
"Don't touch that dial! You're tuned to The Commercial Channel!
All commercials, all the time! An eternity of useless products to
rot your skeevy little mind... forever." -- Mike the TV
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug