1838469 Members
3065 Online
110126 Solutions
New Discussion

Re: Disk issue

 
Alex Lavrov.
Honored Contributor

Disk issue

Not sure if it's LVM ...

I had a LUN in Netapp, 34GB.
When I do disk info I see 34GB, untill now it's OK.

I changed the LUN to 8GB, but when I do diskinfo, I still get 34GB ...

Am I missing something?

Thanx.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
12 REPLIES 12
Naveej.K.A
Honored Contributor

Re: Disk issue

Hi,

I beleive you have unmounted/removed the filesystem, removed/exported the VG...

rmsf -H hardware path
and then
insf -C disk

Recreate the PV, VG, LV, FS again.

Regards,
Naveej
practice makes a man perfect!!!
Devender Khatana
Honored Contributor

Re: Disk issue

Hi,

Just trying rescanning it. HP Ux does not support any feature which allows it to adjust it with changing sizes of physical devices. So probably you system is still using the old information. If ioscan do not solve this try removing and recreating device file using rmsf and mksf.

HTH,
Devender
Impossible itself mentions "I m possible"
Alex Lavrov.
Honored Contributor

Re: Disk issue

I already tried all the above, it didn't help.

There is no PV there yet.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Naveej.K.A
Honored Contributor

Re: Disk issue

Hi,

Does the ioscan output shows correct for the particular device file???

Regards,
Naveej
practice makes a man perfect!!!
Alex Lavrov.
Honored Contributor

Re: Disk issue

Yea, it didn't change since then ...

I think there is something wrong with the storage.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Devender Khatana
Honored Contributor

Re: Disk issue

Hi,

It seems to be a storage issue only. As recreating device file should show correct size only. Check your storage.

HTH,
Devender
Impossible itself mentions "I m possible"
Naveej.K.A
Honored Contributor

Re: Disk issue

Hi,

Is it possible for you to delete the LUN and create another LUN with a different LUN number (so that the host gets a different device file) and then see if diskinfo throws you the correct info!!!

With best wishes,
Naveej
practice makes a man perfect!!!
Bharat Katkar
Honored Contributor

Re: Disk issue

HI Alex,

Is there something like commiting changes (On Filer end) ?? Just guessing ....not much aware of filer.

Regards,
You need to know a lot to actually know how little you know
Steven E. Protter
Exalted Contributor

Re: Disk issue

Seems like this is a non hp array. Either way, booting the system should update the array size.

Try ioscan -fnC disk or regular ioscan to see if it updates.

I also find sometimes:

sam
disk and filesystms
disk information

Causes the system to run commands that updates these figures.

Maneshmah?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: Disk issue

Steps should have been:

pvremove /dev/rdsk/cXtXdX

If it is part of a vg - then you need to vgreduce it first...

rmsf /dev/rdsk/cXtXdX
rmsf /dev/dsk/cXtXdX

Then, resize LUN

Then,
ioscan -fnC disk
insf -e

Sometimes - re-ioscan: ioscan -fnC disk
pvcreate /dev/rdsk/cXtXdX

diskinfo /dev/rdsk/cXtXdX

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Tim D Fulford
Honored Contributor

Re: Disk issue

Hi

reducing the LUN size is usually a bad idea. As an example, LVM likes to have headders and foorters on it's disks, so by reducing the LUN on the NetApp will not update the LVM stuff. Similar things happen for VxFS flesystems... You really need to backup data, remove filesystems, logical volumes & volume group & delet LUN on NetApp/filer. Then re-create LUN, re-creat VG & LV & restore data...

Regards

Tim
-
Alex Lavrov.
Honored Contributor

Re: Disk issue

Thanx for the replies!

Actually it was bunch of problems, one of them misconfiguration in the storage ...


I don't give a damn for a man that can only spell a word one way. (M. Twain)