From owner-freebsd-hackers Sat Sep 21 16:06:13 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA07953 for hackers-outgoing; Sat, 21 Sep 1996 16:06:13 -0700 (PDT) Received: from po2.glue.umd.edu (po2.glue.umd.edu [129.2.128.45]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA07920 for ; Sat, 21 Sep 1996 16:06:10 -0700 (PDT) Received: from modem.eng.umd.edu (modem.eng.umd.edu [129.2.98.187]) by po2.glue.umd.edu (8.7.5/8.7.3) with ESMTP id TAA00125 for ; Sat, 21 Sep 1996 19:06:07 -0400 (EDT) Received: from localhost (chuckr@localhost) by modem.eng.umd.edu (8.7.5/8.7.3) with SMTP id TAA07942 for ; Sat, 21 Sep 1996 19:06:07 -0400 (EDT) X-Authentication-Warning: modem.eng.umd.edu: chuckr owned process doing -bs Date: Sat, 21 Sep 1996 19:06:06 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@modem.eng.umd.edu To: FreeBSD-Hackers Subject: Using disklabel Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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! ----------------------------+-----------------------------------------------