Sponsored Content
Full Discussion: increase root partition
Operating Systems Linux Red Hat increase root partition Post 302530627 by reply.ravi on Tuesday 14th of June 2011 01:18:06 PM
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..
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
SWITCH_ROOT(8)                                                 System Administration                                                SWITCH_ROOT(8)

NAME
switch_root - switch to another filesystem as the root of the mount tree SYNOPSIS
switch_root [-hV] switch_root newroot init [arg...] DESCRIPTION
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process. WARNING: switch_root removes recursively all files and directories on the current root filesystem. OPTIONS
-h, --help Display help text and exit. -V, --version Display version information and exit. RETURN VALUE
switch_root returns 0 on success and 1 on failure. NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet this requirement then you can first use a bind-mounting trick to turn any directory into a mount point: mount --bind $DIR $DIR SEE ALSO
chroot(2), init(8), mkinitrd(8), mount(8) AUTHORS
Peter Jones <pjones@redhat.com> Jeremy Katz <katzj@redhat.com> Karel Zak <kzak@redhat.com> AVAILABILITY
The switch_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux June 2009 SWITCH_ROOT(8)
All times are GMT -4. The time now is 12:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy