FreeBSD 6.1 - mount_nullfs broken?

Viren Patel virenp at mail.utexas.edu
Fri Mar 24 14:05:33 UTC 2006


> 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




More information about the freebsd-questions mailing list