Linux / UNIX Tech Support Forum
This is a discussion on Reducing the volume group size within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; I have a rhel 5 server in which the logical group is setup as can be seen below, I need ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a rhel 5 server in which the logical group is setup as can be seen below, I need to reduce the size of VolGroup00 to 200GB.
As you can see from below I have 201.09G free space in VolGroup00. Any instructions on how to achieve it. > vgs /dev/hdc: open failed: No medium found VG #PV #LV #SN Attr VSize VFree VolGroup00 1 7 0 wz--n- 273.09G 201.09G > > lvs /dev/hdc: open failed: No medium found LV VG Attr LSize Origin Snap% Move Log Copy% Convert homevol VolGroup00 -wi-ao 10.00G optvol VolGroup00 -wi-ao 10.00G rootvol VolGroup00 -wi-ao 10.00G swapvol VolGroup00 -wi-ao 2.00G tmpvol VolGroup00 -wi-ao 10.00G usrvol VolGroup00 -wi-ao 15.00G varvol VolGroup00 -wi-ao 15.00G > > pvs /dev/hdc: open failed: No medium found PV VG Fmt Attr PSize PFree /dev/sda2 VolGroup00 lvm2 a- 273.09G 201.09G > > fdisk -l Disk /dev/sda: 293.3 GB, 293378981888 bytes 255 heads, 63 sectors/track, 35667 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 16 128488+ 83 Linux /dev/sda2 17 35667 286366657+ 8e Linux LVM > > df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-rootvol 9.7G 433M 8.8G 5% / /dev/mapper/VolGroup00-usrvol 15G 2.3G 12G 17% /usr /dev/mapper/VolGroup00-homevol 9.7G 155M 9.1G 2% /home /dev/mapper/VolGroup00-optvol 9.7G 152M 9.1G 2% /opt /dev/mapper/VolGroup00-tmpvol 9.7G 408M 8.8G 5% /tmp /dev/mapper/VolGroup00-varvol 15G 320M 14G 3% /var /dev/sda1 122M 18M 98M 16% /boot tmpfs 4.0G 0 4.0G 0% /dev/shm > |
| Sponsored Links | ||
|
|
|
|||
|
well after searching for a while came across
How to shrink a default install LVM PV to create another partition — Fedora Unity Project had to do a little bit of arithmetic but finally got it done |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| importing ZFS volume from OpenSolaris? | mad99 | All about FreeBSD/OpenBSD/NetBSD | 1 | 31-05-2009 07:17 PM |
| Linux Logical volume manager | unixfoo | CentOS / RHEL / Fedora | 0 | 18-12-2008 08:27 AM |
| The volume is not working | manoharp2008 | Linux software | 0 | 22-08-2008 01:23 AM |
| Retrieval of volume UUID in Mac | Ashish Pathak | The Hangout | 0 | 05-04-2008 11:21 AM |
| How to increase the vmalloc size? | warren | Linux software | 1 | 11-09-2006 12:59 PM |