LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-30-2001, 08:23 PM   #1
linuxmaster
LQ Newbie
 
Registered: Nov 2001
Posts: 1

Rep: Reputation: 0
Unhappy need help expanding a partition


My /var directory has almost run out of space, I don't know why there is not much in it. I guess I didnt' make it big enough when I installed linux.

is there anyway to make it bigger?


or mount another partition somewhere which will add space to this segment?


any help is appreciated. I need detailed instructions as I am new to this software.

thanks.
 
Old 12-01-2001, 04:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
master?? ;-)

ok, if you want to expand the drve, do you have anywhere else to put the partition? you can only expand the partition if you have free space one side of the partition on the drive. if you do then you should ba ok using resize2fs to sort that out, back anythign important up first tho.

you can only add an extra device to the tree by making it it's own particular branch, e.g /var/mail. you can merge two partitions together but it's pretty nasty, and complicated. so make your new partition (cfdisk, fdisk, diskdruid, diskdrake), and decide what you want to put in it, the use 'dd' to copy that branch onto the new partition, adn then change the mountpoints in /ets/fstab. all there is to it really
 
Old 12-01-2001, 03:25 PM   #3
zhenwu
Member
 
Registered: Jul 2001
Location: Taiwan (ex-Victoria BC)
Distribution: RH 9.0
Posts: 126

Rep: Reputation: 15
I, too have a question along these lines.

I currently have a 3gb HD as hda. I have a 6 gb drive just sitting there, waiting for me to do something with it. Can I move some of the dir. tree (say, /home) to that 6gb drive?

I am running RH7.2, which uses the ext3 filesystem, so I'm not sure if the rules would be the same as for ext2.

Thanks for your help.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
expanding root partition... DaVenom Linux - General 4 09-11-2005 01:19 AM
expanding IDE partition using parted rv8bldr Linux - Hardware 1 09-01-2005 09:27 AM
Expanding an NTFS partition nonoitall Linux - Newbie 3 05-20-2005 03:58 PM
Expanding root partition? biniar Linux - Newbie 1 04-07-2004 01:59 PM
Expanding a partition echid Linux - General 1 08-12-2002 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:44 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