Operating System - HP-UX
1837540 Members
3588 Online
110117 Solutions
New Discussion

Re: EMC lun size increase

 
Simeon Harwood
Regular Advisor

EMC lun size increase

Afternoon all,
I've extended the size of an EMC lun, but am having dificulty getting HPUX to see the change. I'm using LVM. I know that the kernel grabs the size of a disk, and keeps it. What I don't know is how to get the kernel to drop it so that it can see the new size. I'm fairly sure that I've seen this in the past and a good old fashioned reboot sorted it out, but I can't reboot this machine.
Any ideas?

Sime.
You never had this problem with a pencil and paper!
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: EMC lun size increase

As far as I know, the HP-UX LVM does NOT support LUN resizing.

The easier method is to create a new LUN to add to a VG.
Simeon Harwood
Regular Advisor

Re: EMC lun size increase

Ok point taken, but I've even gone as far as getting rid of the lun completely, removing all the device files, and re-creating the lun from scratch.
The lun I'm creating is for a service guard cluster. On one machine it shows the correct size, but on the other it shows the wrong size. I did origanialy create the lun at 22GB, then increased it to 90GB. The box that I'm having trouble with is telling me that the lun is 22GB (the original size.)
At the moment I'm not actually using LVM, I'm just presenting the LUN and using the following commands: -
ioscan -fnC disk
insf -eC disk
ioscan -fnC disk
diskinfo /dev/rdsk/cxtxdx
This tells me that the size is 22GB
Any ideas?

Sime.
You never had this problem with a pencil and paper!
RAC_1
Honored Contributor

Re: EMC lun size increase

On the other cluster node, do rmsf for the old device file. Do ioscan and insf

Now run diskinfo on that.

Anil
There is no substitute to HARDWORK
Simeon Harwood
Regular Advisor

Re: EMC lun size increase

Ok here are some outputs from the 2 boxes.
I've got one lun presented via dual paths to 2 machines
This is the same lun presented to both hosts:-

Machine A
# diskinfo /dev/rdsk/c10t7d0
SCSI describe of /dev/rdsk/c10t7d0:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 95278080 Kbytes
bytes per sector: 512

# diskinfo /dev/rdsk/c6t2d4
SCSI describe of /dev/rdsk/c6t2d4:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 95278080 Kbytes
bytes per sector: 512

# rmsf /dev/dsk/c10t7d0 /dev/rdsk/c10t7d0 /dev/dsk/c6t2d4 /dev/rdsk/c6t2d4
# rmsf -H 0/12/0/0.1.31.0.0.7.0
# rmsf -H 0/10/0/0.1.27.0.0.2.4
# ioscan -fnC disk
# insf -eC disk

# diskinfo /dev/rdsk/c10t7d0
SCSI describe of /dev/rdsk/c10t7d0:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 95278080 Kbytes
bytes per sector: 512

# diskinfo /dev/rdsk/c6t2d4
SCSI describe of /dev/rdsk/c6t2d4:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 95278080 Kbytes
bytes per sector: 512



---------------------------------------------

Machine B

# diskinfo /dev/rdsk/c14t7d0
SCSI describe of /dev/rdsk/c14t7d0:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 23819520 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c17t2d4
SCSI describe of /dev/rdsk/c17t2d4:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 23819520 Kbytes
bytes per sector: 512
# rmsf /dev/dsk/c14t7d0 /dev/rdsk/c14t7d0 /dev/dsk/c17t2d4 /dev/rdsk/c17t2d4
# rmsf -H 0/4/0/0.1.31.0.0.7.0
# rmsf -H 1/10/0/0.1.27.0.0.2.4

# ioscan -fnC disk
# insf -eC disk

# diskinfo /dev/rdsk/c14t7d0
SCSI describe of /dev/rdsk/c14t7d0:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 23819520 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c17t2d4
SCSI describe of /dev/rdsk/c17t2d4:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 23819520 Kbytes
bytes per sector: 512
You never had this problem with a pencil and paper!
Suraj Singh_1
Trusted Contributor

Re: EMC lun size increase

Hi,

Are you sure you are pointing to the same LUN you are talking about.

Can you post the "ioscan -kfnC disk" output from both the machines.

Regards
What we cannot speak about we must pass over in silence.
Simeon Harwood
Regular Advisor

Re: EMC lun size increase

I've got this sorted now. I got rid of the luns, and re-created them with different scsi ID's and the new lun can been seen by both nodes at the same size.

Thanks for all the help.

Sime.
You never had this problem with a pencil and paper!