LinuxQuestions.org
Register a domain and help support LQ
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-02-2004, 12:13 AM   #1
rajasekar
LQ Newbie
 
Registered: Apr 2004
Location: India
Posts: 6

Rep: Reputation: 0
linux home2 partition full


HI,

My linux server home2 partition is full now. All the files which is there in home2 is importand and our database need all these files .I want to increase home2 partition.

Is there any possiblity to increase the size or i can link to other linux partition.But There should not be data lost.

Thanx
Rajasekar G
 
Old 06-02-2004, 01:47 AM   #2
Goala
Member
 
Registered: May 2004
Location: Merida (Spain)
Distribution: Debian
Posts: 89

Rep: Reputation: 15
Hi rajasekar...

in http://www.linuxquestions.org/questi...hreadid=186099 you have a similar situation that you can adapt to your case (I copy-paste from there):

1) Use cfdisk to create a partition in a new disk or using free space in your current hard disk (call it emmmmm.... /dev/hd??)
2) mkfs.ext3 /dev/hd?? to create a ext3 file system in the new partition (you can use ext2, reiserfs... of course).
3) mkdir a new directory in your system... call it emmm... /home2_new
5) mount -t ext3 /dev/hd?? /home2_new
4) cd /home2 && tar cvf /home2_new/home2_new.tar * (with tar you keep the symbolic links)
5) cd /home2_new && tar xvf home2_new.tar && rm home2_new.tar
6) vi /etc/fstab and change the line with /home2 bla,bla,bla with /home2 /dev/hd??.
7) reboot


Bye.

Last edited by Goala; 06-02-2004 at 02:47 AM.
 
Old 06-02-2004, 03:05 AM   #3
rajasekar
LQ Newbie
 
Registered: Apr 2004
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
thanx goala for reply.

with refer your suggestion , My hard disk free space size should be more than home2 .But my hard disk doesn't have that much free space.
In this case , is there any possiblity to increase the space or i need to install one more harddisk.
 
Old 06-02-2004, 03:31 AM   #4
Goala
Member
 
Registered: May 2004
Location: Merida (Spain)
Distribution: Debian
Posts: 89

Rep: Reputation: 15
I don't have experience with partition resizing.

I know you can resize ext2 (maybe ext3 too) partitions with win32 programs like PartitionMagic. In linux we have parted (http://www.gnu.org/software/parted/)... but like I mentioned before I don't have experience with that.

I would be glad if you shared your tests with us!.

Bye.
 
  


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
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
Can I use a codafs to mirror /home and /home2 across 2 servers? abefroman Linux - Software 1 09-15-2005 07:25 PM
What Happens when your partition is full? Echo Kilo Linux - General 4 05-30-2005 07:36 PM
Full Partition PhuckFonix Linux - Newbie 4 05-09-2004 04:55 PM
partition full? sage_tanstaafl Linux - General 1 12-13-2002 04:07 PM


All times are GMT -5. The time now is 03:57 AM.

Main Menu
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