- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to extend pv max size?
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
08-30-2004 02:00 AM
08-30-2004 02:00 AM
how to extend pv max size?
i have a vg, max pv is 16. but i should add
new pv to this vg to extend diskspace.
what should i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 02:07 AM
08-30-2004 02:07 AM
Re: how to extend pv max size?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 02:08 AM
08-30-2004 02:08 AM
Re: how to extend pv max size?
in my opinion there is no posibility to change
max pv - you have to backup your data, delete
vg, create new with vgcreate -p max_pv and
restore data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 02:25 AM
08-30-2004 02:25 AM
Re: how to extend pv max size?
1.) backup your data
2.) delete old vg
3.) create new vg with
"vgcreate -p
4.) restore your data
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 02:55 AM
08-30-2004 02:55 AM
Re: how to extend pv max size?
Others have shown you a way by backing up....if you have more disks, maybe create a new vg
What you can do is:
create a new vg:
XX - vg number
HH - minor number in HEX
mkdir /dev/vgXX
mknod /dev/vgXX/group c 64 0xHH0000
vgcreate -s 8 -p 128 /dev/vgXX
Add the new disks to this VG
vgextend /dev/vgXX /dev/dsk/cCCtTTdDD /dev/dsk/cCCtTTdDD (etc)
create your lvols...
Temporary mount them, then copy from old to new:
vxdump -0 -f - -s 1000000 -b 16 /oracle | (cd /zmnt/oracle ; vxrestore rf -)
Do for each lvol/file system.
Then unmount all of them, change your fstab to the new vg, mount them, then remove the old vg...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:01 AM
08-30-2004 03:01 AM
Re: how to extend pv max size?
it is only possible at the moment of the creation of volume group. Then follow the steps as already suggested by backup, recreate vg and restore.
The good option of vgcreate is -p, see man vgcreate for further details.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:29 AM
08-30-2004 03:29 AM
Re: how to extend pv max size?
I want to do follow,but no test:
1.vgexport backup vg.
2.create a new vg (with same vgid)
4.vgimport all old pv to vgnew.
5.and then mount old lv
what about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:38 AM
08-30-2004 03:38 AM
Re: how to extend pv max size?
i want to do follow steps,but no test:
1.vgexport old vg (backup)
2.vgexport old vg (delete)
3.vgcreate (same vgid as old vg)
4.vgimport (old vg pv)
what about?Please Reply.I want to know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:40 AM
08-30-2004 03:40 AM
Re: how to extend pv max size?
When working with VG's you can either vgcreate OR vgimport, NOT both.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:46 AM
08-30-2004 03:46 AM
Re: how to extend pv max size?
However, you could use the vgcgid command:
vgexport the original volume group
Change the VGID on the original disks.
vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1 /dev/rdsk/c0t0d2
re-create the volum group
Then vgimport those disks...
Then vgextend the new disk...
MAKE SURE YOU HAVE A GOOD BACKUP FIRST!
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:47 AM
08-30-2004 03:47 AM
Re: how to extend pv max size?
i create new vg with new pv first.
vgcreate /dev/vgdata /dev/dsk/cxtxdx(new)
vgimport /dev/vgdata /dev/dsk/cxtxdx(old)
how about?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:52 AM
08-30-2004 03:52 AM
Re: how to extend pv max size?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 03:53 AM
08-30-2004 03:53 AM
Re: how to extend pv max size?
I think vgexport/vgimport is not the way for your problem.
You have to recreate the VG with vgcreate and the -p option.
1. Backup all the FileSystems on your VG
2. Note down the LV structure manually ( to ease your LV/Filesystem Creation )
3. vgexport vg (Removes VG)
3. vgcreate -p
4. lvcreate
5. newfs
6. Restore
This way it shoudl work.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 05:35 PM
08-31-2004 05:35 PM
Re: how to extend pv max size?
if i want to bakcup filesystem,
what about user vxdump ?
and who can tell me if it is efficient tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:42 AM
09-01-2004 03:42 AM
Re: how to extend pv max size?
Might as well use fbackup to backup everything to tape or if you are using dp just make a filesystem backup of the filesystems created under this vg.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:51 AM
09-01-2004 03:51 AM
Re: how to extend pv max size?
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/56-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/56-toc.html&searchterms=fbackup%7cvxdump&queryid=20040901-094904
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:10 PM
09-01-2004 03:10 PM
Re: how to extend pv max size?
only one filesystem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2004 07:17 PM
09-03-2004 07:17 PM
Re: how to extend pv max size?
Since you have to backup a single FileSystem then i think FBACKUP should not be a problem. FBACKUP allows to backup files larger than 2 GB so that is also not a problem.
Other advantages that comes with fbackup are:
..Medium Tape utilisation
..Support on other UNIX platforms
..Multiple backups on single tape
..backup verification
..File Selection from different directories
..Use of extended file attributes
Well assuming your filesystems is mounted on /mnt the command would go in this way:
# fbackup -v -f /dev/rmt/0m -i /mnt
Where /dev/rmt/0m is your backup device also you can exclude any unnecessary files/directories from /mnt using -e option at the end of the command.
Hope that helps.
Regards,