-- --------------------------------------------------------------------- Ovanes Manucharyan ovanes@afmedia.com System Administrator Affinity Media Inc ---------------------------------------------------------------------
attached mail follows:
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
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:10 CDT