- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Backing up the VG.
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
Discussions
Discussions
Forums
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
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
тАО06-23-2009 01:13 AM
тАО06-23-2009 01:13 AM
Backing up the VG.
I have one d-class server with hp unix 10.20.
Recently it's performace goes down and the output of 100% in %wio.
We have 3 hdd of 4.5GB,9.1GB and 31 GB respectively.We have three VG's namely VG00,VG01 and VG02.
Every time when we restart the server all the log's get cleared automatically.And we are facing problem sometimes when we trying to access the lv's in VG02.
So we planned to change the HDD having VG02.
Would somebody tell me how to take backup of VG02 and restore it in the new Hdd?
Regards,
C.Sacthivel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 01:38 AM
тАО06-23-2009 01:38 AM
Re: Backing up the VG.
You may please read the below doc to accomplish the requested task.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 01:39 AM
тАО06-23-2009 01:39 AM
Re: Backing up the VG.
Three links for you here:
http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf
Man page for vgcfgrestore
http://docs.hp.com/en/B9106-90008/vgcfgrestore.1M.html
Man page for vgcfgbackup
http://docs.hp.com/en/B9106-90008/vgcfgbackup.1M.html
Doc on how to restore a vg configuration.
http://docs.hp.com/en/B7961-90017/ch02s03.html
This is 10.20 so some of this stuff might not work the same as you are two versions of HP-UX and 5 years beyond anything but peer to peer support.
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
тАО06-23-2009 08:31 AM
тАО06-23-2009 08:31 AM
Re: Backing up the VG.
You can take the backup of the LVs present in VG02 using fbackup.
Then replace the hard disk.Apply these commands.
1. # vgcfgrestore -n vg02 /dev/rdsk/cXtXdX
2. # vgchange -a y vg02
3. # newfs -F vxfs /dev/vg02/rlvolX
4. # mount /dev/vg02/lvolX /mnt
restore data using frecover from tape
5. # frecover -v -f /dev/rmt/Xm -i /mnt
If your VG02 is containing more LVs,do the step 3 and 4 for all the one.
rgds
bijo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 03:18 AM
тАО06-24-2009 03:18 AM
Re: Backing up the VG.
In case if you don't have tape drive on your machine, then try this.
1.add the new disk into the vg02
2.create new lv's as same as in the existing pv.
3.mount the new lv's temporary.
4.fbackup & frecover the lv's in the vg02.
Example:#cd /mnt && fbackup -i . -f - | (cd /mnt1 && frecover -Xrf -)
5.once it is completed unmount the older lv's in the vg and mount the new lv's on the old mount points, and check the data and the application.
6.if it is ok, then remove the old lv's and remove the pv from the vg.
hope this helps you!!!
Regards,
shanmugam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 03:41 AM
тАО06-24-2009 03:41 AM
Re: Backing up the VG.
First of all, I don't really understand this..
>>>Every time when we restart the server all the log's get cleared automatically<<<
which log files. Unless you have some job's to do so, it won't.
Anyway, if you want to change the HDD on VG02, you should provide some details.
How many disks are there on vg02?
Does all the disks mirrored?
If the disks are mirrored, it is simple and straight. remove the old disk, put new disk on the same path and restore the configuration and sync it. Hope you know the commands.
If it is not mirrored, take the full backup of the filesystem residing on the disk. put the new disk. restore the configuration and then restore the data from the backup.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 07:56 PM
тАО06-24-2009 07:56 PM
Re: Backing up the VG.
Can we follow the below method
If the vg contains only 1 disk. we can add the new disk in the vg mirror the lv's to the new disk and lvremove the old disk.