10-06-2009
backup & restore a volume group
Dear All,
I would like to ask about saving & restoring a user defined volume group. i have a user defined volume group, named as datavg. i want to save it & to restore it into different size of physical volume. currently, datavg consist of 4 pv, three fisrt pv size are 100GB & one pv size is 150GB. if i want to restore saved datavg into 4 pv that it each size 100GB, will problem occur? or any consideration to save & to restore my user defined vg? additional info, datavg is 70% used. pls advice.
Thanks
Dony Prasetyo
AIX System engineer
10 More Discussions You Might Find Interesting
1. HP-UX
Dear frnds,
i am going to use hp-ux11i first time, actually migrated from true64unix(digital), Now confused with the backup and restore procedures, i was using vdump and vrestore in that which was really much comfortable.could you suggest which is best type backup(similar to vdump and vrestore)... (8 Replies)
Discussion started by: jestinabel
8 Replies
2. Solaris
Hello buddy,
I used usfbackup command but error after full backup Solaris 5.5.1
/dev/c0t3d0s0 /
/dev/c0t3d0s6 /usr
I get error when restart after complete full backup
Can't load the root file system
Type 'go' to resume
***FULL MY STORY***
... (1 Reply)
Discussion started by: posky
1 Replies
3. SCO
Finaly got usb working on sco6.
If anyone need help with that just ask.
My final goal is to able to do a complete system backup/restore to/from usb.
The problems I need help with
1. Can't cpio to usb device. Getting an error message device not found
2. When booted from sco6 emergency... (3 Replies)
Discussion started by: miles556
3 Replies
4. HP-UX
I have a 2-node ServiceGuard cluster. One of the cluster packages has a volume group assigned to it. When I fail the package over to the other node, the volume group does not come up automatically on the other node.
I have to manually do a "vgchange -a y vgname" on the node before the package... (5 Replies)
Discussion started by: Wotan31
5 Replies
5. AIX
Hello,
Could someone tell me if I have this correct.
If I have 2 volume groups rootvg and datavg and wish to back these up to 21 tape how do I accomplish this.
I am currently using
mksysb /dev/rmt0.1 -V
savevg -f /dev/rmt0 datavg
I think this may be overwriting the rootvg however as... (3 Replies)
Discussion started by: pobman
3 Replies
6. UNIX for Advanced & Expert Users
Hi ALL...
I have an IMAP server & I have setup rsync to copy all mailboxes (MailDir) to a remote backup machine.
rsync is working fine and is copying my files.
I need some advice on how to restore a particular mailbox when a user makes a request
assuming she has has deleted an important... (1 Reply)
Discussion started by: coolatt
1 Replies
7. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies
9. UNIX for Dummies Questions & Answers
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies
10. Red Hat
Hello Guys,
I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var.
I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
LEARN ABOUT SUSE
vgcfgrestore
VGCFGRESTORE(8) System Manager's Manual VGCFGRESTORE(8)
NAME
vgcfgrestore - restore volume group descriptor area
SYNOPSIS
vgcfgrestore [-d|--debug] [-f|--file filename] [-l[l]|--list] [-h|--help] [-M|--Metadatatype1|2] [-t|--test] [-v|--verbose] VolumeGroupName
DESCRIPTION
vgcfgrestore allows you to restore the metadata of VolumeGroupName from a text backup file produced by vgcfgbackup. You can specify a
backup file with --file. If no backup file is specified, the most recent one is used. Use --list for a list of the available backup and
archive files of VolumeGroupName.
OPTIONS
-l | --list -- List files pertaining to VolumeGroupName
List metadata backup and archive files pertaining to VolumeGroupName. May be used with the -f option. Does not restore Vol-
umeGroupName.
-f | --file filename -- Name of LVM metadata backup file
Specifies a metadata backup or archive file to be used for restoring VolumeGroupName. Often this file has been created with vgcfg-
backup.
See lvm for common options.
REPLACING PHYSICAL VOLUMES
vgdisplay --partial --verbose will show you the UUIDs and sizes of any PVs that are no longer present. If a PV in the VG is lost and you
wish to substitute another of the same size, use pvcreate --restorefile filename --uuid uuid (plus additional arguments as appropriate) to
initialise it with the same UUID as the missing PV. Repeat for all other missing PVs in the VG. Then use vgcfgrestore --file filename to
restore the volume group's metadata.
SEE ALSO
lvm(8), vgcreate(8)
Sistina Software UK LVM TOOLS 2.02.67(2) (2010-06-04) VGCFGRESTORE(8)