vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am trying to write a script to identify a shared disk attached to two system. In AIX there is a unique disk id attached with each disk, is there something similar in HPUX? I just want to identify a shared disk and notify the same on console. Regards, Harshal |
| ||||
| On 30 Jun, 04:31, Harshal <p.hars...@gmail.com> wrote: > Hi, > > I am trying to write a script to identify a shared disk > attached to two system. In AIX there is a unique disk id attached with > each disk, is there something similar in HPUX? I just want to identify > a shared disk and notify the same on console. > > Regards, > Harshal I have used the following to uniquely identify disk between two systems: head -200 /dev/dsk/c#t#d# | cksum This will give you a unique checksum. It works for me, but test it in your environment first! Cheers, Jim |