04-17-2012
Yes, you can convert your non-LVM root to LVM.
If you have a Redhat subscription, see
https://access.redhat.com/knowledge/articles/7374. It is an old article but still relevant.
If you do not have a Redhat subscription, an Internet search "redhat convert root to LVM" will turn up some useful howtos.
10 More Discussions You Might Find Interesting
1. Red Hat
Hi,
I have red hat enterprise 4. I would like to add more space on my lvm from the first partition that is not lvm type.
Here's the config
# fdisk -l
Disk /dev/sda: 73.4 GB, 73406611456 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes... (6 Replies)
Discussion started by: itik
6 Replies
2. Filesystems, Disks and Memory
Hello,
I have a RHEL system with two 500GB hard drives in RAID 1 (I think hardware, but not 100% certain - any way to tell?).
It looks like it was just set up in default configuration with a small boot partition and one huge partition for the rest, which composes a LVM volume.
I want... (1 Reply)
Discussion started by: builder88
1 Replies
3. Red Hat
I have a RHEL6 guest running on vmware esx server and the root disk size is 30G and i increased the disk size and create another partition /dev/sda3 but i do not know how to increase the size of the VG and then intrun LV .. can anyone help me on this .
fdisk -l /dev/sda
Disk /dev/sda:... (1 Reply)
Discussion started by: fugitive
1 Replies
4. Red Hat
Hello,
someone please suggest me how write a script or command to create partition and label whole disk as LVM . I have multiple servers that I to label as LVM using fdisk, that will very hard process.
This is what I currently doing to create to partition and label.
# fdisk /dev/sdb
... (0 Replies)
Discussion started by: bobby320
0 Replies
5. Linux
Hi,
I have a server booted into sysresccd (mini-linux OS) with 1 40 GB disk attached
I am trying to create a volume group and restore another server into the new one
However, when I try to create a partition for /boot it seems that my VG in LVM is not recognized anymore
These are the... (2 Replies)
Discussion started by: galuzan
2 Replies
6. Red Hat
Hi guys,
let me start by saying I appreciate your assistance always.
I was practicing how to encrypt partitions in my server. I encrypted an lvm partition using luks and when I tried to remove the partition using lvremove, I get this message
Logical volume vg10/lvol1 is used by another... (2 Replies)
Discussion started by: cjashu
2 Replies
7. Red Hat
Hi,
I need a suggesstion i have 2 disk if i installed OS / root partition by making Lvm in one disk and data in other disk also with the lvm, means 2 different lvms.
Is making LVM partition for OS disk will the performacne will be good?
Can i make 2 different lvm one is for OS and other for... (1 Reply)
Discussion started by: Rahulne25
1 Replies
8. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
9. Red Hat
Hi ,
Background : I am installing the KVM based RHEL OS VM on one of the HP pro-line physical server.
Issue: While doing custom layout partition, i want to create partition lvm based , for example :lv_root.
But problem is that, whenever i am creating the partition, its showing /sda1... (2 Replies)
Discussion started by: Nats
2 Replies
10. Red Hat
is possible to convert standard partition ext4 to LVM with preserving data? is yes then how? OS is Linux 5 / 6 (1 Reply)
Discussion started by: manoj.solaris
1 Replies
LEARN ABOUT HPUX
vgcfgbackup
vgcfgbackup(1M) vgcfgbackup(1M)
NAME
vgcfgbackup - create or update LVM volume group configuration backup file
SYNOPSIS
vg_conf_path] vg_name
DESCRIPTION
The command saves the LVM configuration for a volume group in a default or alternate configuration backup file (see the option).
By default, runs automatically each time an LVM command changes the LVM configuration. In this case, it always uses the default configura-
tion backup file. An existing default configuration backup file is renamed with an extension of
Options and Arguments
recognizes the following options and arguments:
vg_name The path name of a volume group.
Save the configuration using an alternate file name specified by
vg_conf_path.
If is omitted, the default file name is in the form:
base_vg_name is the base name of vg_name. For example, if vg_name is specified as base_vg_name is
Update the configuration backup file with the latest LVM configuration.
Only those physical volumes added since the configuration backup file was last modified need to be online.
If is omitted, all physical volumes for vg_name must be online.
RETURN VALUE
exits with one of the following values:
Successful completion.
Failure.
Errors occurred when information from the volume group was being accessed.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Back up LVM configuration information for volume group in the default backup file
Update LVM configuration information corresponding to volume group in the default backup file
Back up LVM configuration information for volume group in the alternate configuration backup file
WARNINGS
It is recommended that any alternate configuration backup file be created in the root file system (as is the case with the default path
name). This facilitates easy volume group recovery during maintenance mode, such as after a system crash.
AUTHOR
was developed by HP.
SEE ALSO
vgcfgrestore(1M).
vgcfgbackup(1M)