- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing LUN size
Operating System - HP-UX
1753450
Members
6244
Online
108794
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
Discussions
Discussions
Forums
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
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-04-2004 10:46 PM
тАО11-04-2004 10:46 PM
Increasing LUN size
I have an AutoRaid 12H.
All the LUNs have been allocated and two more discs have just been added.
I need to allocate the extra space.
LUN2 is only 3.5Gb in two logical volumes of informix raw space.
Informix accesses the raw space through soft links so I can move the
data and change the links and Informix wont mind. (I've done this before).
The 2lvols from vg03 will be moved to vg04.
I have the following procedure mapped.
Would you mind checking it and advising me if I've missed anything?
Thanks.
Luke
#vgcfgbackup /dev/vg03
#vgcfgbackup /dev/vg04
#vgdisplay /dev/vg04 (verify there is enough free extents to create the logical volumes required.)
#lvcreate -L 2048 /dev/vg04
#lvcreate -L 1024 /dev/vg04
#dd if=/dev/vg03/rlvol1 of=/dev/vg04/rlvol1 bs=512k
#dd if=/dev/vg03/rlvol2 of=/dev/vg04/rlvol11 bs=512k
Deactivate and remove volume group 3
#vgchange -a n /dev/vg03
#vgexport -v /dev/vg03
Delete LUN 2 (vg03)
#arraycfg -L 2 -d 0000000F4859
Create LUN 2 again, this time 40Gb
#arraycfg -L 2 -a 40G 0000000F4859
Create volume group
#mkdir /dev/vg03
#cd /dev/vg03
#mknod group c 64 0x030000
#vgcreate /dev/vg03 /dev/dsk/c1t0d2
Add logical volumes as required...
All the LUNs have been allocated and two more discs have just been added.
I need to allocate the extra space.
LUN2 is only 3.5Gb in two logical volumes of informix raw space.
Informix accesses the raw space through soft links so I can move the
data and change the links and Informix wont mind. (I've done this before).
The 2lvols from vg03 will be moved to vg04.
I have the following procedure mapped.
Would you mind checking it and advising me if I've missed anything?
Thanks.
Luke
#vgcfgbackup /dev/vg03
#vgcfgbackup /dev/vg04
#vgdisplay /dev/vg04 (verify there is enough free extents to create the logical volumes required.)
#lvcreate -L 2048 /dev/vg04
#lvcreate -L 1024 /dev/vg04
#dd if=/dev/vg03/rlvol1 of=/dev/vg04/rlvol1 bs=512k
#dd if=/dev/vg03/rlvol2 of=/dev/vg04/rlvol11 bs=512k
Deactivate and remove volume group 3
#vgchange -a n /dev/vg03
#vgexport -v /dev/vg03
Delete LUN 2 (vg03)
#arraycfg -L 2 -d 0000000F4859
Create LUN 2 again, this time 40Gb
#arraycfg -L 2 -a 40G 0000000F4859
Create volume group
#mkdir /dev/vg03
#cd /dev/vg03
#mknod group c 64 0x030000
#vgcreate /dev/vg03 /dev/dsk/c1t0d2
Add logical volumes as required...
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 11:33 PM
тАО11-04-2004 11:33 PM
Re: Increasing LUN size
You may have to specify the PE size when doing the vgcreate as you are presenting a 40GB LUN:
vgcreate -s 16 -p 128 /dev/vg03 /dev/dsk/c1t0d2
Rgds....Geoff
vgcreate -s 16 -p 128 /dev/vg03 /dev/dsk/c1t0d2
Rgds....Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 08:18 PM
тАО11-07-2004 08:18 PM
Re: Increasing LUN size
Thanks Geoff.
Can I ask why you've suggested 128 as the max physical volumes argument?
Luke
Can I ask why you've suggested 128 as the max physical volumes argument?
Luke
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP