- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extend logical volume
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
тАО01-15-2004 01:28 PM
тАО01-15-2004 01:28 PM
extend logical volume
Can anybody give me the exact procedure on how to extend a logical drive using single user-mode. I want to extent the /, var, stand, usr, opt.
thanks,
Marvin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 01:40 PM
тАО01-15-2004 01:40 PM
Re: extend logical volume
In single user mode:
lvextend -l xxx /dev/vg00/lvol#
extendfs -F vxfs /dev/vg00/rlvol#
The small 'l' is for extents..if you prefer to use the value in Mb then use the large 'L'.
Once done you can just run
init3 (if three is where you come up to)
and the system will finish coming up...
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 01:49 PM
тАО01-15-2004 01:49 PM
Re: extend logical volume
Download and install Ignite/UX:
http://www.software.hp.com/producs/IUX/
Once that is done, create a make_tape_recovery tape (or 2 to be on the safe side):
# /opt/ignite/bin/make_tape_recovery -I -a /dev/rmt/?mn -v -m tar -x inc_entire=vg00
Once you have created the tapes, reboot the system, interrupt the boot sequence, and boot from the tape. With the '-I' option included, you will automatically come up to a menu and you can then go through the Ignite/UX interface and resize your VG00 logical volumes as you desire.
If you have other logical volumes on your system, they should be imported automatically after Ignite finishes reloading your system.
Note that you will need a few hours to do this as this is basically reinstalling your system from scratch. Also if you have your boot drive mirrored, you will have to manually redo the mirroring when you are finished.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 02:33 PM
тАО01-15-2004 02:33 PM
Re: extend logical volume
/var, /usr etc can be extended easily in single user mode, but the difficulty lies in /stand, / and swap, because they need to be contiguous. To do that you'll have to move stuff to other area on the disk and then back.
So the easiest way i suggest is to take a complete backup of VG00 using fbackup and take a Ignite Backup (entire VG00).
Then boot the system through the ignite tape and change the layout (you can change the LVOL Sizes there) and then restore the ignite backup.
That will safely extend your filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 04:14 PM
тАО01-15-2004 04:14 PM
Re: extend logical volume
/ and /stand can't be increased as they are contiguous.
You need to have ignite and a tape drive installed.
#make_tape_recovery -A /dev/rmt/0m -I -v -x inc_entire=vg00 which will back up vg00.
then use the tape to boot the machine and choose advanced installation, which will allow you to increase any file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 06:17 PM
тАО01-15-2004 06:17 PM
Re: extend logical volume
1.You can not extend any logical drive using single user command in HP logical Volume manager. If you are using Veritas Volume Manager you can do it with single command (vxresize).
2. As other says you can not extend stand and root FS. you have to use ignite to do it.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2004 12:12 AM
тАО01-16-2004 12:12 AM
Re: extend logical volume
The process was basically similar to using your root mirror disks to do an upgrade.
- backup root filesystems
- split mirrors
- destroy old mirror disks
- rebuild to new sizes (don't forget mkboot, lvlnboot, etc) using similar filesystem names (eg: lvol1m)
- mount onto new mountpoints (/optnew, /varnew)
- restore required filesystems into new filesystems
- boot from old mirror disks to test
Don't forget that your fstab will need to be different on the new root disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2004 12:18 AM
тАО01-16-2004 12:18 AM
Re: extend logical volume
VIKBRC00010528 - Sys Adm: Using Ignite-UX to extend /stand or / filesystem?
It is about /stand and / filesystems.
For /usr, /opt and /var, in single user mode
# lvextend -L
# extendfs /dev/vg00/lvolx
I hope this helps you.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2004 12:20 AM
тАО01-16-2004 12:20 AM
Re: extend logical volume
extendfs needs raw device file:
# extendfs /dev/vg00/rlvolx
Best regards,
Ettore