From owner-freebsd-current Thu Feb 13 14:47:25 2003 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 5387B37B401 for ; Thu, 13 Feb 2003 14:47:24 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69E0E43FDD for ; Thu, 13 Feb 2003 14:47:23 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.7/8.12.1) with ESMTP id h1DMlKeG001601; Thu, 13 Feb 2003 17:47:20 -0500 (EST) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.7/8.12.1/Submit) id h1DMlJoU001600; Thu, 13 Feb 2003 17:47:19 -0500 (EST) (envelope-from hiten) Date: Thu, 13 Feb 2003 17:47:19 -0500 From: Hiten Pandya To: lattera@softhome.net Cc: freebsd-current@FreeBSD.ORG Subject: Re: mdconfig problems Message-ID: <20030213224719.GB93611@unixdaemons.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index 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 On Thu, Feb 13, 2003 at 02:08:30PM -0700, lattera@softhome.net wrote the words in effect of: > -su-2.05b# mdconfig -a -t vnode -f filesys > mdconfig: ioctl(/dev/mdctl): No such file or directory > -su-2.05b# ls /dev/md* > /dev/mdctl > -su-2.05b# > > why does that happen? I'm doing everything the handbook says to... Do you actually have the file, 'filesys'? The argument to -f is meant to be the name of a file used as a backing store. Something like thse might help you: # dd if=/dev/zero of=/tmp/mdstore bs=1m count=50 (50M zero'd file created) # mdconfig -a -t vnode -f /tmp/mdstore (used file for backing...) # ls /dev/md* /dev/mdctl /dev/md0 ... Cheers. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message