Sponsored Content
Operating Systems Linux Red Hat add lvm space from a regular partition Post 302363173 by itik on Monday 19th of October 2009 03:42:03 PM
Old 10-19-2009
add lvm space from a regular partition

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
Code:
[root@local ~]# fdisk -l

Disk /dev/sda: 73.4 GB, 73406611456 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1033     8193150   82  Linux swap
/dev/sda3            1034        2053     8193150   83  Linux
/dev/sda4            2054        8924    55191307+   5  Extended
/dev/sda5            2054        2563     4096543+  83  Linux
/dev/sda6            2564        3073     4096543+  83  Linux

Disk /dev/sdb: 73.4 GB, 73406611456 bytes
128 heads, 32 sectors/track, 35003 cylinders
Units = cylinders of 4096 * 512 = 2097152 bytes

I want to delete /dev/sda6 and add it to /dev/sdb (lvm). Is that possible? If yes, can you give me the instructions.

Thanks for any comment you may add.

Last edited by pludi; 10-19-2009 at 05:35 PM.. Reason: code tags, please
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to add aditional space on an exsisting Linux Partition..

Hi, I need to add more space to an exsisting /u partition by adding an additional physical drive, so that the additional space is added in continuation to the exsisting /u diskspace. Is it possible...if yes....how do I go about it. Thanks, Amit (1 Reply)
Discussion started by: amitsayshii
1 Replies

2. Red Hat

Increase root partition in LVM

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

3. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

4. Linux

Creating /boot partition for LVM VG

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

5. Red Hat

Removing encrypted lvm partition

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

6. Red Hat

Linux partition with LVM

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

7. Red Hat

Shrink LVM partition & create new Linux Primary partition

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

8. Red Hat

LVM based partition

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

9. Red Hat

Converting Standart partition to LVM

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

10. UNIX for Beginners Questions & Answers

Safe way to shrink lvm vg_*-lv_swap partition and reclaim freed space on Linux?

Hello, # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 38.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 ... (2 Replies)
Discussion started by: centosadmin
2 Replies
LVMCONF(8)																LVMCONF(8)

NAME
lvmconf - LVM configuration modifier SYNOPSIS
lvmconf [--disable-cluster] [--enable-cluster] [--file <configfile>] [--lockinglib <lib>] [--lockinglibdir <dir>] DESCRIPTION
lvmconf is a script that modifies the locking configuration in an lvm configuration file. See lvm.conf(5). OPTIONS
--disable-cluster Set locking_type to the default non-clustered type. Also reset lvmetad use to its default. --enable-cluster Set locking_type to the default clustered type on this system. Also disable lvmetad use as it is not yet supported in clustered environment. --file <configfile> Apply the changes to configfile instead of the default /etc/lvm/lvm.conf. --lockinglib <lib> Set external locking_library locking library to load if an external locking type is used. --lockinglibdir <dir> FILES
/etc/lvm/lvm.conf SEE ALSO
lvm(8), lvm.conf(5) Red Hat, Inc LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) LVMCONF(8)
All times are GMT -4. The time now is 06:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy