[Fwd: SUMMARY: DKIOCINFO: Inappropriate ioctl for device]

Ovanes Manucharyan (ovanes@afmedia.com)
Mon, 01 Dec 1997 14:42:33 -0800

This is a multi-part message in MIME format.

--Boundary_(ID_HUQyX15bZHiGx2ix0FuO1g)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit

--
---------------------------------------------------------------------
Ovanes Manucharyan                                 ovanes@afmedia.com
System Administrator                               Affinity Media Inc
---------------------------------------------------------------------

--Boundary_(ID_HUQyX15bZHiGx2ix0FuO1g) Content-type: MESSAGE/RFC822

Date: Mon, 01 Dec 1997 14:41:16 -0800 From: Ovanes Manucharyan <ovanes@afmedia.com> Subject: SUMMARY: DKIOCINFO: Inappropriate ioctl for device To: artur <artur@compugen.co.il> Message-id: <34833D0C.B454D743@afmedia.com> Organization: Affinity Media Inc. MIME-version: 1.0 X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 5.5.1 sun4m) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <3482F646.FCC9E9E5@afmedia.com> <34830D2E.EC605037@compugen.co.il>

Thanks to artur <artur@compugen.co.il> and Stephen Frost <sfrost@mitretek.org> who figured out what was wrong.

It turns out that in /etc/vfstab I was putting the "cooked" device under the Fsck field instead of the raw device. Here is what the line should have looked like:

#device device mount FS fsck mount mount #to mount to fsck point type pass at boot options

dev/dsk/c0t2d0s1 /dev/rdsk/c0t2d0s1 /export ufs 1 yes -

I had /dev/dsk/c0t2d0s1

Thanks for those who helped me.

Here is my original message:

>Hello, > >we are having some probles installing a Seagate 4 Gig external HD into a >SUN Ultra 1 with 128 MB Ram. We have Solaris 2.6 > >First we partitioned and formatted using the format command and then >newfs. >Added entries in /etc/vfstab so it could mount during boot. > >It seems that everything works fine for now, but we get a strage error >during boot time. > >DKIOCINFO: Inappropriate ioctl for device >device = (name of device, which corresponds to the partition of the hard >drive being mounted.) > >Is there something we did wrong, perhaps in connecting the HD? >

artur wrote:

> Here is srdb/6396 : > The following error message appears at boot time: > > DKIOCINFO: inappropriate ioctl for device: `/dev/dsk/c0t3d0s > SOLUTION SUMMARY: > > Check the /etc/vfstab file. It has the incorrect format for the fsck > device. The column for fsck devices must be raw disk devices of the > format: > > /dev/rdsk/c?d?t?s?. > > Hope it helped.

Stephen Frost wrote:

> More likely you did something wrong in your /etc/vfstab. A vfstab entry > should look like this: > > device to mount device to fsck mount point FS fsck mount mount > type pass at boot options > /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 > yes - >

> I'd check and make sure you put the 'cooked' device name in first and not > the 'raw' device. > Also, you can try mounting it manually by using 'mount' as root. Ex: > mount /dev/dsk/c0t0d0s7 /export/home > That'll try to mount it ufs be default, read the man pages if you want to > mount it as something else or want to give it other mount options. > > Good luck! > > Stephen >

--Boundary_(ID_HUQyX15bZHiGx2ix0FuO1g)--