Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 17:47:19 -0500
From:      Hiten Pandya <hiten@unixdaemons.com>
To:        lattera@softhome.net
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mdconfig problems
Message-ID:  <20030213224719.GB93611@unixdaemons.com>
In-Reply-To: <courier.3E4C094E.0000044C@softhome.net>
References:  <courier.3E4C094E.0000044C@softhome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030213224719.GB93611>