Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 1997 22:44:30 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        baum@actcom.co.il, stable@FreeBSD.ORG
Subject:   Re: disklabel problem - disklabel: ioctl DIOCSDINFO: No space left on device
Message-ID:  <199710071244.WAA19554@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>...
>disklabel -w -r /dev/rwd0s5 linswap
>...
>Where linswap is defined in /etc/disktab
>linswap:ty=mfs:se#512:nt#128:rm#3600:\
>        :ns#63:nc#13:\
>        :pb#104769:oa#0:tb=swap:\
>        :pc#104769:oc#0:bc#4096:fc#512:
>
>Anyway, it worked fine since 2.2.0 till 2.2-stable from
>month or so before. In latest -stable ( from 06.10.97 )
>I get message:
>1:27pm schneider -> /home/baum# uname -a
>FreeBSD schneider.actcom.co.il 2.2-STABLE FreeBSD 2.2-STABLE #25: Tue Oct
>7 11:52:32 IDT 1997
>baum@schneider.actcom.co.il:/usr/src/sys/compile/BAUM  i386
>1:27pm schneider -> /home/baum# disklabel -w -r /dev/rwd0s5 linswap
>disklabel: ioctl DIOCSDINFO: No space left on device

Your label is buggy.  It specifies a device or partition larger than
/dev/rwd0s5.  Perhaps `nc' is too large.  Also, the label specifies `oa'
but not `ob' (this doesn't matter because the default for both is 0).

>But when I booted 2.2.1 kernel it worked fine.

2.2.1 is buggy.

Bruce



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