- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- diskinfo doesn't return new 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
Discussions
Discussions
Forums
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
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
тАО02-27-2008 11:50 AM
тАО02-27-2008 11:50 AM
diskinfo doesn't return new size
Online JFS : every thing should go well to increase the size of a mounted filesystem. Yes, but ...
For some reasons the filesystem itself is mounted directly from a disk special file, not from an LVM structure. When the size of the corresponding LUN is increased, diskinfo doesn't return the new size until the disk special file is released. That is if I want to deal with the new size, I must unmount the FS before. In other words I can't extend the FS size online ... :-(
It is not a problem with LVM, nor Online JFS : vmunix doesn't return new sizes as long as the correspondig resource is in use. For example, a simple "sleep 3600
Tried many ioscan, rmsf, insf, etc ... no way.
I have an idea about your answers :-( , but I wonder if it could be possible to bypass this behavior : a kernel parameter, a patch, some hidden or missunderstood parameters to commands, features from VxVM, or VxFS, that could release a FS a few sec without unmounting, etc ... ????
I forgot : no way to use the new IO stack from 11iv3 ... OS is 11iv2 and can't be upgraded soon.
Thanks in advance.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 12:10 PM
тАО02-27-2008 12:10 PM
Re: diskinfo doesn't return new size
# saconfig /dev/ciss3 -E 1 -c 100
Logical drive 1 extended from 87.9 GB to 100 GB in capacity
# diskinfo -v /dev/rdsk/c3t0d1
SCSI describe of /dev/rdsk/c3t0d1:
vendor: HP
product id: LOGICAL VOLUME
type: direct access
size: 92159040 Kbytes
...
(not changed)
# umount /user1
# vgchange -a n vg01
# vgmodify -o vg01
# vgchange -a y vg01
# diskinfo -v /dev/rdsk/c3t0d1
SCSI describe of /dev/rdsk/c3t0d1:
vendor: HP
product id: LOGICAL VOLUME
type: direct access
size: 104857600 Kbytes
...
This is what I did. Not sure if vgmodify and diskinfo is related anyhow, but maybe my "umount" did it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 01:35 PM
тАО02-27-2008 01:35 PM
Re: diskinfo doesn't return new size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 05:20 PM
тАО02-27-2008 05:20 PM
Re: diskinfo doesn't return new size
I misunderstood your question in my previous reply. I guess "extendfs" is only LVM aware and not physical disk aware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 04:37 AM
тАО02-28-2008 04:37 AM
Re: diskinfo doesn't return new size
Torsten, in your example I think IMHO that vgmodify and diskinfo are not related : diskinfo would have returned the right size just after "vgchange -a n vg01". I did this test yesterday before posting : 1 Go LUN created on EVA, ..., vgcreate, vgchange -a y, increase LUN to 2 Go, diskinfo wrong, vgchange -a n, diskinfo ok.
TTr, my problem is not related to lvm, extendfs, fsadm.
The problem is that I can't extend a FS online, though OnlineJFS is installed, if this FS resides on a raw device. I have to unmount the FS so that diskinfo shows the new size. After that I can "extendfs" before mounting, or mounting then "fsadm -b newsize".
OnlineJFS works well, the fact is that vmunix (diskinfo) doesn't return new sizes as long as the corresponding resource is in use. OnlineJFS has no sense if I have to unmount a FS to get the new size :-(
I can't believe it. Even under Windows, extending a LUN size works : new space is accessible at once after a disk scan ! Of course extending the FS is an other story.
Any idea ? Patch, kernel parameters, unknown command, ... ? Asking HP for modifying this behavior ;-) ?
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 04:53 AM
тАО02-28-2008 04:53 AM
Re: diskinfo doesn't return new size
What happens if you try using the 'remount' option on a mount command:
mount -o remount /dev/dsk/c0t0d0 /myfs
Does it pick up the change in size then?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 04:54 AM
тАО02-28-2008 04:54 AM
Re: diskinfo doesn't return new size
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 05:26 AM
тАО02-28-2008 05:26 AM
Re: diskinfo doesn't return new size
I tried this option yesterday, but it was not the good way :-(
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 05:02 PM
тАО02-28-2008 05:02 PM
Re: diskinfo doesn't return new size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 12:33 AM
тАО03-03-2008 12:33 AM
Re: diskinfo doesn't return new size
Eric