From owner-freebsd-questions Thu Aug 29 5: 1:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B74537B400 for ; Thu, 29 Aug 2002 05:01:11 -0700 (PDT) Received: from mx.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE1A43E81 for ; Thu, 29 Aug 2002 05:01:10 -0700 (PDT) (envelope-from rebehn@ant.uni-bremen.de) Received: from taipeh.ant.uni-bremen.de ([134.102.176.3] helo=ant.uni-bremen.de) by antsrv1.ant.uni-bremen.de with esmtp (Exim 3.34 #1) id 17kNaw-0009Tm-00; Thu, 29 Aug 2002 13:36:14 +0200 Message-ID: <3D6E07BC.60000@ant.uni-bremen.de> Date: Thu, 29 Aug 2002 13:38:36 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Problem with vnconfig -ae Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi list, I have problems using automatic configuration and mounting of vn devices. I created the following config file: root@antsrv1 [~] # cat /root/vntab /dev/vn0c /export/stuff/cd-images/matlab/R13/unix/cd-1.iso \ mountro=/export/cds/matlab/unix/cd-1 (The original file has only one line. I inserted the line break only for this email) Then i make sure that vn0 is unconfigured root@antsrv1 [~] # vnconfig -u vn0 vnconfig: VNIOCDETACH: Device not configured Now i try to automatically configure and mount: root@antsrv1 [~] # vnconfig -aef /root/vntab vnconfig: mount: Device busy The device is configured but not mounted, as df shows: root@antsrv1 [~] # df /dev/vn0c Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/vn0c 0 0 0 100% Mounting /dev/vn0c manually works: root@antsrv1 [~] # mount -o ro -t cd9660 /dev/vn0c /export/cds/matlab/unix/cd-1 root@antsrv1 [~] # df /dev/vn0c Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/vn0c 0 0 0 100% /export/cds/matlab/unix/cd-1 Am i doing anything wrong? Or why does automatic conf and mount not work? This issue has been brought up before, but i never saw a solution for it. Should i file a bug report? Thanks for any hints. Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:rebehn@ant.uni-bremen.de Phone : +49/421/218-4664 Fax : -3341 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message