Discussion:
directio
(too old to reply)
unknown
2009-11-09 03:49:53 UTC
Permalink
Hi,
This is for ASE 15.0.3
we were migrating to new SAN and we also had to migrate from
Raw devices to file system devices using direct io option.
So we created the logicals as a first step and while I was
trying to turn on the direct io option. I was getting the
below error. I tried to contact the OS admin but he didn't
have much information also.


01:00000:00013:2009/11/08 13:58:56.45 kernel Unable to open
file in DIRECTIO_ON mode, error: (25) Inappropriate ioctl
for device.

01:00000:00013:2009/11/08 13:58:56.45 kernel The device
does not support directio. '/sybtmp04/gi_datadsk1.dat' will
be activated using dsync instead of directio.
mpeppler@peppler.org [Team Sybase]
2009-11-09 07:26:18 UTC
Permalink
Post by unknown
Hi,
This is for ASE 15.0.3
we were migrating to new SAN and we also had to migrate from
Raw devices to file system devices using direct io option.
So we created the logicals as a first step and while I was
trying to turn on the direct io option. I was getting the
below error. I tried to contact the OS admin but he didn't
have much information also.
01:00000:00013:2009/11/08 13:58:56.45 kernel  Unable to open
file in DIRECTIO_ON mode, error: (25) Inappropriate ioctl
for device.
01:00000:00013:2009/11/08 13:58:56.45 kernel  The device
does not support directio. '/sybtmp04/gi_datadsk1.dat' will
be activated using dsync instead of directio.
What OS are you on?

Michael
unknown
2009-11-09 08:12:44 UTC
Permalink
Post by ***@peppler.org [Team Sybase]
Post by unknown
Hi,
This is for ASE 15.0.3
we were migrating to new SAN and we also had to migrate
from Raw devices to file system devices using direct io
option. So we created the logicals as a first step and
while I was trying to turn on the direct io option. I
was getting the below error. I tried to contact the OS
admin but he didn't have much information also.
01:00000:00013:2009/11/08 13:58:56.45 kernel  Unable
to
Post by ***@peppler.org [Team Sybase]
Post by unknown
open file in DIRECTIO_ON mode, error: (25) Inappropriate
ioctl for device.
01:00000:00013:2009/11/08 13:58:56.45 kernel  The
device
Post by ***@peppler.org [Team Sybase]
Post by unknown
does not support directio. '/sybtmp04/gi_datadsk1.dat'
will be activated using dsync instead of directio.
What OS are you on?
Michael
Hi Mike,

Its Solaris 10

Thanks
Leonid Gvirtz
2009-11-09 09:11:35 UTC
Permalink
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
Hi,
This is for ASE 15.0.3
we were migrating to new SAN and we also had to migrate
from Raw devices to file system devices using direct io
option. So we created the logicals as a first step and
while I was trying to turn on the direct io option. I
was getting the below error. I tried to contact the OS
admin but he didn't have much information also.
01:00000:00013:2009/11/08 13:58:56.45 kernel Unable
to
Post by ***@peppler.org [Team Sybase]
Post by unknown
open file in DIRECTIO_ON mode, error: (25) Inappropriate
ioctl for device.
01:00000:00013:2009/11/08 13:58:56.45 kernel The
device
Post by ***@peppler.org [Team Sybase]
Post by unknown
does not support directio. '/sybtmp04/gi_datadsk1.dat'
will be activated using dsync instead of directio.
What OS are you on?
Michael
Hi Mike,
Its Solaris 10
Thanks
Hi

What is your filesystem type? Is it ZFS by any chance? I didn't try to
use direct io on ZFS by myself, but as far as I know, direct I/O is not
supported on ZFS. I see a number of ZFS-related posts with similar
symptoms in different forums. There should be no problems with direct
I/O on a UFS filesystem.

Hope it helps
Leonid Gvirtz
http://www.gvirtz-consulting.com
unknown
2009-11-09 09:54:35 UTC
Permalink
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
Hi,
This is for ASE 15.0.3
we were migrating to new SAN and we also had to
migrate >>> from Raw devices to file system devices using
direct io >>> option. So we created the logicals as a
first step and >>> while I was trying to turn on the
direct io option. I >>> was getting the below error. I
tried to contact the OS >>> admin but he didn't have much
information also. >>>
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
01:00000:00013:2009/11/08 13:58:56.45 kernel Unable
to
Post by ***@peppler.org [Team Sybase]
Post by unknown
open file in DIRECTIO_ON mode, error: (25)
Inappropriate >>> ioctl for device.
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
01:00000:00013:2009/11/08 13:58:56.45 kernel The
device
Post by ***@peppler.org [Team Sybase]
Post by unknown
does not support directio. '/sybtmp04/gi_datadsk1.dat'
will be activated using dsync instead of directio.
What OS are you on?
Michael
Hi Mike,
Its Solaris 10
Thanks
Hi
What is your filesystem type? Is it ZFS by any chance? I
didn't try to use direct io on ZFS by myself, but as far
as I know, direct I/O is not supported on ZFS. I see a
number of ZFS-related posts with similar symptoms in
different forums. There should be no problems with direct
I/O on a UFS filesystem.
Hope it helps
Leonid Gvirtz
http://www.gvirtz-consulting.com
Hi,
I think it is ZFS but not sure, how can I check?

Thanks
Leonid Gvirtz
2009-11-09 10:51:55 UTC
Permalink
Post by unknown
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
Hi,
This is for ASE 15.0.3
we were migrating to new SAN and we also had to
migrate >>> from Raw devices to file system devices using
direct io >>> option. So we created the logicals as a
first step and >>> while I was trying to turn on the
direct io option. I >>> was getting the below error. I
tried to contact the OS >>> admin but he didn't have much
information also. >>>
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
01:00000:00013:2009/11/08 13:58:56.45 kernel Unable
to
Post by ***@peppler.org [Team Sybase]
Post by unknown
open file in DIRECTIO_ON mode, error: (25)
Inappropriate >>> ioctl for device.
Post by unknown
Post by ***@peppler.org [Team Sybase]
Post by unknown
01:00000:00013:2009/11/08 13:58:56.45 kernel The
device
Post by ***@peppler.org [Team Sybase]
Post by unknown
does not support directio. '/sybtmp04/gi_datadsk1.dat'
will be activated using dsync instead of directio.
What OS are you on?
Michael
Hi Mike,
Its Solaris 10
Thanks
Hi
What is your filesystem type? Is it ZFS by any chance? I
didn't try to use direct io on ZFS by myself, but as far
as I know, direct I/O is not supported on ZFS. I see a
number of ZFS-related posts with similar symptoms in
different forums. There should be no problems with direct
I/O on a UFS filesystem.
Hope it helps
Leonid Gvirtz
http://www.gvirtz-consulting.com
Hi,
I think it is ZFS but not sure, how can I check?
Thanks
Hi

I don't have any Solaris environment to check it on right now, but you
can try the following:

1. Run "zfs mount" command. It will display all mounted ZFS filesystems.
2. Check in /etc/vfstab, and try to find your filesystem here.

Hope it helps
Leonid Gvirtz

Loading...