LinuxQuestions.org
Visit Jeremy's Blog.
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 04-15-2010, 11:04 AM   #1
Mark28
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Moving / partition


Hi, I have a system where the / partition keeps running out of space. For some unknown reason the last SA put everything under one partition. I have another physical disk in the system, what i want to do is partition that disk and move the existing / over to it and get the system to boot off the new disk. I have some ideas on how to do this but wanted to get some other input from people who may have done this or know exactly how.

System is Centos 4, ext3 partitions.

Thanks
 
Old 04-15-2010, 12:01 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
If you want to move, resize or break-up / then you must boot from something else -- which is one of the best reasons for not having "everything under one partition"! To be fair, "everything under one partition" was popular for a while in the early days of Linux -- perhaps as a reaction to overly complex multi-partition setups and falling HDD prices. People have advocated it her on LQ recently.

If you want specific advice you must give specific information -- like the size of the existing /, the size of "another physical disk" and whether it's all available, what sort of Linux you have available to boot (installation CD or DVD, Knoppix ...)
 
Old 04-15-2010, 12:37 PM   #3
Mark28
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
...

Existing / is 9.7 GB. I actually have 2x146GB disks that will be RAID 1. I could boot off any recovery cd or DVD.....

Thanks
 
Old 04-15-2010, 02:04 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Out of curiosity: why move the (supposedly) static / off the
HDD and not what ever keeps filling the partition up?

I would have thought that leaving / in place, and moving
the OTHER stuff would be
a) more sensible and
b) much less hassle



Cheers,
Tink
 
Old 04-15-2010, 02:12 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Slightly off-topic, but:

There is NOTHING wrong with having only one partition....The trick is to have big drives and big partitions. Storage is cheap.
 
Old 04-15-2010, 03:14 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by pixellany View Post
Slightly off-topic, but:

There is NOTHING wrong with having only one partition....The trick is to have big drives and big partitions. Storage is cheap.
Ummm ... you may find nothing wrong with that. I do.
At least if you don't qualify what you're doing about/
against that one thing filling up.

In the end all it gives you is a 10x, 20x, 100x longer
time till your problem occurs if something keeps filling
that one partition up.

It was only last week that I saw a box that someone here
hadn't built to standard go "boom" because / filled up,
/var was not on a separate file-system and it became
impossible to even log in on the console. We had to hard
boot the box off a DVD to clean up space. Thank God it
wasn't a machine that runs any tier-1 apps.



Cheers,
Tink
 
  


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
moving a partition sycamorex Linux - General 6 01-03-2008 06:48 AM
,dmrc problem after moving /home partition to NTFS partition yeehung Linux - Newbie 1 11-14-2007 06:17 AM
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
Moving from extended partition to primary partition joelbudgor Linux - General 5 05-26-2004 06:08 PM
moving / from one partition to another chilly_willy2 Linux - General 1 11-02-2003 02:49 AM

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

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