Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't configure new disk

Please provide the output from dmeg(1) so we can determine if there is a disk wd1d and if it encountered some sort of error which prevented it from attaching.

On Sat, 11 Mar 2017, pimin inwa wrote:

bash-4.3# ls *wd*
ls: *wd*: No such file or directory

bash-4.3# fdisk wd1
fdisk: cannot opendisk /dev/rwd1d: Device not configured

bash-4.3# id
uid=0(root) gid=0(wheel)

bash-4.3# fdisk /dev/wd1d
fdisk: cannot opendisk /dev/wd1d: Device not configured

bash-4.3# disklabel -v /dev/rwd1d
disklabel: /dev/rwd1d: Device not configured

bash-4.3# disklabel -v wd1
disklabel: /dev/rwd1d: Device not configured

I'm going to try a different disk just in case this one is bad in some way.

Thanks for responding,

Gezz I take a year off and all my NetBSD/Unix braincells stay on vacation
... GRRRrrr

On Wed, Mar 1, 2017 at 10:23 PM, Robert Elz <> wrote:

    Date:        Wed, 1 Mar 2017 12:59:13 -0800
    From:        pimin inwa <>
    Message-ID:  <CAJjDS37HCf402fetizgYP09R+VaJcsxF5KpvP4ut0BViGvULuQ@>

  | I can't run fdisk, disklabel, etc ... because wd1d isn't configured?
  | shows:

  | What am I forgetting to do?

Everything looks good to me - two things worth checking, first, that the
/dev/rwd1* special (char) files exist, and second, that there's no file
called "wd1" in the directory you're in when you run the commands.

If neither of those is the problem, show everything that happens when you
run "fdisk wd1" (or "disklabel -v wd1") - the actual error message might
provide a clue.   Also try "fdisk /dev/rwd1d" (etc.)



| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at |

Home | Main Index | Thread Index | Old Index