1838143 Members
5729 Online
110124 Solutions
New Discussion

disk use

 
Fredy Correa
Advisor

disk use

As I can know if a disk this being used by something???
if I give him the command ls - lart /dev/dsk shows me the disk c8d10t2, but if I give him the command diskinfo / dev/rdsk/c8d10t2 tells me that there is an error. I need to revise that not him this using anything to be able to erase it and to configure it again.
It is urgent,
Thank you,

Fredy C.
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: disk use

You should note the the prescence of a device node (e.g. ls -l /dev/dsk/cXtYdZ or /dev/rdsk/cXtYdZ) actually means very little. It means that at one time (and maybe now) there was a device associated with this node but it means little more than that.

A better test is ioscan -C disk -fn. If you see "CLAIMED" associated with the device then that is a stronger indication. If you see "NO_HW" that indicates that there is a problem associated with the device.
If it ain't broke, I can fix that.
Anshumali
Esteemed Contributor

Re: disk use

clay is right... this might be problematic or stale device file... do a ioscan -fnC disk and reconfirm...

Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Jollyjet
Valued Contributor

Re: disk use

Hi,

Check whether the disk is getting amber light, get the out put of ioscan -fnC disk and confirm the disk is in good status run insf -e and try to get the diskinfo and check whether the problem repeats again if it repeats remove the volume group and recreate the volume group and confirm it is a harddisk issue.
Fredy Correa
Advisor

Re: disk use

Thanks,the problem has resolved.

Fredy C.