Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 1996 19:06:06 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        FreeBSD-Hackers <FreeBSD-Hackers@FreeBSD.org>
Subject:   Using disklabel
Message-ID:  <Pine.OSF.3.95.960921185835.7980A-100000@modem.eng.umd.edu>

next in thread | raw e-mail | index | archive | help
Help!  I need to set up 2 partitions (only 2) on a st42100N seagate scsi
disk, size 1812MB.  I tried to set up partitions e: and f:, but disklabel
kept on telling me (after a frustrating editing session when it kept on
getting the default scsi sizes wrong) that my partition names were
invalid, and that I had an unused partition d.

I only want 2 partitions, this isn't a boot disk.  I want them equal in
size.  Fdisk would not help me by providing good scsi defaults, so I chose
64 heads and 32 sectors/track as scsi default, and for the 1812 MB disk
that gave me 1812 cylinders.  Would be nice if disklabel could have read
that, but how do I get disklabel to take my sector defs?  I haven't yet
newfs'ed it yet.

Here are my entries to disklabel, that failed:

  a:        0        0    unused        0     0     0   # (Cyl.    0 - 0*)
  d:        0        0    unused        0     0     0   # (Cyl.    0 - 0*)
  c:  3711990        0    unused        0     0         # (Cyl.    1 -1811*)
  e:  1855995        0    4.2BSD        0     0     0   # (Cyl.    1 -906*)
  f:  1855995  1855995    4.2BSD        0     0     0   # (Cyl.  907 -1811*)
/tmp/EdDk.a003023: 26 lines, 753 characters.
line 25: bad partition name
line 26: bad partition name

If I weren't up against a time deadline, I'd experiment more, but
disklabel is really unhelpful.  This is disk sd2 on an already running
system, I wish I could coax the sysinstall into working on sd2.


----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114              | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.960921185835.7980A-100000>