Scripts for Logical Volume Manager (LVM) A dministration for Linux


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Scripts for Logical Volume Manager (LVM) A dministration for Linux
# 1  
Old 03-31-2010
Scripts for Logical Volume Manager (LVM) A dministration for Linux

This tech tip provides a main script and several subscripts for administration of Logical Volume Manager (LVM) for the Linux operating system.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Shrink ext4 filesystem and reduce the size of a Logical Volume in Linux

Hello guys, I would like to ask you kindly if you don't know some quick and safe method how to shrink ext4 filesystem and reduce the size of a Logical Volume in Linux, please? Thank you very much. (2 Replies)
Discussion started by: los_bandidos
2 Replies

2. Red Hat

No space in volume group. How to create a file system using existing logical volume

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

3. Solaris

CLI to get info for Logical Volume manager

What are the comman line instructions need to be used to know if a Logical Volume Manager is installed on solaris Box, What is its name, version, driver version, library version. (1 Reply)
Discussion started by: epriya2003
1 Replies

4. Linux

Backup of 20 GB Logical Volume in Linux

Hi, i want to know the commands that can be used for taking the backup of 20GB logical volume in a linux machine. Thanks & Regards Arun (3 Replies)
Discussion started by: Arun.Kakarla
3 Replies

5. Linux

LVM (volume manager) and virtual disks

:eek: Hi guys, I'm pulling my hair out over this one. I am trying to set up a virtual server environment. ( I am using VirtualBox, but I think this is irrelevant to this problem.) I have downloaded a pre-packaged Linux virtual disk, with which I have successfully started a virtual instance of a... (4 Replies)
Discussion started by: otheus
4 Replies

6. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

7. AIX

Logical Volume Manager Help

I have a pretty basic question but I am finding my self stumped... I am trying to find the config that shows which logical volume is mapped to which physical volume IE: I know that pdisk15 is mapped to hdisk17 (I only know this as it was told to me though, by IBM) When I run: lslv -p... (5 Replies)
Discussion started by: pheusion
5 Replies

8. UNIX for Advanced & Expert Users

Logical Volume Manager question

After creating a make recover tape on a TAC-4 9000/770, the system lost three of five volume groups from the /etc/lvmtab. What would be the best way to recreate the volume groups in the lvmtab? (1 Reply)
Discussion started by: spawarrior
1 Replies
Login or Register to Ask a Question
vgrestore(1M)															     vgrestore(1M)

NAME
vgrestore - restore a VxVM disk group back to an LVM volume group SYNOPSIS
/etc/vx/bin/vgrestore vg_name DESCRIPTION
The vgrestore command restores a Logical Volume Manager (LVM) volume group that was previously converted to a VxVM disk group by the vxvm- convert utility. ARGUMENTS
vg_name Specifies the name of a volume group that was converted to a VxVM disk group by the vxvmconvert utility. EXIT CODES
vgrestore exits with one of the following values: 0 Successful completion. >0 Failure; an error occurred. WARNINGS
vgrestore functions only on VxVM disk groups that were converted from LVM volume groups by the vxvmconvert command. It is a good idea to back up user data before running vgrestore, and restore it after the vgrestore completes, as vgrestore can only restore a logical volume back to the state it was in before conversion to VxVM. If data changed on the volume while it was a VxVM volume, the changes won't be reflected on the volume after being restored to LVM. As part of the original conversion process, applications that once referenced the now-converted LVM volume's path names may have changed to reference VxVM volume special device file names. Alternatively, special device file path names originally representing the now-converted LVM volumes may have changed to symbolic links pointing to the VxVM volume path names. Be sure to undo these actions when restoring back to LVM. Do not use vgrestore unless you are certain that you want to restore LVM volume groups. After vgrestore this is run, the VxVM disks will no longer exist. EXAMPLES
To restore the LVM volume group vg03 that was converted by vxvmconvert to the VxVM disk group dg03, enter: vgcfgrestore vg03 SEE ALSO
vxvmconvert(1M) Veritas Volume Manager Migration Guide VxVM 5.0.31.1 24 Mar 2008 vgrestore(1M)