- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending root 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
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
05-14-2001 09:31 AM
05-14-2001 09:31 AM
Extending root logical volume
Please advise on how I can extend. I have a feeling it may be the "contiguous" policy.
Thanks,
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 09:36 AM
05-14-2001 09:36 AM
Re: Extending root logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 09:51 AM
05-14-2001 09:51 AM
Re: Extending root logical volume
Are there any other methods?
Thanks,
.Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 09:54 AM
05-14-2001 09:54 AM
Re: Extending root logical volume
If you have more than 1 disk you can use, then Peggy Fong has posted a very effective dd method that you should be able to use. I'll see if I can find it for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 09:57 AM
05-14-2001 09:57 AM
Re: Extending root logical volume
There is no other alternative to make_recovery since it needs to allocate contiguous space, but anyway 140Mb for root should be plenty enough IMHO, but well if thats what you want, go ahead and at the same time extend /stand since it also has to be on contiguous allocation, this will let you save more kernels for backups...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 10:36 AM
05-14-2001 10:36 AM
Re: Extending root logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 11:01 AM
05-14-2001 11:01 AM
Re: Extending root logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 12:12 PM
05-14-2001 12:12 PM
Re: Extending root logical volume
I agree with Patrick that in the case of only one disk in
vg00, Ignite and make_recovery is only possibility.
If however you have extra spare disk you can add to vg00 there is efficient and fast way of extending root fs.
I tried it in the past in HPUX9 and HPUX10. It can be briefly stated as follows (assuming that we want to extend lvol3 which contains root file system):
1. pvcreate /dev/rdsk/cCtTdD
where /dev/dsk/cCtTdD is new added disk
2. vgextend vg00 /dev/dsk/cCtTdD
3. pvmove -n /dev/vg00/lvol4 /dev/dsk/cXtYdZ /dev/dsk/cCtTdD
where /dev/dsk/cXtYdZ is the disk in vg00 used normally.
4. pvmove -n /dev/vg00/lvol5 /dev/dsk/cXtYdZ /dev/dsk/cCtTdD
if necessary, i.e. more free extents needed.
5. lvextend -L new_size_in_MB /dev/vg00/lvol3
now it is possible in contiguous way
6. pvmove -n /dev/vg00/lvol4 /dev/dsk/cCtTdD /dev/dsk/cXtYdZ
pvmove -n /dev/vg00/lvol5 dev/dsk/cCtTdD /dev/dsk/cXtYdZ
7 vgreduce vg00 dev/dsk/cCtTdD
to free added extra disk.
Other variants are possible too.
Hope this helps.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 12:21 PM
05-14-2001 12:21 PM
Re: Extending root logical volume
I've forgotten to add that last month (do not remember the date) the problem of extending root file system was
discussed. I'd like to mentioned what Bill Hassel stated that extending root fs in fact not neccessary, and should be avoided. Personally I share his opinion.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 12:26 PM
05-14-2001 12:26 PM
Re: Extending root logical volume
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 01:54 PM
05-14-2001 01:54 PM
Re: Extending root logical volume
You should not spli. But you can
lvreduce -m 0 /dev/vg00/lvolX
to remove mirroring and after the whole procedure
lvextend -m 1 /dev/vg00/lvolX
to recreate mirrored copies.
So for the time of doing all these reconfigurations you have no mirroring, but it last for a while.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 02:13 PM
05-14-2001 02:13 PM
Re: Extending root logical volume
I am afraid that I did not read your last question carefully.
You have lvol3 mirrored.
So you do not need neither split not lvreduce lvol3.
Instead you should free physical extents on both disks, i.e. extents belonging to lvol4, assuming that lvol4 is mirrored too. In such case you should split lvol4 and pvmove lvol4 and lvol4b.
Hope this brief explanation helps.
Rgds.