LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2008, 02:54 PM   #1
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Rep: Reputation: 30
Unhappy Resize Linux partitions


I am sure this q. has been asked hundreds of times, but I need to resize my /home partition of Fedora 8. The disk was set up with Anaconda/DRUID, I manually assigned several partition sizes, and I used LVM, which seems to make a small VG in swp, and the remainder of the disk in another VG in /root (48GB). A book I have (Sobell, 3rd Ed). says VG's are to simplify space management, and also suggests, adding new LV's to the VG and identifying a mount point, fstype and size for that LV. However, I'm not sure if this can be done after install.
Here's a couple of listings.
Many thanks
George
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
49199340 3023044 43636776 7% /
/dev/sdb7 497829 454100 18027 97% /home
/dev/sdb6 1984016 104152 1777452 6% /tmp
/dev/sdb5 1984016 372816 1508788 20% /var
/dev/sdb2 9920624 4980376 4428180 53% /usr
/dev/sdb3 9920624 153884 9254672 2% /usr/local
/dev/sdb1 194442 34664 149739 19% /boot
tmpfs 777264 24 777240 1% /dev/shm
/dev/sda2 38909428 22129104 16780324 57% /mnt/win_c
/dev/sda5 205270504 35509812 169760692 18% /mnt/win_d
_____________________________________________________________________
and:
[root@localhost ~]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 50.41 GB
PE Size 32.00 MB
Total PE 1613
Alloc PE / Size 1612 / 50.38 GB
Free PE / Size 1 / 32.00 MB
VG UUID 2XmoSY-3Pl4-115F-dNpi-HOPB-jb4i-6LSfZw
 
Old 06-13-2008, 05:11 PM   #2
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 220

Rep: Reputation: 34
Oh my god! Why yo do that?
what a mess......

fix everything with cfdisk
 
Old 06-13-2008, 05:27 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
It will be a better idea to do the fixing with parted.

Best

A. Mani
 
Old 06-13-2008, 06:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
In future use [code] tags when posting output.
We need the actual layout on the disks - let's see the output from "fdisk -l" (may need root under Fedora).
 
Old 06-13-2008, 07:28 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

It is easier to place large pieces of data within 'Quote' or 'Code' vbcode tags. The tags are at the top of the reply window.

Quote:
Originally Posted by wombat53 View Post
I am sure this q. has been asked hundreds of times, but I need to resize my /home partition of Fedora 8. The disk was set up with Anaconda/DRUID, I manually assigned several partition sizes, and I used LVM, which seems to make a small VG in swp, and the remainder of the disk in another VG in /root (48GB). A book I have (Sobell, 3rd Ed). says VG's are to simplify space management, and also suggests, adding new LV's to the VG and identifying a mount point, fstype and size for that LV. However, I'm not sure if this can be done after install.
Here's a couple of listings.
Many thanks
George

Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      49199340   3023044  43636776   7% /
/dev/sdb7               497829    454100     18027  97% /home
/dev/sdb6              1984016    104152   1777452   6% /tmp
/dev/sdb5              1984016    372816   1508788  20% /var
/dev/sdb2              9920624   4980376   4428180  53% /usr
/dev/sdb3              9920624    153884   9254672   2% /usr/local
/dev/sdb1               194442     34664    149739  19% /boot
tmpfs                   777264        24    777240   1% /dev/shm
/dev/sda2             38909428  22129104  16780324  57% /mnt/win_c
/dev/sda5            205270504  35509812 169760692  18% /mnt/win_d
_____________________________________________________________________
and:
Code:
[root@localhost ~]# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               50.41 GB
  PE Size               32.00 MB
  Total PE              1613
  Alloc PE / Size       1612 / 50.38 GB
  Free  PE / Size       1 / 32.00 MB
  VG UUID               2XmoSY-3Pl4-115F-dNpi-HOPB-jb4i-6LSfZw
Not that hard and makes things easier to read.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize Linux and NTFS Partitions after installation complete akabatman2 SUSE / openSUSE 8 09-23-2005 12:17 PM
Resize Partitions mramos Red Hat 4 09-12-2005 10:32 AM
Linux resize NTFS partitions unfun72 Linux - Distributions 6 06-27-2005 06:19 PM
how do i resize my partitions?? PeO Linux - General 10 08-27-2004 05:54 AM
Resize linux partitions? Scruff Linux - General 2 08-29-2003 05:32 PM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration