- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Migrating" to bigger disk
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
12-30-2006 10:39 PM
12-30-2006 10:39 PM
I'd like to move my 11.00 to a bigger disk, but without volumes, because they are nemesis of my existence (I'm just tired of constant resizing to keep space requirements).
Is that possible, or I'm better off with installing fresh system on new disk?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 10:48 PM
12-30-2006 10:48 PM
Re: "Migrating" to bigger disk
1) You should install 11.11 or 11.23 on a new disk and migrate all your applications. 11.00 support ends in a few short hours and its nice to have HP to call on problems.
2) If you MUST migrate, I would suggest using make_tape_recovery or make_net_recovery to build and image of the old system. After that you can recover to the new larger disk and adjust filesystem sizes to the new, larger reality.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 11:00 PM
12-30-2006 11:00 PM
Re: "Migrating" to bigger disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 11:37 PM
12-30-2006 11:37 PM
Re: "Migrating" to bigger disk
I'm going to take another shot at this.
A standard, Linux "style" installation on one gigantic disk volume would avoid the problem of constant resizing of logical volumes.
What you have not made clear up to this point is what you are re-sizing. If its application data areas, the Linux "style" solution would work. There are inherent problems however.
1) Its not systems administration. You set sizes in order to have hard limits on use by one user or appliction.
2) A situation that fills the system means it stops dead, not just the user or application. If an Oracle application in an /oradb filesystem fills up the system lives on. In the one volume format the filesystem that just got filled up is root and thats game over, boot into single user mode, downtime until its fixed time.
The way most of us have done it over the years is t set reasonable sizes on the various logical volumes. Make sure /stand is big enough for a few kernels, make sure /var is big enough for the logs, make sure the application logical volumes are reasonable and can be grown to meet new needs.
Constant resizing is part of what an administrator does, its not fun but thats kind of why we get paid to go to work.
With more details I'd be happy to clarfiy further. I reiterate that getting off of 11.00 is an idea that should be looked at immediately. Unless of course you are the US Navy and can afford to spend endless dollars on special support agreements, as is apparently done to support 10.20 systems on various Naval Warships.
Regards,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 11:53 PM
12-30-2006 11:53 PM
Re: "Migrating" to bigger disk
Hehe, that's better :)
OK, so clarifying: yes, system that I'm "administrating" is a lovely, cute B132L, with 4.5 GB disk- and the system is starting to grow out of it (despite of constant resizing- /usr, having 1.2 GB now is 19 MB free, imagine).
As you call it "linux" layout is exactly what I need, cause this system has literally no users (except one ...but don't even start :-p :-D ).
What I'm trying to do is:
create blank, bootable disk, that will be mounted as /, cp files as they are mapped to a new drive (excluding lost+found, of course), reboot and be happy...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2006 07:05 AM
12-31-2006 07:05 AM
Re: "Migrating" to bigger disk
If you want to preserve whatever was done to this system, then make_tape_recovery if it has a tape or make_net_recovery to an NFS isntall point will let you preserve the system as it is.
If thats not important and you are willing to reinstall all your applications, then do youself a favor, get 11.11(11i v1) and do a clean install on the larger disk.
If you want to go with the Linux style installation, old school guys like me(I really just immmitate JRF,A.Clay and Bill Hassell, et al) will cring, but you can get away with it.
I'm still in favor of file system sizing. This new 36 GB disk is plenty big and you CAN extend /usr and /opt if you need space. Its just / (root) thats a PITA to extend.
Go with success and happy new year.
Glad I was able to help if only a little bit.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2006 07:06 AM
12-31-2006 07:06 AM
Re: "Migrating" to bigger disk
Note that small workstations are a minority in the world of HP-UX. It is a tribute to the design of HP-UX that it can scale to a single processor workstation with 128 megs of RAM to a server with 128 processors and 1 terabyte of RAM. Managing diskspace on a single user workstation can indeed be simplified to a single volume, but the same style does not work for multiuser servers.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2006 07:50 AM
12-31-2006 07:50 AM
Re: "Migrating" to bigger disk
the only thing I got with it was "Network Node Manager" which was accidentally in CD tray, when the machine arrived to me.
Anyway, meanwhile I reverted to getting /opt as big as it gets (currently 1.56 GB- 900 MB free) and moved stuff to it from /usr/local, leaving just symlinks. removed /tmp, I guess root (300 MB) should be enough for big things to compile.
/opt (/dev/vg00/lvol5 ) : 976243 Kbytes free
/usr (/dev/vg00/lvol7 ) : 380523 Kbytes free
/var (/dev/vg00/lvol8 ) : 220421 Kbytes free
/stand (/dev/vg00/lvol1 ) : 54555 Kbytes free
/ (/dev/vg00/lvol3 ) : 362601 Kbytes free
ought to be enough for everyone :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 04:54 AM
03-07-2007 04:54 AM
Re: "Migrating" to bigger disk
So I'm now giving up towards resizing the volumes, but I still have to clone existing system (and that without Ignite-UX fully installed: there's not make_net_*, make_* etc.)
Somebody on comp.sys.hp.hpux suggested these:
> Add the disk to the vg, mirror all volumes and vgreduce the orig disk.
>
> pvmove (1m)
>
> back up data on old disk, vgreduce disk from vg, add new disk
> (pvcreate, vgcreate/vgextend), lvcreate, newfs, and restore data.
Well, but as far as my understanding goes, that does copy volume group,
but will the cloned disk will actually be bootable?
and: I just had an insane idea: dd, would just that bastardized method of clonning work?
Rambo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 05:03 AM
03-07-2007 05:03 AM
SolutionCheck this thread, in particular, Clay's answer.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1083682
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 05:11 AM
03-07-2007 05:11 AM
Re: "Migrating" to bigger disk
You might consider a plan B and create a new VG (e.g. /dev/vg01) and then move everything except /stand, /, and primary swap to the new VG. Back when I used workstations a lot, I typically set them up so that the OS and standard applications were on one disk and non-standard applications (CAD,CAM,CFD, ...)
and their data were on the secondary disk. This made OS upgrades and patches much cleaner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 07:17 AM
03-07-2007 07:17 AM
Re: "Migrating" to bigger disk
Make an ignite image of your machine, swpa the disks, then ignite restore your image?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 10:00 AM
03-07-2007 10:00 AM
Re: "Migrating" to bigger disk
Mr. Stephensons advice won't work because of a trivial obstacle- if a secondary drive- it will have to be outside the machine... it just won't fit...
Anyway, what about lvextend: in manpage there's no mention about "ultimate" size of volume group: in fact there's mentioning only about available physical device size.
Anyway #2: it turns out that the Seagate ST39173W doesn't like the FW SCSI in B132L- it simply won't spin, if it does- it's not recognized (it, however, works on AlphaStation- damage certainly excluded). So I guess, this will have to wait- again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 10:41 AM
03-07-2007 10:41 AM
Re: "Migrating" to bigger disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 10:52 AM
03-07-2007 10:52 AM
Re: "Migrating" to bigger disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2007 04:37 AM
03-18-2007 04:37 AM
Re: "Migrating" to bigger disk
Thank you all for valuable pointers and links to relevant posts.
I now have a 3-volume group (stand, swap and root) system that I achieved by using Peggy Fong's idea of creating twin volume group,
I replicated these three, dd' old stuff to stand and root and fsck'd them, mounted and resized newly created root to available space and cp'd the old (/opt, /var, /usr) dir structure.
After that just changed new fstab to incorporate new vg mount points, and behold, my system now resides on a 9 Gig Fireball SE.
Case closed :)
Rambo