- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: growing a filesystem that is on the san
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
10-03-2007 02:40 AM
10-03-2007 02:40 AM
But what I don't know exactly is what to do on the unix side once I create that metalun
The plan.
1. I have a 5g lun that is full, I intend to create a 5g metalun to join it (EMC cx400). Once I have done that I suppose I need to find a way on the HPUX (11i) box to make it aware that the lun is bigger now. Then once it knows that use my OnlineJFS to grow the filesystem.
Later (another down time) I plan to create a new 10g lun, migrate my 2 part lun there and remount the filesystem so it is all one lun.
My problem is I don't know what to use to tell the HP box that the lun it knows is now 5g bigger so I can use the onlineJFS to grow the filesystem. Any help?
If this doesn't make sense, ask me questions and I will try and clear it up. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:46 AM
10-03-2007 02:46 AM
Re: growing a filesystem that is on the san
1. pvcreate "new lun"
2. vgextend "new lun"
3. lvextend -L 10g
4. extendfs -F vxfs "filesystem"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:52 AM
10-03-2007 02:52 AM
Solution1) Create a 2nd GiB LUN and make sure that it is zoned for your HP-UX box.
2) ioscan -C disk -fn
3) Use vgextend to add the 2nd LUN to your existing volume group.
4) Use lvextend to grow your existing LVOL.
5) Use fsadm -F vxfs -b larger_size to grow the filesystem.
The above steps assume that you are running LVM rather than VxVM; if using VxVM the steps are similar. It also assumes that you are running OnlineJFS. If so, you can do all of this "on the fly" and with applications running.
There is really no advantage to later converting this to a 10GiB LUN although you are certainly free to do so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:53 AM
10-03-2007 02:53 AM
Re: growing a filesystem that is on the san
You are best to create a new lun and extend the vg and then the file system.
Only way to do what you want is, backup data, export the vg, change the lun size, re-create the vg, create your lvols / filesystems, then restore your data.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:55 AM
10-03-2007 02:55 AM
Re: growing a filesystem that is on the san
1) Create a 2nd GiB LUN and make sure that it is zoned for your HP-UX box.
2) ioscan -C disk -fn
3) run pvcreate on new LUN
4) Use vgextend to add the 2nd LUN to your existing volume group.
5) Use lvextend to grow your existing LVOL.
6) Use fsadm -F vxfs -b larger_size to grow the filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:59 AM
10-03-2007 02:59 AM
Re: growing a filesystem that is on the san
I'm afraid that with metalun you cannot resize the PV without recreating it (pvcreate), because the size of the PV is hardcoded into the PVRA... If it's the only disk in the VG, you can backup your data, remove the VG, create your PV, recreate the VG and the LV and finally restoring your data...
Regards;
J. Bravo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:00 AM
10-03-2007 03:00 AM
Re: growing a filesystem that is on the san
What would you need to know about what version of HPUX that I am running to verify this. You make it sound awfully simple, maybe it is, but being new to it I am a little confused.
I am running HPUX B.11.11
Thanks to all for the help so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:02 AM
10-03-2007 03:02 AM
Re: growing a filesystem that is on the san
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:11 AM
10-03-2007 03:11 AM
Re: growing a filesystem that is on the san
Regards,