- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- resized LUN but diskinfo shows old size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 11:54 PM
03-29-2005 11:54 PM
resized LUN but diskinfo shows old size
I've got an hpux 11.11 box w/ fabric attached VA7100. One of the LUNs was resized from 9GB to 2GB, but diskinfo still reports it as 9GB. It looks to me like the driver has the info cached somewhere. Any suggestions on how I might correct this problem without bouncing the box?
Yes, the LUN is 2GB now... armdsp shows the correct info.
I also saw there was a SCSI patch for a similar issue back w/ 10.20 and 11.0, so I'd hope the problem fix was included when 11.11 rolled out.
Thanks,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 12:09 AM
03-30-2005 12:09 AM
Re: resized LUN but diskinfo shows old size
Our standard procedure also always is based on adding a LUN of the new size and pvmove'ing.
Unless someone knows the trick, I'd recommend You to go back to 9GB size (for safety in case LVM still assumes extents there) and adding another LUN + moving the data with pvmove, or maybe even mirroring it for a moment. afterwards You can throw out the 9GB lun. This will work online, the only critical point is what happens, when the PE's >2GB are being accessed, but I'd say that the risk isn't too high.
If You're in doubt, let hp look over the LUN with the lvmux11 utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 12:16 AM
03-30-2005 12:16 AM
Re: resized LUN but diskinfo shows old size
A few nodes have access to the LUN. One node's diskinfo shows the LUN as 2GB, while another shows 9GB. I think the admin resizing the lun did diskinfo prior to resizing. So it would make sense that the idle box showed the new 2GB size -vs- 9GB because it actually queried instead of pulling from cache. Does this make sens?
Any how, I'm hoping someone might know a way it can be cleaned up without a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:11 AM
03-30-2005 01:11 AM
Re: resized LUN but diskinfo shows old size
Delete the the lun completely and recreate it with desired size.
I will create new lun and move data to new lun and delete the old one.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:14 AM
03-30-2005 01:14 AM
Re: resized LUN but diskinfo shows old size
I ran into something similar when I deleted a LUN and then recreated it at a smaller sizeon a VA7400. I can't remember what I did to solve the problem though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:22 AM
03-30-2005 01:22 AM
Re: resized LUN but diskinfo shows old size
I've tried rmsf, ioscan, insf and nothing seems to do it.
rmsf -k -H hw_path (and rmsf -a /dev/rdsk/cxtxdx)
ioscan
insf -e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:27 AM
03-30-2005 01:27 AM
Re: resized LUN but diskinfo shows old size
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:29 AM
03-30-2005 01:29 AM
Re: resized LUN but diskinfo shows old size
Unfortuneately, the only process I know works involves destructive removal of the logical volume.
lvremove
vgreduce
pvcreate
vgextend
This problem generally occurs with non-HP disk arrays.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:41 AM
03-30-2005 01:41 AM
Re: resized LUN but diskinfo shows old size
I'm working on a passive node and just tried
rmsf -k -H 0/4/0/0
ioscan
insf -e
and again I've got nuthin...
I really was hoping not to bounce the box for this. Maybe I'll try one last time to remove and recreate the LUN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:44 AM
03-30-2005 01:44 AM
Re: resized LUN but diskinfo shows old size
What about --
1) Remove LUN from VA
2) Run diskinfo on non-existant LUN. You *should* get an error.
3) rmsf device files
4) recreate LUN
5) ioscan and insf to recreate device files
6) run diskinfo again.
If the info is cached somewherre maybe running the diskinfo and having it error (hopefully) will clear that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:45 AM
03-30-2005 01:45 AM
Re: resized LUN but diskinfo shows old size
I don't know why this is happening, but I'm afraid that the disk won't be rescanned before You remove it again on the VA, and then remove the special files and wait for the kernel to drop it from ioscan.
Short of a reboot (and that shouldn't be neccessary), I can't tell for sure, even when scratching my head.
I've not yet seen diskinfo lying to me in such situations.
the patches interesting would be both scsi and 'ioscan performance' and the likes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 02:00 AM
03-30-2005 02:00 AM
Re: resized LUN but diskinfo shows old size
I tried...
removing the lun
ioscan
diskinfo (still resturned info for removed lun)
rmsf -k -H hw_path
ioscan
diskinfo --> failed
created lun
ioscan
insf
diskinfo --> 9GB. doh!
Maybe I forgot to blink 3 times and clap my hands before running the last ioscan.
It's about time to call HP so the RC can tell me to install a patch that will require a reboot and magically fix my problem. :)
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 03:47 AM
03-30-2005 03:47 AM
Re: resized LUN but diskinfo shows old size
What about this - can you leave that LUN there - then create a new LUN of 2 gb's - and check it with diskinfo?
Then remove the old one (and devs, etc...).
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 05:29 AM
03-30-2005 05:29 AM
Re: resized LUN but diskinfo shows old size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 06:27 AM
03-30-2005 06:27 AM
Re: resized LUN but diskinfo shows old size
Off topic -- Just curious....Have you changed jobs? You used to work in the HP RC didn't you?
No points please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 06:32 AM
03-30-2005 06:32 AM
Re: resized LUN but diskinfo shows old size
You're right. I left the response center Sept 2003 in favor of being a full time SysAdmin in St Louis.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 06:58 AM
03-31-2005 06:58 AM
Re: resized LUN but diskinfo shows old size
I came across this problem several months ago, and unfortunately reboot was the only option. When you recreate a lun with the same name as a previous one or resize it diskinfo will only use the cached info from the last reboot. Please update this thread if you find a way to do this without reboot.
thanks,
peyman;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 07:46 AM
03-31-2005 07:46 AM
Re: resized LUN but diskinfo shows old size
1 of the 3 nodes w/ access to the same LUN doesn't have this problem. I can delete and recreate the lun as a different size and the one node sees the correct size immediatley, no ioscan or insf or reboot needed. Strange thing is that the good node was cloned from one of the problem nodes... and they're at the same patch revs. The only difference is the way the connect to the fabric.
problem nodes attach have to fc hba's, each hba is connected to a seperate fc switch. Each one of the va's controllers is also connected to each one of the switches. There's an isl between the 2 switches. The "good" node is connected via a 3rd switch that has an isl to the other 2 switches. Theses fc swaitches are brocade 2800's at f/w 2.6.2a.
Anyone have any other ideas here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 09:59 AM
03-31-2005 09:59 AM
Re: resized LUN but diskinfo shows old size
I've not had problems with this.
I just tested on 11.11 and VA7110.
Created 2.3GB LUN 501.
ioscan
insf -e
diskinfo reports 2.3GB.
Deleted the LUN.
diskinfo *reports an error*, as I would expect.
Created 4.3GB LUN 501.
diskinfo immediately reports 4.3GB
Deleted the LUN.
Created 1.3GB LUN 501.
diskinfo immediately reports 1.3GB
Deleted the LUN.
diskinfo reports an error
My systems are also dual-attached thru 2 fabrics.
No problems at all.
However, I *am* patched up to date with *all* patches.
Also, mine are VA7110's, not VA7100's.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 10:22 AM
03-31-2005 10:22 AM
Re: resized LUN but diskinfo shows old size
And I was thinking you cannot resize a 7100 lun. Because of that I was always removing the lun and recreating it with the new size, which never gave me any trouble. (whith exception of fabric login)
regards,
peyman;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 06:54 AM
04-01-2005 06:54 AM
Re: resized LUN but diskinfo shows old size
I've run vxdiskunsetup -C on the disks, but no change. I also tried to shutdown the vxvm stuff, all works well except I can't kill vxiod. This is probably while I'll have to bounce the box.
Anyone else have this problem w/ vxvm and lun changes?
-denver