- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapping root disk on D class
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
11-30-2003 08:36 PM
11-30-2003 08:36 PM
I need to swap out the root disk on a Dclass server for a larger capacity drive. Vg00 only has this one disk. What is the best route to do this? Ignite? dd one disk to the other? Re-install of O.S. ?
Many thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 08:40 PM
11-30-2003 08:40 PM
SolutionIf your new disk will exceed the maximum number of extents configured in vg00 then you will be best off using ignite. Otherwise, much of your new disk will be unused. Ignite allows you to change these settings during a build.
If you have mirror/ux installed and the number of physical extents isn't going to be a problem then your best bet would be to mirror one disk onto the other and then make the new one bootable with "lvlnboot"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 08:42 PM
11-30-2003 08:42 PM
Re: swapping root disk on D class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 11:25 PM
11-30-2003 11:25 PM
Re: swapping root disk on D class
1. Boot into LVM maintanance mode
2. vgchage -a y vg00;mount -a
3. pvcreate -B /dev/rdsk/cXtZdX
4. mkboot /dev/rdsk/cXtXdX
5. mkboot -a "hpux" /dev/rdsk/cXtXdX
6. vgcreate /dev/vgboot /dev/dsk/cXtXdX (mkdir;mknod refer to new VG creation)
7. lvcreate -L
...
...
create all the filesystems on the new disk from the old one.. Please make sure that all the logical volume characteristics are the same.
8. newfs them all (Note create all with same type as that of original
9. mount them under /new_root /new_boot etc ...
10. Update boot definitions ....
11. lvlnboot -b /dev/vgboot/lvol1
12. lvlnboot -r /dev/vgboot/lvol3
13. lvlnboot -s /dev/vgboot/lvol2
14. lvlnboot -d /dev/vgboot/lvol2
15. lvlnboot -R
16. Copy the data across "cd
17. lvlnboot -v ; check both the disks are having boot definitions...
18. cp /new_root/etc/fstab /tmp/fstab;cat /tmp/fstab |sed "s;vg00;vgboot;g" > /new_root/etc/fstab
19. rm /etc/mnttab /new_root/etc/mnttab
20. Shutdown the node ;
21. Take out the old boot disk
22. Change the bot path and boot through the new one !!
You will need to work out and hcange some bits if system configuration is diffrent !. Use ur brain not mine....
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 11:34 PM
11-30-2003 11:34 PM
Re: swapping root disk on D class
I think i will go for the ignite route as it looks to be the safest and easiest.
Thank you for taking out the time to help :)