Resizing Logical Partition, creating new partition
Linux - NewbieThis 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.
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.
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000c7a51
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 499711 248832 83 Linux
/dev/sdb2 501758 976771071 488134657 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sdb5 501760 976771071 488134656 8e Linux LVM
#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/.............. -root 73G 6.4G 63G 10% /
udev 992M 4.0K 992M 1% /dev
tmpfs 401M 476K 400M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1001M 0 1001M 0% /run/shm
/dev/sdb1 228M 25M 192M 12% /boot
fdisk -l /dev/sdb
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000c7a51
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 499711 248832 83 Linux
/dev/sdb2 501758 976771071 488134657 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sdb5 501760 976771071 488134656 8e Linux LVM
Curious that it is /dev/sdb, not sda ... ?
It looks as if you have ~500 GB for LVM and only ~75 GB used plus whatever is used for swap. The obvious thing to do would be to create another logical volume (that's an LVM logical volume, not to be confused with a logical partition).
When I perform lvcreate, it seems to only let me create a logical volume ~100GB in size. Is this a limitation of LVM for creating logical volumes inside a volume group?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.