- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend of /stand ?? 10.20
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
09-22-2001 06:55 AM
09-22-2001 06:55 AM
lvextend of /stand ?? 10.20
If I can't do this I will have to do a clean install...Which is not a good option.
my vg00 has volumes that can be removed to create space.
I'm still new to Unix so a cook-book would be a perfect 10....
Thanks,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 07:25 AM
09-22-2001 07:25 AM
Re: lvextend of /stand ?? 10.20
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd1d6d08cc06fd511abcd0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x167087dc4d7dd5118ff00090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc98f663ce855d511abcd0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xb88f663ce855d511abcd0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 07:27 AM
09-22-2001 07:27 AM
Re: lvextend of /stand ?? 10.20
There are other ways to do this, but the easiest way to do this is to install ignite/UX (free software from HP) from
http://www.software.hp.com/products/IUX/download.html
create a disaster recovery tape (ignite image) of your system using make_tape_recovery or make_recovery
boot the server using the ignite tape/image - and interrupt it before it starts restoring.
go to advanced installation and choose your new sizes for your filesystems
This will rebuild of the system with the new size for /stand, increase / if necessary
You might want to look at the thread
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x377dabe92dabd5118ff10090279cd0f9,00.html
for more information on ignite/UX, refer to
http://www.software.hp.com/products/IUX/docs.html
That said, if you are upgrading to 11.0 might as well do a clean install of 11.0 rather than increasing /stand (which is going to take atleast an hour or two) and then upgrading from 10.20 to 11.0.
The issue of which is better (cold install or upgrade ) has been discussed umpteen times, just do a search in the forums.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 07:50 AM
09-22-2001 07:50 AM
Re: lvextend of /stand ?? 10.20
Keep in mind /, /stand and primary swap must be contiguous. I believe there were also limitations about everything having to be on the first ?? mbytes of the 1st disk, but I don't remember what the limit was. You will not only have to free up space, but you will have to free up "contiguous space".
Anyway, here are the instructions.
1) Run "lvlnboot -v" and write down this info. By writing down this info you can fix any problems that could come up.
2) Use "shutdown -r -y 0" to reboot the system.
3) Interrupt the boot sequence during the 10 seconds you get.
4) Use "bo pri" and type "y" to interact with the ISL when prompted (unless you are on a V-Class where you will need to use "bo pri -is" as one command).
5) Type "hpux -is" to boot to single user mode.
6) Use "/sbin/lvextend -l ?? /dev/vg00/lvol?" to extend the /stand filesystem.
7) Now use "extendfs -F hfs /dev/vg00/lvol?"
8) To test everything run "vgchange -a y vg00"
9) Use "mount -a" (run fsck on anything with errors in vg00). Run "mount -a" again if necessary. Make sure all of vg00 mounts.
10) Run "lvlnboot -v" to make sure all boot definitions are the same as before. If not post differences on this forum to ensure all is well.
11) Reboot again by running "shutdown -r -y 0" and all should come up fine.
NOTE: If you can clean up any old unused kernels, old system files or cores you might be better off than resizing this logical volume. Keep in mind that this fs should never grow unless you are modifying the kernel so it's original size should work (unless it was too small to begin with).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 09:15 AM
09-22-2001 09:15 AM
Re: lvextend of /stand ?? 10.20
It will be tough for you to increase the size of /stand witout a reintall. However if you still want to do, use the method suggested by ramesh. Load ignite on your system, if you don't have it. Create a igite recovery tape and using that tape reinstall the system and increase the size of filesystems you want to.
However i would also suggest you to do a clean install of 11.0. That would be a better choice given the position you are in.
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 11:07 AM
09-22-2001 11:07 AM
Re: lvextend of /stand ?? 10.20
The /stand filesystem is (and must) be allocated with congiguous physical extents. Therefore, it will not be possible to simply 'lvextend' it.
If you really want to enlarge it, I suggest the guaranteed successful approach: Create an Ignite recovery tape (with a *current* version of 'make_tape_recovery'), and cold-install your *existing* OS. Specify the advanced installation options at install-time, and size your filesystems to your needs.
The collective experience of many, many members of this community has been that a *cold installation* of 11.x is less likely to fail than is an upgrade from 10.20.
While you *definitely* want to take an Ignite recovery (backup) of your 10.20 OS disk before you *either* upgrade or install, in my opinion you will save work and increase your chance of successfully migrating to 11.x if you simply cold-install.
I recently responded to another post asking for some guidance during cold-installation. See my comments in this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xda80abe92dabd5118ff10090279cd0f9,00.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 08:13 PM
09-22-2001 08:13 PM
Re: lvextend of /stand ?? 10.20
However, if you're really brave and the machine is expendable then you might want to try the suggestion in the following link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd1d6d08cc06fd511abcd0090277a778c,00.html
Since you're only other alternative would be to do a cold install. Personally, I would opt for the cold install myself as it tends to not carry over the baggage from the previous install, but you have to make sure to back up lots of system config files.
Here is link that lists some of these files....its not comprehensive, but then what is :-)
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xda80abe92dabd5118ff10090279cd0f9,00.html
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 11:44 PM
09-22-2001 11:44 PM
Re: lvextend of /stand ?? 10.20
First of all I will tell U that lvol1(boot) , lvol2(swap), and lvol3(root) should be contiguos. It means lvol2 will start just after lvol1. There will not be any LEs free or alloted to some other lvol.
So, If U want to increase /stand(lvol1) U will have to decrease lvol2 (Primary swap). I will give U the full procedure.
Reboot the system
Interrup the booting process
Type like this in main menu
Main menu>bo pri
Inetract with ISL? yes
ISL>hpux -lm (To enter in to lvm maintanance mode)
Now U will come to prompt. First not down the BDRA details by using
#lvlnboot -v
Now U will have to remove BDRA entris first
#lvrmboot -r /dev/vg00/lvol3
#lvrmboot -s /dev/vg00/lvol2
#lvrmboot -d /dev/vg00/lvol2
#lvrmboot -b /dev/vg00/lvol1
#lvlnboot -v
Now it should not show any link. If still there use lvrmboot with different orders.
Now U will have to remove primary swap (lvol2).
#lvremove /dev/vg00/lvol2
Now U will have to extend the /stand as per ur requirement
#lvextend /dev/vg00/lvol1
#extendfs /dev/vg00/rlvol1
Now create lvol2 with available space. Means, suppose ur previous space was 100MB, from this 50 MB U added to lvol1, Now available space for lvol2 is 50MB only.
#lvcreate -C y -r n -L 50 -n lvol2 /dev/vg00
Now U will have to add BDRA entries
#lvlnboot -b /dev/vg00/lvol2
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -R
#lvlnboot -v
Compare the entries which U noted earlier and current. It should be same.
Now reboot the system and check the new size of /stand. Swap U can add file system swap.
BEst of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2001 07:40 AM
10-14-2001 07:40 AM
Re: lvextend of /stand ?? 10.20
In doing this I know whats on the system, and it allowed me to free up alot of disk space.
Thanks,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2001 10:42 AM
10-14-2001 10:42 AM
Re: lvextend of /stand ?? 10.20
The logic is to maintain the contiguity of /stand file system. Remove the primary swap, extend /stand and then recreate the swap with a reduced size in lm maintenance mode.
-C y and -rn options are must.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 09:10 PM
12-05-2001 09:10 PM
Re: lvextend of /stand ?? 10.20
Siewhoong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2001 09:14 PM
12-05-2001 09:14 PM
Re: lvextend of /stand ?? 10.20
Where the link states 1,1150
remove the 1150 numbers which will leave it as 1,,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd1d6d08cc06fd511abcd0090277a778c,00.html
to
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd1d6d08cc06fd511abcd0090277a778c,00.html