LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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, 05:41 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 07:25 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
/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, 07:49 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 07:37 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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

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

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