Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2000 07:38:34 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        chip <chip@wiegand.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: I'm at a loss for a way to mount this second harddrive
Message-ID:  <20000412073834.G4381@fw.wintelcom.net>
In-Reply-To: <00041206444500.02913@chip.wiegand.org>; from chip@wiegand.org on Wed, Apr 12, 2000 at 06:38:37AM -0700
References:  <20000412005644.F4381@fw.wintelcom.net> <00041206444500.02913@chip.wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* chip <chip@wiegand.org> [000412 07:10] wrote:
> On Wed, 12 Apr 2000, Alfred Perlstein wrote:
> > * chip <chip@wiegand.org> [000411 22:01] wrote:
> > > Okay, here are my results:
> > > chip# fdisk wd3
> > > ******* Working on device /dev/rwd3 *******
> > >  Maybe my system is missing something?
> > 
> > You almost made it. :)
> > 
> > Yes, you're missing /dev/ entries for your disks, just do this:
> > 
> > cd /dev
> > sh MAKEDEV wd3s1a
> > 
> > and they will be created, then you can mount them.
> > 
> > -- 
> > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> 
> I hate to say it but it still don't work. 
> Here's what I get -
> $ su
> Password:
> chip# cd /dev | sh MAKEDEV wd3s1a
> chip# ls wd*
> wd0     wd0s1   wd1e    wd1s1e  wd2b    wd2s3   wd3g    wd3s1g  wd3s2g  wd3s3g
> wd0a    wd0s2   wd1f    wd1s1f  wd2c    wd2s4   wd3h    wd3s1h  wd3s2h  wd3s3h
> wd0b    wd0s3   wd1g    wd1s1g  wd2d    wd3     wd3s1   wd3s2   wd3s3   wd3s4
> wd0c    wd0s4   wd1h    wd1s1h  wd2e    wd3a    wd3s1a  wd3s2a  wd3s3a
> wd0d    wd1     wd1s1   wd1s2   wd2f    wd3b    wd3s1b  wd3s2b  wd3s3b
> wd0e    wd1a    wd1s1a  wd1s3   wd2g    wd3c    wd3s1c  wd3s2c  wd3s3c
> wd0f    wd1b    wd1s1b  wd1s4   wd2h    wd3d    wd3s1d  wd3s2d  wd3s3d
> wd0g    wd1c    wd1s1c  wd2     wd2s1   wd3e    wd3s1e  wd3s2e  wd3s3e
> wd0h    wd1d    wd1s1d  wd2a    wd2s2   wd3f    wd3s1f  wd3s2f  wd3s3f
> chip# mount /dev/wd3s1a /mnt
> mount: Operation not permitted
> chip# mount /dev/wd3s1b /mnt
> mount: /dev/wd3s1b on /mnt: incorrect super block
> chip# mount /dev/wd3s1c /mnt
> mount: Operation not permitted
> chip# mount /dev/wd3s1d /mnt
> mount: /dev/wd3s1d on /mnt: incorrect super block
> chip#   
> 
> This thing's really being difficult this time, never was this
> difficult before. I feel like I'm being a pest to you now, 'cus this
> is taking so long to figure out. Sorry.

Honestly you are starting to annoy me, I explained that you'll want
to mount partitions shown from the disklabel command, your disklabel
showed this:

> chip# disklabel wd3s1
> # /dev/rwd3s1:
> type: ESDI
> disk: wd1s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 192
> sectors/cylinder: 12096
> cylinders: 340
> sectors/unit: 4124673
> 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]
>   a:   204800        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 16*)
>   b:   262144   204800      swap                        # (Cyl.   16*- 38*)
>   c:  4124673        0    unused        0     0         # (Cyl.    0 - 340*)
>   e:  3657729   466944    4.2BSD     1024  8192    16   # (Cyl.   38*- 340*)

and I said:

> then do this:
> 
> disklabel wd3sX
> 
> where 'X' is the number you got above.. then take the letter of the
> partition... a,e,f or g and just do this:
> 
> mount /dev/wd3sXx
> 
> where 'x' is the letter of the partition.
> 

Instead of following my directions you proceeded to attempt to mount
anything remotely resembling wd3s1_anything_ like some sysadmin in
heat.

Now take a breath and make a new directory:

mkdir /mnt2

and try to mount one of the partitions listed above.

If it doesn't work show me the output of the 'mount' command like this:
  'mount'

Make sure you are root.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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?20000412073834.G4381>