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 06-19-2012, 03:29 AM   #1
Latman
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Rep: Reputation: Disabled
new partition creation


Hi,

I'm still learning all this and in need of some assistance. I have built a system with the partitions below and now been asked to create another 300GB partition.
I have used command fdisk and managed to create /dev/sda4 from /dev/sda5.

Now sure where to go from here to get this ready?


Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 65284 524289307+ 83 Linux
/dev/sda3 65285 78338 104856255 83 Linux
/dev/sda4 78339 163944 687630195 5 Extended
/dev/sda5 78339 163944 687630163+ 8e Linux LVM
 
Old 06-19-2012, 06:41 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
sda4 is an extended partition---it acts as a "wrapper" for any "logical" partitions that you add. It appears that you created sda5 inside of sda4---and that you used all the space available. sda 5 is ~690 GB.

If you need 300GB, then use fdisk to delete sda5 and then create a new partition of 300GB. Beyond that, you'll need to tell us what you want to do---eg i assume you'll want to create a file system and then mount it somewhere.

Tell as much as you can about the context of all this, and we can give better help.
 
1 members found this post helpful.
Old 06-19-2012, 08:25 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
/dev/sda5 is a partition containing a LVM. That means it is not clear if all the space is used, you have to use the LVM tool to have a look at it and maybe resize/create logical volumes.
 
1 members found this post helpful.
Old 06-19-2012, 08:49 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by TobiSGD View Post
/dev/sda5 is a partition containing a LVM. That means it is not clear if all the space is used, you have to use the LVM tool to have a look at it and maybe resize/create logical volumes.
All I see is the partition type---would you not have to do something else to create a filesystem? In other words: I had thought that a partitioning tool would only make changes to the partition table---and not actually write anything to the associated disk space. Does the LVM tool require that the partition be of type "8e"?
 
Old 06-19-2012, 08:37 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Well, 8e is the correct LVM (actually pv) partition type, but whether you can make a different type and then pvcreate it I don't know.
I always use the recommended partition types for whatever partition types I want.
http://www.win.tue.nl/~aeb/partition...n_types-1.html
You certainly do have to put an actual fs eg ext3 on top though.
http://tldp.org/HOWTO/LVM-HOWTO/
 
  


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
swap partition creation itpmohabbot Linux - General 0 03-21-2012 05:13 AM
Increasing the size of an extended partition to allow the creation of a new partition chakkerz Linux - Server 4 05-18-2010 11:18 PM
Shrinking the ext3 partition during the boot and creation of new partition saleem_ak Linux - Newbie 2 05-05-2009 02:52 AM
Linux Partition creation. rdharmalingam Linux - Server 2 11-03-2008 09:42 AM
partition creation errors lestat1729 Linux - General 1 02-15-2004 09:35 AM


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