From owner-freebsd-questions Tue Jan 21 10:39:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA04621 for questions-outgoing; Tue, 21 Jan 1997 10:39:52 -0800 (PST) Received: from hod.tera.com ([206.215.142.67]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA04616 for ; Tue, 21 Jan 1997 10:39:50 -0800 (PST) Received: from athena.tera.com (athena.tera.com [206.215.142.62]) by hod.tera.com (8.7.5/8.7.3) with ESMTP id KAA09849 for ; Tue, 21 Jan 1997 10:38:34 -0800 (PST) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id KAA09290 for freebsd-questions@FreeBSD.org; Tue, 21 Jan 1997 10:38:33 -0800 (PST) Message-Id: <199701211838.KAA09290@athena.tera.com> Subject: can anybody make sense of this info? To: freebsd-questions@FreeBSD.org (FreeBSD Questions Mailgroup) Date: Tue, 21 Jan 1997 10:38:33 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I've been trying to get a new SCSI drive mounted as sd1 for the past 2 weeks. I keep stumbling into obstacles.... It's closer and closer, but not-quite. Every time I reboot, dmesg prints this error: sd1: invalid primary partition table: no magic sd1: invalid primary partition table: no magic Can anybody help me get rid of this error so that the mount of sd1c is clean? In /etc/fstab I have: /dev/sd0a / ufs rw 1 1 /dev/sd0s1b none swap sw 0 0 /dev/sd0s1e /usr ufs rw 1 1 /dev/sd0s1f /var ufs rw 1 1 /dev/sd0s1g /usr/local ufs rw 1 1 # ## SCSI drive #2 # /dev/sd1c /usr/local2 ufs rw 1 1 proc /proc procfs rw 0 0 When the system is already booted I can mount/umount /dev/sd1 -t ufs /mnt /dev/sd1c -t ufs /mnt Trying ``mount -t ufs /dev/sd1a /mnt'' fails because slice "a" is meant for root, according to /etc/disktab: # a == root # b == swap # c == d == whole disk # e == /var # f == scratch # h == /usr I can mount either sd1 or sd1c on <> and it works. But on rebooting, there is that ``invalid primary partition'' err. Upon coming up, however, /dev/sd1* _is_ in the mount table. `mount' finds it. Here is my hacked /etc/disktab entry for the drive: ibm3720|IBM 720MB SCSI:\ :dt=SCSI:ty=winchester:se#512:nt#4:ns#91:nc#3875:rm#4500: \ :pc#1423360:oc#0: \ :tc=4.2BSD:bc#4096:fc#512: Does this look right? Am I missing something that would allow newfs to stick in the magic number? If anybody has bumped into this before, please let me know. Thanks much. gary kline