LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-19-2012, 03:27 PM   #1
tiacovone
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
Resizing ext3 partition


Hello,
I have just setup a SLES11 server with OES11 on top. I am new to this and in the process I partitioned all my storage on the ext3. I had no space left over for my OES. Can I resize the ext3 without having to do my whole setup again.
My system looks like this
/dev/sda 5.45TB IBMserveraid M1015
/dev/sda1 2.01GB EFI Boot Fat /boot/efi
/dev/sda2 2.01GB Linux swap Swap Swap
/dev/sda3 5.45TB Linux native Ext3 /
tmpfs 8.75GB Tmpfs Tmpfs /dev/shm kernel
tmpfs 8.75GB Tmpfs Tmpfs /dev kernel


any advice is appreciated
Thanks, Tom
 
Old 09-19-2012, 05:18 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
first make a FULL back up
step 2 -- see step 1
step 3 ---see step 2

resizing a partition that IS working ??? is iffy
be 100% prepared to reinstall


Quote:
/dev/sda3 5.45TB
and 5 TB is too small ?

" dev/sda1 2.01GB EFI Boot Fat /boot/efi"

a 2 gig boot partition ????
even fedora 17 using "preupgrade" only NEEDS 768 meg
the default for almost ALL disrtos is 100 Meg
and using ext2 for the older sels 11 and not fat32


2 Gig SWAP ??? how much ram do you have
swap has been in the past 1.5 to 2.0 times the amount of ram
BUT
if you have something like 32+ Gig ram then there is no real need for swap
or not larger than 1 or two gig

http://www.novell.com/documentation/

https://www.suse.com/documentation/
https://www.suse.com/documentation/sles11/

What guides are you fallowing ??? if not the novell install guide
a link would be nice
 
Old 09-19-2012, 05:43 PM   #3
ccrmsc
LQ Newbie
 
Registered: Sep 2012
Location: San Jose, CA
Distribution: Centos / Linux RHEL6
Posts: 4

Rep: Reputation: 0
Humm, reducing the size of a partition usually means un-mounting it first. Since this is the / partition so you may have to get creative and boot from a CD first. Please post your solution...
 
Old 09-19-2012, 05:53 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
Quote:
Originally Posted by John VV View Post
" dev/sda1 2.01GB EFI Boot Fat /boot/efi"

a 2 gig boot partition ????
even fedora 17 using "preupgrade" only NEEDS 768 meg
the default for almost ALL disrtos is 100 Meg
and using ext2 for the older sels 11 and not fat32
As you can see this is a EFI boot partition, it needs to be FAT32, although 2GB is really a bit large.
Regarding swap, the thumb rule of 1.5-2x RAM was never a good rule, the only way to determine how much swap you need is to keep an eye on the workload. If you really need something like 1.5-2x RAM as swap than your system is wrong dimensioned for the workload.


@tiacovone: Have a look at resizefs and parted, but the easiest way is to boot from a GParted CD and use GParted to resize the partitions the way you want.
Also, as John_VV already stated, make a backup first.
 
Old 09-19-2012, 09:09 PM   #5
tiacovone
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you everyone for all your input. I basically selected the defaults in the configuation for the swap. I have no problem in blowing away the whole thing but I was looking to save some time if I was able to resize this without too much headache. This was my first attempt to set this server up. I guess I'm better off re-doing this. I see by some of your comments that things were allocated too much in some areas and I really appreciate your knowledge. I guess it probably is easier for me to redo, from what I can see.
Thanks, Tom
 
  


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
parted: resizing ext3 partition rm_dash_rf_star Slackware 6 02-13-2008 10:02 PM
Resizing a running Ext3 partition Dee-ehn Linux - Software 11 01-24-2005 06:38 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 01:21 PM
success: resizing ext3 partition Berhanie Slackware 3 01-18-2004 05:44 AM
Resizing a partition (ext3) herc Linux - Hardware 1 12-26-2003 05:17 PM

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

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