HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding a new hard disk!
Operating System - HP-UX
1838712
Members
4688
Online
110128
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-06-2000 06:11 AM
11-06-2000 06:11 AM
Adding a new hard disk!
Hi all,
I want to add a new 16 GB hard disk to my HP-UX 10.2 (hpk 220 model) . I want to use this hard disk space to extend the logical volume of /opt and /usr . So how do I go abt it????
Thanks,
Thanga
I want to add a new 16 GB hard disk to my HP-UX 10.2 (hpk 220 model) . I want to use this hard disk space to extend the logical volume of /opt and /usr . So how do I go abt it????
Thanks,
Thanga
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2000 06:20 AM
11-06-2000 06:20 AM
Re: Adding a new hard disk!
You will certainly have a problem whith your "MAX PE PER PV" which is too small for a 16Gb disk.
I suggest you to make a vgextend whith your new disk.
Create a recovery tape (IGNITE) :
make_recovery -ACi
Boot from the tape, Ignite menu will appear.
At this point, you can make what you want. Specialy, modify the size of /opt and the MAX_PE_PER_PV value for vg00.
An other solution is to use ONLINE JFS if you bought it ...
Patrice.
I suggest you to make a vgextend whith your new disk.
Create a recovery tape (IGNITE) :
make_recovery -ACi
Boot from the tape, Ignite menu will appear.
At this point, you can make what you want. Specialy, modify the size of /opt and the MAX_PE_PER_PV value for vg00.
An other solution is to use ONLINE JFS if you bought it ...
Patrice.
Patrice MARTINACHE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2000 06:31 AM
11-06-2000 06:31 AM
Re: Adding a new hard disk!
Hi,
another way is to create a new vg and move /opt /usr to the new location:
pvcreate /dev/rdsk/cXtXd0
mkdir /dev/vgXX
mknod /dev/vgXX/group c 64 0x0X0000
vgcreate vgXX /dev/dsk/cXtXd0
lvcreate -L vgXX
lvcreate -L vgXX
newfs -F vxfs /dev/vgXX/rlovl1
newfs -F vxfs /dev/vgXX/rlvol2
mkdir /newopt
mkdir /newusr
mount /dev/vgXX/lvol1 /newopt
mount /dev/vgXX/lvol2 /newusr
cd /opt
find . -depth |cpio -pmdv /newopt
cd /usr
find . -depth |cpio -pmdv /newusr
Change in /etc/fstab:
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
TO
/dev/vgXX/lvol1 /opt vxfs delaylog 0 2
/dev/vgXX/lvol2 /usr vxfs delaylog 0 2
Then reboot
Regards
another way is to create a new vg and move /opt /usr to the new location:
pvcreate /dev/rdsk/cXtXd0
mkdir /dev/vgXX
mknod /dev/vgXX/group c 64 0x0X0000
vgcreate vgXX /dev/dsk/cXtXd0
lvcreate -L
lvcreate -L
newfs -F vxfs /dev/vgXX/rlovl1
newfs -F vxfs /dev/vgXX/rlvol2
mkdir /newopt
mkdir /newusr
mount /dev/vgXX/lvol1 /newopt
mount /dev/vgXX/lvol2 /newusr
cd /opt
find . -depth |cpio -pmdv /newopt
cd /usr
find . -depth |cpio -pmdv /newusr
Change in /etc/fstab:
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
TO
/dev/vgXX/lvol1 /opt vxfs delaylog 0 2
/dev/vgXX/lvol2 /usr vxfs delaylog 0 2
Then reboot
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2000 07:40 AM
11-06-2000 07:40 AM
Re: Adding a new hard disk!
Have you considered moving /opt to the new disk and using the space it used in /usr?
A reorganization of the filesystems and disks would keep you from having to recover or reinstall.
A reorganization of the filesystems and disks would keep you from having to recover or reinstall.
"Downtime is a Crime."
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP