From owner-freebsd-questions Wed Sep 25 20:38:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA18071 for questions-outgoing; Wed, 25 Sep 1996 20:38:28 -0700 (PDT) Received: from broken.whitefang.com (shadows@broken.whitefang.com [199.173.153.182]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA17971 for ; Wed, 25 Sep 1996 20:38:16 -0700 (PDT) From: shadows@whitefang.com Received: from localhost (shadows@localhost) by broken.whitefang.com (8.7.5/8.7.3) with SMTP id GAA00281 for ; Thu, 26 Sep 1996 06:37:24 +0300 (AST) X-Authentication-Warning: broken.whitefang.com: shadows owned process doing -bs Date: Thu, 26 Sep 1996 06:37:23 +0300 (AST) Reply-To: shadows@whitefang.com To: questions@freebsd.org Subject: Disk problems. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I still havent mastered the art of correctly partitions disks to support FreeBSD filesystems etc. Here's my current problem. I have my FreeBSD system install on /dev/wd1s2 (IDE) and its fine and dandy. Now I want to create a partition on /dev/wd2s1 to support an additional filesystems for backuping some logs etc. I went by the book, I believe in the faq it says do it the easy way and use the /stand/sysinstall I did that After creating a partition I tried disklabel. Forgive the spam but.. # /dev/wd2: type: unknown disk: label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 3158 sectors/unit: 3183264 rpm: 0 interleave: 0 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 3 partitions: # size offset fstype [fsize bsize bps/cpg] c: 3183264 0 unused 0 0 # (Cyl. 0 - 3157) Warning, revolutions/minute 0 boot block size 0 super block size 0 Forgive my ignorance but this doesnt look right now does it ;) I just made one partition here's what it looks like from the fdisk partitioner Disk name: wd2 FDISK Partition Editor DISK Geometry: 3158 cyls/16 heads/63 sectors Offset Size End Name PType Desc Subtype Flags 0 63 62 - 6 unused 0 63 3183201 3183263 wd2s1 3 freebsd 165 C> Seems decent. Oh and check this disklabel doesnt like my working HDD broken: {34} disklabel /dev/wd1 disklabel: /dev/wd1: Device not configured or fdisk broken: {36} fdisk /dev/wd1 Cannot open disk /dev/wd1 (Device not configured) Wonderful so right now my original device which i just booted from isnt 'configured' and my other device doesnt even accept newfs broken: {37} newfs /dev/wd2s1 newfs: /dev/wd2s1: not a character-special device newfs: /dev/wd2s1: `1' partition is unavailable I'm ABVIOUSLY doing something wrong. And the man pages are of little help since they expect one to be familiar with the entire proccess. Any help would be appreciated. ------------------------------------------------------------------------------- ShadowS WhiteFang Unix Software Development Thamer Al-Herbish And Consultancy. shadows@whitefang.com Specialising in Custom Network Applications for Unix Systems. -------------------------------------------------------------------------------