LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 01: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, 04:11 PM   #2
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 228

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

fix everything with cfdisk
 
Old 06-13-2008, 04: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, 05:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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, 06:28 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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



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 11:17 AM
Resize Partitions mramos Red Hat 4 09-12-2005 09:32 AM
Linux resize NTFS partitions unfun72 Linux - Distributions 6 06-27-2005 05:19 PM
how do i resize my partitions?? PeO Linux - General 10 08-27-2004 04:54 AM
Resize linux partitions? Scruff Linux - General 2 08-29-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

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
Open Source Consulting | Domain Registration