1833815 Members
2442 Online
110063 Solutions
New Discussion

Hard Disk

 
Sarkis Canon
New Member

Hard Disk

Hi Everybody,
We are adding a 4G hard disk to our E35 server
running HP-UX 10.20, ioscan detects the disk
and the vendor, but when we try to create a
volume group via SAM we get a message that the
disk is unknown and therefore it is ignored.
The hard disk is not brand new, but it was working perfect on another system with HPUX 9.04. Any ideas ? Thank you all.
7 REPLIES 7
Ravi_8
Honored Contributor

Re: Hard Disk

Hi,

if the system is detecting the newly added harddisk, check /dev/dsk , whether file has been created for that disk.
then #pvcreate -f /dev/dsk/cxtxdx (cxtxdx is the new file created for added harddisk)
#vgextend vgxx /dev/rdsk/cxtxdx.
where vgxx is the volume group to be extended
never give up
Michael Tully
Honored Contributor

Re: Hard Disk

Hi,

From the command line post the output of this command:

# /usr/sbin/ioscan -fn

We need to determine whether it is a driver issue or the system doesn't recognise the type of disk.

Michael
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: Hard Disk

Hi,

First do and "ioscan" and find out the disk device file name. Then do a diskinfo for the ear device for the disk,

diskinfo -v /dev/rdsk/cxtydz

If this works. Next try to do a pvcreate "pvcreate -f /dev/rdsk/cxtydz". Next you can add the disk using command line or you can use sam to add the disk. If you still have problems, can you post the error message you are getting. IF the diskinfo command doesn't work, can you post your ioscan output and the results of the diskinfo command.

Hope this helps.

Regd
Bill Hassell
Honored Contributor

Re: Hard Disk

SAM has a list of hardcoded disk ID's stored in a table, so if you are not up to date on patches, thios disk may not be present. As mentioned, just using pvcreate and then vgcreate (after creating the /dev/vgXX directory and using mknod to create the group file), you'll accomplish what SAM does automatically (when it knows the disk ID).


Bill Hassell, sysadmin
Sanjay_6
Honored Contributor

Re: Hard Disk

Hi,

Like bill has suggested, you /etc/disktab entries should be up-to-date. Though for a 4GB disk you should not be having problem with the disktab entries.

Hope this helps.

Regds
Sarkis Canon
New Member

Re: Hard Disk

Thank you all guys, as Bill has suggested I believe it is a patch problem, pvcreate could not detect the disk. The question now is which
patch should be installed to update the disktab file
Sarkis Canon
New Member

Re: Hard Disk

Thank you all guys, as Bill has suggested I believe it is a patch problem, pvcreate could not detect the disk. The question now is which
patch should be installed to update the disktab file.