LinuxQuestions.org
Help answer threads with 0 replies.
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-21-2011, 07:16 AM   #1
TheOnlyQ
Member
 
Registered: Apr 2011
Posts: 33

Rep: Reputation: 0
AHHHHH...Partitioning? Live? HELP!


Well, My last thread regarded questions about space usage on /

I use the server as a shared hosting production server.

/home/ is the only play which is used really because of this.

However it seems that / is only 10GB.


I need major help because I don't know how to resize the / partition - if I can't resize my /home/ from 5TB to 4.5TB and put some extra gigs on / then I worry that my last resort will be to purchase a new identical server, correct the partitions on that, and then transfer everyone over - which will be too time consuming for my customers.

My customers get this error when logging into cPanel -
Sorry for the inconvenience!
The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

So, here are some stats for you guys to check out.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md1 10157944 9728068 0 100% /
/dev/md3 5771642720 40296748 5440472092 1% /home
tmpfs 6132004 12 6131992 1% /dev/shm
/usr/tmpDSK 495844 74740 395504 16% /tmp

How can I down size md3 and upsize md1 while the server is running? :S

Also - I use OVH so I have the option of vKVM, rescue mode, and boot from iso of my choice, if that helps.

So please, help!
 
Old 04-21-2011, 01:12 PM   #2
eager
Member
 
Registered: Aug 2004
Location: Palo Alto, CA
Distribution: Fedora 8/9, Ubuntu
Posts: 36

Rep: Reputation: 17
Take a look at gparted. It will resize the partitions. Then run resize2fs (or the appropriate resize routine if the file system has a format other than ext) to adjust the file system size.

You can't repartition a disk while it is in use.
 
Old 04-21-2011, 06:53 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,770
Blog Entries: 27

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,

Welcome to LQ!

UBCD Ultimate Boot CD allows users to run floppy-based diagnostic tools from most CDROM drives on Intel-compatible machines, no operating system required. The CD includes many diagnostic utilities.

SystemRescueCd is a Linux system on a bootable CD-ROM for repairing your system and recovering your data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It contains a lot of system utilities (parted, partimage, fstools, ...) and basic tools (editors, midnight commander, network tools).' + 'Online-Manual

You should have one of the above LiveCD for maintenance, emergency or diagnostic work.

Look at Tools, Recovery, Diagnostic, Emergency section of SlackwareŽ-Links for other useful tools.

---------- Post added 04-21-11 at 18:54 ----------

By using the LiveCD you will not have to worry since single user therefore no conflicts.
 
  


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
OpenSuse V.11- Live CD Installation- Partitioning my Hard Drive N1ckxch03 SUSE / openSUSE 1 08-12-2009 08:17 PM
install suse 11.0 from live cd - error when partitioning 1kyle SUSE / openSUSE 3 05-08-2008 08:10 AM
Ahhhhh!!!! InSane103 Linux - Software 21 07-09-2003 08:38 PM
AHHHHH I've been hosed Cichlid Linux - General 1 06-18-2002 10:32 AM
Ahhhhh.... Diablo_66 Linux - General 1 08-03-2001 09:30 PM

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

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