LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 11-28-2005, 06:23 PM   #1
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
Resizing ext3 partitions (/usr) [file system management]


Hello everyone!
My system: Redhat enterprise4 + Fedora core 4 + Redhat enterprise3 + windows nt
At the installation time I created partitions and now I reached to a position (on RHEL4)where my /usr partition is near to 99% while other partitions have less usage and more free space.
Problem: I want to delete my winnt and Redhat3 (as i am not using them) partitions and then add the resulting free space to the RHEL4 and FC4.
How to resize my /usr partition as it has vital files, I tried to resize but so far unsuccessful , I am sure there must be some proper way for resizing my partitions which I don't know.
thanks and regards
anuj
 
Old 11-28-2005, 06:44 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
what is the output of:
cat /proc/partitions
 
Old 11-29-2005, 12:00 AM   #3
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Original Poster
Rep: Reputation: 16
Hii!
I reinstalled everything (it was pending) but still I am curious about doing this thing...i.e. how to resize my ext3 partitions (Partitions with data e.g. /usr ) without losing data . I am using 2 hdd's and my new partition table

$cat /proc/partitions is

major minor #blocks name

22 0 39121488 hdc
22 1 3068383 hdc1
22 2 1 hdc2
22 5 104359 hdc5
22 6 3068383 hdc6
22 7 5116671 hdc7
22 8 1020096 hdc8
22 9 514048 hdc9
22 10 3068383 hdc10
22 11 1036161 hdc11
22 12 104391 hdc12
22 13 1534176 hdc13
22 14 514048 hdc14
22 15 7164958 hdc15
22 16 1534176 hdc16
22 17 1036161 hdc17
22 18 10225341 hdc18
22 64 39121488 hdd
22 65 10265503 hdd1
22 66 1 hdd2
22 69 10265503 hdd5
22 70 10265503 hdd6
22 71 8313606 hdd7


regards
anuj
 
Old 11-29-2005, 12:09 AM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
that doesn't make much sense to me, how about the output of:
df -h
 
Old 11-29-2005, 02:19 AM   #5
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Original Poster
Rep: Reputation: 16
hello finlay!
here it is!

Filesystem Size Used Avail Use% Mounted on
/dev/hdc8 965M 210M 706M 23% /
/dev/hdc5 99M 13M 82M 14% /boot
/dev/shm 252M 0 252M 0% /dev/shm
/dev/hdc6 2.9G 795M 2.0G 29% /home
/dev/hdc9 487M 11M 451M 3% /tmp
/dev/hdc7 4.8G 2.7G 1.9G 59% /usr
/dev/hdc10 2.9G 267M 2.5G 10% /var
/dev/hdc1 3.0G 2.9G 32M 99% /misc

thnx in advance!
my target it to learn resizing ext3 partitions.
 
Old 11-29-2005, 04:35 AM   #6
rutgerw
Member
 
Registered: Jun 2004
Location: Leiden, The Netherlands
Distribution: Slackware 10.2, SmoothWall Express v3, Kubuntu 7.04, Mac OS X.4
Posts: 69

Rep: Reputation: 15
I think one could use GNU parted for this purpose. It is sort of equivalent to the well-know Partition Magic in the wondows world. Another (excellent) option would be to buy Acronis DiskDirector. It contains a bootable CD with which you can manage almost a lot of partition types (Ext2/3, ReiserFS, FAT, NTFS). You can also move ext2/3 partitions, this is not possible with parted I believe.

Regards
 
  


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
Resizing ext3 partitions! alur3n Linux - General 3 10-03-2005 08:29 PM
Inodes an File System Management okter Programming 1 05-13-2005 07:01 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM
Resizing ext3 partitions on RAID5 array greenhornet Linux - General 2 04-09-2002 09:22 AM
resizing file system samad Linux - Newbie 0 03-27-2002 01:21 AM


All times are GMT -5. The time now is 10:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration