Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 08:05:31 -0600 (CST)
From:      "Viren Patel" <virenp@mail.utexas.edu>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD 6.1 - mount_nullfs broken?
Message-ID:  <1052.66.25.138.31.1143209131.squirrel@mail.cm.utexas.edu>
In-Reply-To: <20060323230935.GA90169@xor.obsecurity.org>
References:  <58674.146.6.135.6.1143153068.squirrel@mail.cm.utexas.edu> <20060323230935.GA90169@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, Mar 23, 2006 at 04:31:08PM -0600, Viren Patel
> wrote:
>> Hello. I just upgraded a FreeBSD 6.0 system to
>> 6.1-prerelease and now mount_nullfs seems to be broken.
>> I
>> get the error "mount_nullfs: Operation not supported by
>> device". Nothing has changed in the hardware or the
>> config
>> files. Here is the output dmesg:
>
> It's definitely working.
>
> Show us the exact command you're running.
>
> Kris
>

Thanks for your reply. Basically I run the ezjail.sh
script and I've shown the disk layout before and after. I
also tried running mount_nullfs directly and got the same
results.

# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad6s1a    1.9G     80M    1.7G     4%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad6s1g    202G    245M    186G     0%    /export
/dev/ad6s1f    3.9G     18K    3.6G     0%    /home
/dev/ad6s1e    7.7G    1.9G    5.2G    27%    /usr
/dev/ad6s1d    7.7G     42M    7.1G     1%    /var

# /usr/local/etc/rc.d/ezjail.sh start
 ezjailConfiguring jails: set_hostname_allow=YES.
Starting jails:mount_nullfs: Operation not supported by
device
.

# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad6s1a    1.9G     80M    1.7G     4%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad6s1g    202G    245M    186G     0%    /export
/dev/ad6s1f    3.9G     18K    3.6G     0%    /home
/dev/ad6s1e    7.7G    1.9G    5.2G    27%    /usr
/dev/ad6s1d    7.7G     42M    7.1G     1%    /var
devfs          1.0K    1.0K      0B   100%   
/export/jails/testjail/dev

# umount /export/jails/testjail/dev
# mount_nullfs -o ro /export/jails/basejail
/export/jails/testjail/basejail
mount_nullfs: Operation not supported by device

After looking at the dmesg output more closely one
discrepancy I found was the second last line:

ad6: 238475MB <WDC WD2500JS-55MHB0 02.01C03> at
ata3-master SATA300

It was definitely SATA150 under FreeBSD 6.0, even after
updates. So maybe a problem in the SATA300 driver?

Viren





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