LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-10-2011, 06:03 AM   #1
jitenderana
Member
 
Registered: Jun 2011
Location: INDIA
Posts: 70

Rep: Reputation: Disabled
ext3 partion add in 8eLVM partion


Hi All,
i am recently face one problem, i have one partion in RHEL5 & partion size is 10GB, and now this partion size is full and save no any other data on it, have any option to add some more space in this directory thats why the working space is extend.... i just guess abt this if i am using RAID5 and LVM my problem is solve.... but i am confused for data security..... i am didn't want to lost my data.......

Plz suggest what should be i dooooo.....
 
Old 10-11-2011, 04:53 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Are you asking how to extend the partition? You'll need to boot into a live CD and run something like gparted or fdisk to change partition sizes...
 
Old 10-11-2011, 05:07 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
I think this RedHat tips & tricks page is what you want.
http://magazine.redhat.com/2008/07/1...t3-filesystem/
It will walk you through creating a physical volume, adding it to a logical volume, and resizing the filesystem.

Look about half way down the page starting at "The Resize Test Procedure".
 
Old 10-11-2011, 08:13 AM   #4
jitenderana
Member
 
Registered: Jun 2011
Location: INDIA
Posts: 70

Original Poster
Rep: Reputation: Disabled
thanks for reply, yes i was extend the partion size. but my partion which i was extend is ext3 format, and use maximum space, i want to extend this partion in size without loss any data.....

thanks for given your valuable time......

Regards
jitender
 
Old 10-12-2011, 07:47 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
From your last post, I'm not certain if you still are looking for a solution. By adding a physical volume to the logical volume, you will be increasing it's size, giving you room to extend the size of the filesystem.
I assumed you are using LVM2. This is the default for Redhat.

One way to add a physical volume is to add another hard drive. Another way would be to reduce the size of another filesystem, and then resize the partition, leaving enough room for another partition to use.

Performing a backup first would be a good idea.

---
Sometimes a full backup, repartitioning from scratch, and a full restore would better. With experience you may learn one partition should be larger, and another could be smaller. Maybe you want to put /tmp on it's own partition so you can use more secure mount options. Maybe you want /usr/log/ on it's own partition (on a server) to prevent logs filling up the root directory. After several changes, over time, you could find that a logical partition you grew, spans 2 disks, causing you to lose redundancy if a certain disk went bad.

Last edited by jschiwal; 10-12-2011 at 07:49 AM.
 
  


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
cannot format extended partion as ext3 morad_dba Linux - Hardware 6 11-24-2010 12:12 AM
problem mounting a linux partion from another ext3 partion fkeith Linux - Hardware 1 10-14-2007 08:33 PM
my current primary partion is ext3 with linux installed in it . i want to create a pr amolgupta Linux - Software 1 07-28-2005 09:16 PM
Merging empty hard drive with root partion on ext3? crayolarx Linux - General 11 03-06-2004 04:29 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:09 PM.

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