- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11 v3 root parttion extend
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-29-2010 04:42 PM
10-29-2010 04:42 PM
Please advice how to extend the "/" partition in the hp-ux 11 v3 ?
Regards
Nirukshitha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2010 05:32 PM
10-29-2010 05:32 PM
Re: HP-UX 11 v3 root parttion extend
Normal lvextend command is not recomended,because the /stand, swap and / partitions must be contiguous.
So use advanced optiones in ignite restore.
Refer the below thread.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1288400765299+28353475&threadId=1450047
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2010 09:41 PM
10-29-2010 09:41 PM
Re: HP-UX 11 v3 root parttion extend
Only option to root partition extend is to take ignite install with Advance option.
Please refer below thread.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1293807
Hope this solves ur query.
Don't forget to assign points.
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 10:01 AM
10-30-2010 10:01 AM
Re: HP-UX 11 v3 root parttion extend
==> Only option to root partition extend is to take ignite install with Advance option.
This is nonsense. I would give you more than 3 methods to do it without Ignite.
Shehan =
Ignite is one of the method which is easy, but downtime required.
There are some other methods, but all other will require an extra disk and need proper planning.
Please let me us know if you dont have Ignite configured and if you are not willing to opt Ignite.
1.using DRD, white paper is available.
2. you can use pvmove.
3. using mirroring.
4. using lvm maintenance mode = required down time
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 11:02 AM
10-30-2010 11:02 AM
Re: HP-UX 11 v3 root parttion extend
===>This is nonsense. I would give you more than 3 methods to do it without Ignite.
The above words are not allowed as per this forum, I request moderator to take necessary action on this.
Sooraj
can u please explain how root can be extend using mirroring, using pv move?????
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 06:28 PM
10-30-2010 06:28 PM
Re: HP-UX 11 v3 root parttion extend
I already seen some argument about this in few forums regarding. But I could not figure out extract way to do this without hassle.
I have already done this for hp-ux v1 using ignite, but It is required downtime and also tape drive for backup.
Currently, I don't have tape drive as well as getting the downtime is also bit difficult.
Hence, I would like to know whether we can proceed this in the new hp-ux version using another good method as mentioned.
Regards
Nirukshitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 07:44 PM
10-30-2010 07:44 PM
Re: HP-UX 11 v3 root parttion extend
Extending root fs in hpux can be done without restoring ignite backup.but you required folloing things,
1. root disk must be mirrored.(lvm mirroring)
2.online JFS should be installed.
(swap, root(/) fs are contiguous)
how to perform.
1.do lvreduce to reduce mirror volume in mirrored disk until root volume.
lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/cxtxtx (this should mirrored disk)
do this until root disk.(don't reduce for root fs in mirrored disk)
2.reduce root fs in root disk(make sure root fs mirrored and syncd)
3. extend root fs in mirrored disk.
4.Remirror all fs as usual.
5.now all fs mirrored and syncd(wait for syncing)
6.now reduce mirror for all other volume after root fs from root disk.(after sync only you should do)
7.once reduced. remirror again. hopefully this method wll help you.we don't need downtime for this method..only steps need to followed properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 07:46 PM
10-30-2010 07:46 PM
Re: HP-UX 11 v3 root parttion extend
do this until root volume(lvol3).(don't reduce for root fs in mirrored disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 07:50 PM
10-30-2010 07:50 PM
Re: HP-UX 11 v3 root parttion extend
this may confuse you,,,
reduce mirror of root volume(/) from root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 08:56 PM
10-30-2010 08:56 PM
Re: HP-UX 11 v3 root parttion extend
Hello Kanagaraj,
Can you explain point no: 6 & 7 in detail and again why we are reducing...
Regards,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 09:46 PM
10-30-2010 09:46 PM
Re: HP-UX 11 v3 root parttion extend
From the doc, Dynamic Root Disk Administrator's Guide
HP-UX 11i v2, HP-UX 11i v3
HP Part Number: 5992-6590
Published: September 2009
Edition: 1.0
7.7.1.4 Q: Can I change file system sizes when I create a clone?
A: This release of DRD does not provide a mechanism for resizing file systems during
a drd clone operation. However, after the clone is created, you can manually change
file system sizes on the inactive system without needing an immediate reboot. The
Using the Dynamic Root Disk Toolset white paper describes resizing file systems other
than /stand. The Using the DRD toolset to extend the /stand file system in an LVM
environment white paper describes resizing the boot (/stand) file system on an inactive
system image. You can access these white papers at:
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 10:15 PM
10-30-2010 10:15 PM
Re: HP-UX 11 v3 root parttion extend
How much you want to extend ? The new addition is more than the space of /tmp ?
If not then you can think of extending root partition (in single user mode) after removing /tmp (make sure you have proper backups) and then create /tmp logical volume.
But the better ways are suggested above use DRD / Ignite .
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 10:17 PM
10-30-2010 10:17 PM
Re: HP-UX 11 v3 root parttion extend
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 10:25 PM
10-30-2010 10:25 PM
Re: HP-UX 11 v3 root parttion extend
Please find the attached procedure using mirroring , please avoid the above one.
The command and outputs will give your more clarification.
Please note that, it is recommended that you have an Ignite back up when ever you do any modification.
If your system goes down/crash with any reason while doing this activity , you will not have a valid boot disk to boot.
If you dont have a tape drive, you can create a DRD clone as a backup.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2010 10:27 PM
10-30-2010 10:27 PM
Re: HP-UX 11 v3 root parttion extend
pvmove method is something similar to mirror.
move the lvols to other disk
then extend lvol3
then mov back
using single usermod/lvm maintenance mode,
1. take backup of lvol4
2. remove lvol4
4. extend lvol3
5. extend the filesystem.
6. recreate lvol4
7. create the filesytem.
8. restore the backup
9. extend lvol 4 if you required.
10. update lvlnboot
I am really busy and I dont have time to prepare the procedure for this also. I hope this helps.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 03:36 AM
10-31-2010 03:36 AM
Re: HP-UX 11 v3 root parttion extend
I am also unclear step 6 & 7 . Do you mean us to apply same procedures for other logical volume as well in the root disk?
Regards
Nirukshitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 03:46 AM
10-31-2010 03:46 AM
Re: HP-UX 11 v3 root parttion extend
As per your steps, I can not understand steps 7 and 8. In the step 5, It is required to build the mirror, but step 7 , it is required to brake the mirror. What is it ?
Regards
Nirukshitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 04:35 AM
10-31-2010 04:35 AM
Re: HP-UX 11 v3 root parttion extend
I want to extend the "/" root partition which is being already mirrored. Then, do I need to follow all the steps as mentioned?
Regards
Nirukshitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 04:51 PM
10-31-2010 04:51 PM
Re: HP-UX 11 v3 root parttion extend
Please find the commands if you have already mirrord disk.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 04:56 PM
10-31-2010 04:56 PM
Re: HP-UX 11 v3 root parttion extend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 05:07 PM
10-31-2010 05:07 PM
Re: HP-UX 11 v3 root parttion extend
Example, move lvol4 away from lvol3 , thus creating a contegeous space right after lvol3. If you need more space on "/" you will be able to move lvol5 ...6 to the next disk and do the stuff. Do remember to migrate them back to the original disk.
Now, if you have mirrored root vg, then break the mirror before you do this.
strings /etc/lvmtab |grep c7t0d6
pvcreate -f /dev/rdsk/c7t0d6
vgextend /dev/vg00 /dev/dsk/c7t0d6
lvdisplay -v /dev/vg00/lvol4 |more
lvreduce -m 0 /dev/vg00/lvol4
lvdisplay -v /dev/vg00/lvol4 |more
pvmove -n /dev/vg00/lvol4 /dev/dsk/c0t6d0 /dev/dsk/c7t0d6
lvextend -L 1024 /dev/vg00/lvol3
fsadm -b 1024M /
pvmove -n /dev/vg00/lvol4 /dev/dsk/c7t0d6 /dev/dsk/c0t6d0
vgreduce /dev/vg00 /dev/dsk/c7t0d6
lvextend -m 1 /dev/vg00/lvol4
boot,swap and root are the only lvols that needs a contegeous policy. so , it does not matter where lvol4 is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2010 05:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 05:04 AM
11-01-2010 05:04 AM
Re: HP-UX 11 v3 root parttion extend
Would you mind if I request you to assign points to the answers if it fulfilled your requirement??
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 08:36 AM
11-01-2010 08:36 AM
Re: HP-UX 11 v3 root parttion extend
Thank you very much for the help. I will try on this and let you know.
Regards
Nirukshitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 08:42 AM
11-01-2010 08:42 AM
Re: HP-UX 11 v3 root parttion extend
by the way , go through the link below.
http://forums11.itrc.hp.com/service/forums/helptips.do?#28
Regards,
Sooraj