Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2000 12:42:46 -0400 (EDT)
From:      Tom Emerson <tree@cymru.basistech.com>
To:        freebsd-questions@freebsd.org
Subject:   "incorrect super block" in 3.4 (attempting to) mounting a disk
Message-ID:  <14638.43398.917480.537017@cymru.basistech.com>

next in thread | raw e-mail | index | archive | help
I've just added a new IDE disk to my FreeBSD 3.4 system. Following the
steps outlined in the Handbook (and the tutorial) I have not had any
luck getting the disk to actually mount. I'd appreciate it if someone
could perhaps shed some light on this situation.

I created a single dedicated slice, 'wd3s1', covering the entire disk.

After creating the slice, I exit (but don't write the slite, per the
warning about adding new disks to do that in the label editor) and go
to the label editor.

I [C]reate a new File System partition covering the entire disk, and
give it a dummy mount-point. I then [W] the partition, get the
expected error about mounting /dev/wd3s1e on the dummy mount point,
then choose [Q]uit.

I add the following entry to /etc/fstab:

/dev/wd3s1e             /d1             ufs     rw              2       2

and attempt to mount the new disk:

davis# /sbin/mount /d1
mount: /dev/wd3s1e on /d1: incorrect super block

OK. I search the archives: the only question about a similar response
from mount relates to CDs, which the answer was the specify the OS. So
I try that:

davis# /sbin/mount -t ufs /dev/wd3s1e /d1
mount: /dev/wd3s1e on /d1: incorrect super block

Here is the output from disklabel:

davis# /sbin/disklabel -r wd3
# /dev/rwd3c:
type: ESDI
disk: wd3s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2482
sectors/unit: 39876480
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 39876480        0    unused        0     0         # (Cyl.    0 - 2482*)
  e: 39876480        0    4.2BSD        0     0     0   # (Cyl.    0 - 2482*)

Any and all help is *greatly* appreciated. It would be really nice to
have that 20G drive working.

Thanks in advance,

       -tree

-- 
Tom Emerson                                          Basis Technology Corp.
Language Hacker                                    http://www.basistech.com
  "Beware the lollipop of mediocrity: lick it once and you suck forever"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14638.43398.917480.537017>