VGCFGBACKUP(8) System Manager's Manual VGCFGBACKUP(8)NAME
vgcfgbackup - backup volume group descriptor area
SYNOPSIS
vgcfgbackup [-d|--debug] [-f|--file filename] [-h|--help] [--ignorelockingfailure] [-P|--partial] [-v|--verbose] [VolumeGroupName...]
DESCRIPTION
vgcfgbackup allows you to backup the metadata of your volume groups. If you don't name any volume groups on the command line, all of them
will be backed up.
In a default installation, each volume group gets backed up into a separate file bearing the name of the volume group in the directory
/etc/lvm/backup. You can write the backup to an alternative file using -f. In this case if you are backing up more than one volume group
the filename is treated as a template, and %s gets replaced by the volume group name.
NB. This DOESN'T backup user/system data in logical volume(s)! Backup /etc/lvm regularly too.
OPTIONS
See lvm for common options.
SEE ALSO lvm(8), vgcfgrestore(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCFGBACKUP(8)
Check Out this Related Man Page
VGCFGBACKUP(8) System Manager's Manual VGCFGBACKUP(8)NAME
vgcfgbackup - backup volume group descriptor area
SYNOPSIS
vgcfgbackup [-d|--debug] [-h|--help] [-v|--verbose] [VolumeGroupName...]
DESCRIPTION
vgcfgbackup allows you to backup the metadata or Volume Group Descriptor Area (VGDA) of one to all volume groups to files in /etc/lvmconf.
If you don't give any volume groups in the command line, all of them will be backed up. This DOESN'T backup user/system data in logical
volume(s)! To restore volume group descriptor area backups see the vgcfgrestore(8) tool. A 10 step history is backed up in /etc/lvm-
conf/VolumeGroupName.conf and /etc/lvmconf/VolumeGroupName.conf.[1-9].old. This enables you to restore your volume group configuration up
to 10 steps back in the backup history.
OPTIONS
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Gives verbose runtime information about vgcfgbackup's activities.
DIAGNOSTICS
vgcfgbackup returns an exit code of 0 for success and > 0 for error:
1 error doing backup
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
SEE ALSO lvm(8), vgcfgrestore(8), vgcreate(8)AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGCFGBACKUP(8)
Hi all,
I have a server running in RH ES4, the SCSI HD are running in RAID 1.
I backup the LVM config by using 'vgcfgbackup' and then remove all the HD.
I insert another HD (same size & branch but different model) into the machine and run linux rescue to recreate the... (0 Replies)
Hi all,
How do u rename a logical volume group and the logical volumes belonging to that? The logical volumes contain data and are in use.
eg: Renaming dev/vgov to dev/ov-dg ? (6 Replies)
Not real Linux expert but here is the problem.
Shutdown this machine and then it would not reboot.
From everything I can tell it looks like the journal file in the logical volume is corrupted. I have tried everything I can think of to get the volume mounted.
Anybody have any ideas on how... (19 Replies)
Hi,
Suppose I have 3 disks c0t0d0, c0t0d1, and c0t0d2 all with the *same* VGID.
I then run:
# vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1
(notice I *accidentally* skipped the third disk!)
How would I fix this so that all 3 disks have the same VGID again?
I'm looking for step-by-step... (7 Replies)
Greetings,
I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space.
I have plenty of hard disk space on my computer so would like to expand the size of the volume. The... (5 Replies)
Gidday!
I'd like to setup a storage server for a friend of mine (he is a hobby photographer, and he produces about 100Gb pictures monthly). My friend has the following PC-Server-like system:
AMD Athlon Dual Core Processor 4850e.
ASUS M3N78-EMH HDMI motherboard with 6 SATA connectors.
3Gb... (7 Replies)
Hi all,
I've created some logical volumes on a non-production server. I was supposed to make the new LV's similar to another LV already on the server. Supposed to be the similar to lvol5
I did everything right except one thing as somebody mentioned. I would like to figure out what I did... (6 Replies)
Hi,
Can someone help me to come out of this error?
We have a HP-UX 11.11 system. I started a scbackup (online) as mirroring was enabled and the backup went on successfully. But from the scbackup logs I see that after the splitting of the logical volumes for online backup usually a MERGE-DELETE... (3 Replies)
Good Day,
I've been trying to create a bootable recovery disk with no success. I've used the command ./make_recovery -A -d /dev/rmt/1m and get the command HP-UX System Recovery returned, and after about a minute an error is returned:
/var: write failed, file system is full... (26 Replies)
Hi,
Need a bit of help on this one as I am a scripting noob.
I have a linux based NAS that mounts USB hard drives in an inconsistent location and to make matters worse, seems to lose the mount for an unknown reason and doesn't remount automatically unless the drive is removed and re-inserted.... (4 Replies)
I am having trouble with LVM and one of my physical volumes.
Using Ubuntu Desktop 14.04
I was trying to set up LVM across two disks (not containing the OS or Home).
First I created the initial Physical Volume, the Volume Group, and the Logical volume, and everything seemed fine. The... (2 Replies)
Hi,
I am new to RHEL. and started exploring/learning RHEL from last few months.
I understood LVM and other system admin concepts. But I did not get a chance to explore backup/restore options in RHEL.
Can you please explain the procedure on how backups/restores work in linux environment?
... (2 Replies)
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
This has got to be the system from hell. Once again, on the RP4440 (after the supplier replaced the entire box due to the bad RTC battery), finally have it all reloaded with the packages the developers need. The last thing is to add the secondary disk to the OS.
BCH sees both OS and secondary... (2 Replies)