From owner-freebsd-current Sun Nov 17 14:36: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBC6537B401 for ; Sun, 17 Nov 2002 14:36:06 -0800 (PST) Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id F351243E3B for ; Sun, 17 Nov 2002 14:36:05 -0800 (PST) (envelope-from jwd@bsdwins.com) Received: from bsdone.bsdwins.com (localhost [127.0.0.1]) by bsdone.bsdwins.com (8.12.5/8.12.5) with ESMTP id gAHMKuW2042313 for ; Sun, 17 Nov 2002 17:20:56 -0500 (EST) (envelope-from jwd@www.bsdwins.com) Received: (from jwd@localhost) by bsdone.bsdwins.com (8.12.5/8.12.5/Submit) id gAHMKuke042312 for freebsd-current@freebsd.org; Sun, 17 Nov 2002 17:20:56 -0500 (EST) Date: Sun, 17 Nov 2002 17:20:56 -0500 From: John De Boskey To: Current List Subject: ccd & disklabel (what should work?) Message-ID: <20021117222056.GA41998@BSDWins.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In trying to setup a ccd on a -current system I seem to have run into a few issues: /etc/ccd.conf: # ccd ileave flags component devices ccd0 64 none /dev/ad1s1a /dev/ad2s1a # ccdconfig -g ccd0 64 0 /dev/ad1s1a /dev/ad2s1a # ls -al /dev/ccd* crw-r----- 1 root operator 74, 2 Nov 17 22:09 /dev/ccd0c So far, so good... # disklabel -rw ccd0c auto disklabel: auto: unknown disk type # disklabel -rw ccd0 auto disklabel: cannot open /dev/ccd0: No such file or directory disklabel: auto: unknown disk type #disklabel -e ccd0c disklabel: ioctl DIOCWDINFO: no disk label on disk; add "-r" to install initial label re-edit the label? [y]: Ok, let's just newfs the 'c' partition # newfs -U /dev/ccd0c /dev/ccd0c: 76345.1MB (156354688 sectors) block size 16384, fragment size 2048 using 416 cylinder groups of 183.69MB, 11756 blks, 23552 inodes. with soft updates super-block backups (for fsck -b #) at: ... 154614944, 154991136, 155367328, 155743520, 156119712 newfs: ioctl (WDINFO): /dev/ccd0c: can't rewrite disk label: No such process Should we be able to disklabel 'auto' a ccd? Should we be able to create multiple partitions? ('a','c','d', etc) If not, the ccdconfig man page and handbook probably need a bit of updating. They seem to indicate that the above should work. Comments? Thanks, John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message