Operating System - Linux
1752775 Members
5237 Online
108789 Solutions
New Discussion юеВ

MSA20 cciss : Inappropriate ioctl for device

 
AriefITRC
New Member

MSA20 cciss : Inappropriate ioctl for device

Hi all,

Our company acquired MSA20 ( + 642 card ).
It is hooked to a SLES9 OS. I've installed appropriate drivers and cpqacuxe/hpacucli/hpaducli tools last time. and it works. I can see the array, assign/delete/mount it so that SLES9 can see it ... no problem.

The software drivers were acquired from :
http://h18007.www1.hp.com/support/files/storage/us/locate/1110_6046.html

The problem is ... the box is not being used for quite a while. And now, sadly it doesn't work when we'd like to utilize some space available from it.

The /dev point was /dev/cciss/c0d0. When I try to mount it, the kernel complains :
/dev/cciss/c0d0: Inappropriate ioctl for device
mount: /dev/cciss/c0d0: can't read superblock

I've also tried to downgrade the installed cpq_cciss version to 2.6.10 as I heard 2.6.12 is causing problem
from : http://sourceforge.net/projects/cciss

but doesn't seem to help at all.

Any help is appreciated.

Thanks,
- Arief -

2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: MSA20 cciss : Inappropriate ioctl for device

>>> /dev/cciss/c0d0: Inappropriate ioctl for device
>>> mount: /dev/cciss/c0d0: can't read superblock

You are trying to mount something that is not mountable. You need to partition the disk and create a file system on it, if not already created.

To list the partition use fdisk -l.

To create new partitions use:

fdisk /dev/cciss/c0d0

Press m for help.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
AriefITRC
New Member

Re: MSA20 cciss : Inappropriate ioctl for device

Hi,
Thanks for the quick reply.

We did format the disk previously by executing fdisk and 'm' command.

Apparently now it seems :
ic126:~ # fdisk /dev/cciss/c0d0
Unable to read /dev/cciss/c0d0
Hmm, a disk failure case ?

I'm pretty sure the driver is loaded.
ic126:~ # lsmod | grep cciss
cciss 72772 0
scsi_mod 118340 6 sg,st,sr_mod,cciss,aic7xxx,sd_mod

I've just realized dmesg output was :
ic126:~ # dmesg | grep cciss
cciss: unsupported module, tainting kernel.
cciss: Device 0x46 has been found at bus 2 dev 8 func 0
cciss: using DAC cycles

Any other idea to test wether it's a disk failure or inappropriate driver x kernel complex ?

SLES9 kernel is 2.6.5-7.97-smp

Thanks,
-Arief-