Resizing the ext3 partition (File System Management)

Linux, Unix, Windows..

Moderator: Moderators

Resizing the ext3 partition (File System Management)

Postby anuj_irix » Mon Nov 28, 2005 2:17 am

Hello everyone!
I reached a place where one of my partition was near to 100% while others had extra fee space. (/usr =99% and others like /var and /tmp had extra space). I tried to resize my partitions but was unsuccessful :cry: . Finally I decided to format my hdd(winnt + RHEL3 + Fedora4 + RHEL4). My plan was to remove RHEL3/winnt (I was not using them) and add resulting free space to my RHEL4 and FC4 os but my plan failed cause I was unable to resize my partition :oops:
There must be some proper method for doing this(resizing /usr or any other ext3 partition) as, this is not at all the solution to format hdd. :(
Currently I made new partitons proper (gave max to /usr and other things) and probably out of free space problem will not occur this time...but still I want to know this thing for future.
Thanks in advance
anuj
anuj_irix
Junior Member
 
Posts: 10
Joined: Thu Nov 03, 2005 8:18 am
Location: india

Postby afonic » Mon Nov 28, 2005 3:03 pm

You need to unmount partitions before you resize them.
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 686
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby DenisF » Mon Nov 28, 2005 7:16 pm

hm, i don't think that you can extend your current partition with the free space from the one u deleted, considering they're not one after the other but on different parts of the hard drive.

you can, however, make a new /home and mount your old stuff under /home2 then just link it all together

[if /home is the full partition in question]
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby afonic » Mon Nov 28, 2005 11:06 pm

I think you can.

If I remember well my /home was the first partition and the free space was in the end of the disk (after / and swap) but I was able to resize it.
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 686
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby dillona_aix » Tue Nov 29, 2005 4:21 am

How about LVM?
There are 10 types of people in this world, those who understand binary and those who don't.
User avatar
dillona_aix
Moderator
Moderator
 
Posts: 185
Joined: Sun Sep 11, 2005 9:05 pm
Location: USA

Postby zoli » Tue Nov 29, 2005 7:27 pm

LVM is a solution if you want to resize the volume, but I am not sure if it is possible to convert an ext3 to logical volume.

To be honest I have never tried LVM on Linux.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 784
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby dillona_aix » Tue Nov 29, 2005 11:47 pm

I have used it on Linux, but only installed at setup. I have never modified or added one.
There are 10 types of people in this world, those who understand binary and those who don't.
User avatar
dillona_aix
Moderator
Moderator
 
Posts: 185
Joined: Sun Sep 11, 2005 9:05 pm
Location: USA

Re: Resizing the ext3 partition (File System Management)

Postby prince5 » Mon Jan 10, 2011 9:10 am

hi guys,..
its very great informative link shared here useful one for many others who needs this kind of stuff,…
i appreciate this effort,..
thanks,..
prince5
Newbie
 
Posts: 1
Joined: Mon Jan 10, 2011 9:04 am


Return to Operating systems

Who is online

Users browsing this forum: No registered users and 1 guest

cron