increase root partition

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat increase root partition
# 8  
Old 06-14-2011
Code:
lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg0/lvm
  VG Name                vg0
  LV UUID                4q8Yrk-wkJh-cxyY-rVil-9nNs-Td3i-ZoMfey
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                10.00 GB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

[root@UPID-RHEL7 ~]#
[root@UPID-RHEL7 ~]# vgdisplay
  --- Volume group ---
  VG Name               vg0
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               301.43 GB
  PE Size               4.00 MB
  Total PE              77165
  Alloc PE / Size       2560 / 10.00 GB
  Free  PE / Size       74605 / 291.43 GB
  VG UUID               Jpz5kZ-iaJd-HedN-Ehab-oQgX-XRXL-eQKOCy

[root@UPID-RHEL7 ~]#
[root@UPID-RHEL7 ~]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda6
  VG Name               vg0
  PV Size               301.43 GB / not usable 2.90 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              77165
  Free PE               74605
  Allocated PE          2560
  PV UUID               Y79DFU-DlDa-jcvZ-1vcS-aufc-8J00-hUAVUs

[root@UPID-RHEL7 ~]#
[root@UPID-RHEL7 ~]# fdisk -l

Disk /dev/sda: 437.9 GB, 437998583808 bytes
255 heads, 63 sectors/track, 53250 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         319     2562336   83  Linux
/dev/sda2             320       10581    82429515   83  Linux
/dev/sda3           10582       12684    16892347+  82  Linux swap / Solaris
/dev/sda4           12685       53250   325846395    5  Extended
/dev/sda5           12685       13901     9775521   83  Linux
/dev/sda6           13902       53250   316070811   8e  Linux LVM


Last edited by pludi; 06-14-2011 at 05:21 PM..
# 9  
Old 06-15-2011
Your root partition is not part of an LVM so you can't directly attach your volume named "lvm".

It's possible to migrate your information from a standard root partition to a logical volume. You'll just need a large enough logical volume (77 GBs >)

Keep in mind that downtime is required as you cannot perform it while / is mounted.

Here's a quick guide for RHEL-based systems: Convert root filesystem to LVM
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to use space in /tmp to increase root?

Hello All, I have solaris server running, uname -a SunOS host 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-280R Filesystem Size Used Available Capacity Mounted on /dev/md/dsk/d0 9.8G 8.7G 1.0G 90% / /dev/dsk/c1t1d0s3 4.3G 7.7M 4.2G ... (17 Replies)
Discussion started by: gull05
17 Replies

2. Solaris

Increase the / partition

Hi all im new to solaris and i got the task to increase the size of the / partition. its solaris 9 update6 running in a vmware esxi. i already added space on the VM, when im trying the "growfs" command im gettings error. see attached picture: http://i.imgur.com/9ywWLNN.png thanks for... (5 Replies)
Discussion started by: guy3145
5 Replies

3. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

4. 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

5. Solaris

Increase root partition by moving starting cylinder

I am trying to expand the root partition on Solaris 10. I can expand root partition using format/partition command, but usually increasing cylinders on partition is done on back end. In this case I would have to expand from the front end following the table below, meaning I would have to move the... (12 Replies)
Discussion started by: mjaminal
12 Replies

6. Red Hat

Increase Linux partition size

Hi All, this should be probably a already asked question but highly appreciate if someone can guide me on this i have a business critical linux system (which is running a SMS system) where one of it's partition size is shrinking i want to know the possible options of increasing the size of... (4 Replies)
Discussion started by: asela115
4 Replies

7. HP-UX

Increase of partition Size In HP-UX

Experts, I want to know how to increase partion size in Hp-ux.Actually we installed oracle in separate part ion.As increase of database went to 99% :eek:.What ever data which is in it is important.so i dont want to delete any data in that partion.Now the size of that is 250 GB.I want the same to... (2 Replies)
Discussion started by: naveennella
2 Replies

8. Solaris

increase Root size

Dear all, I am very new to solaris, I have installed solaris 10, i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device " i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies

9. Solaris

how to increase size of the root partition

Hi we have a sunfire v880 server . we have a problem with root partion it showing 90% full. so anyone can help me how to increase the size of that partion. NOTE: It is not in veritas & SVM control. Regards prakash (6 Replies)
Discussion started by: pshelke
6 Replies

10. AIX

Increase a logical partition

hello I have a volume group of 737 Go (EMC) To add 250 Go, i split the 250 Go to 2*125 No problem to add in the volum group, but when i want to increase the size of the logical volume, i have the message : 0516-787 extendlv: Maximum allocation for logical volume simdatabaselv is... (3 Replies)
Discussion started by: pascalbout
3 Replies
Login or Register to Ask a Question