Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 11:07:31 +0200
From:      Heinrich Rebehn <rebehn@ant.uni-bremen.de>
To:        questions@freebsd.org
Subject:   Problem with vnconfig -ae
Message-ID:  <3D6DE453.2030900@ant.uni-bremen.de>

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




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