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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-19-2012, 03:29 AM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 15
Rep:
|
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
|
|
|
06-19-2012, 06:41 AM
|
#2
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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.
|
06-19-2012, 08:25 AM
|
#3
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
/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.
|
06-19-2012, 08:49 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by TobiSGD
/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"?
|
|
|
06-19-2012, 08:37 PM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,419
|
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/
|
|
|
All times are GMT -5. The time now is 10:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|