1834926 Members
2747 Online
110071 Solutions
New Discussion

Re: cannot open device

 
Theodore Alexopulos
Occasional Advisor

cannot open device

Have you ever met in SAN environment if despite devie files are all fine you cannot actually open devices to write
4 REPLIES 4
doug mielke
Respected Contributor

Re: cannot open device

In addition to the local settings, you can check the presentation on the SAN. They can be presented read only.
Theodore Alexopulos
Occasional Advisor

Re: cannot open device

I either cannot read IOCTL error.
Tom Geudens
Honored Contributor

Re: cannot open device

Hi,
I don't want to state the obvious, but that is possible. For example the EMC Symmetrix box has what is called "VolumeLogix"-devices. After you connect the box to the SAN these devices are all you can see (you need to enter VolumeLogix definitions in order to see the other devices). These "VolumeLogix"-devices cannot be written on (not even Windows can do that ;-).
Your case might be something similar ? Or are you definitely sure that you are looking at real disk / tape devices ?

Regards,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
Theodore Alexopulos
Occasional Advisor

Re: cannot open device

These seem to be real devices. The definitions of disks and tape come with "ioscan -f" for example:
disk 85 0/7/0/0.1.14.255.14.4.0 sdisk CLAIMED DEVICE
and device files are:
/dev/dsk/c14t4d0 /dev/rdsk/c14t4d0

I do
#pvcreate /dev/rdsk/c14t4d0
OK

#vgcreate /dev/vg4 /dev/dsk/c14t4d0
vgcreate: Couldn't open physical volume "/dev/dsk/c14t4d1":
Invalid argument

Same situation with tape from a utility I can open the device file /dev/2mnb but I cant read and I cant write