Skip to main content
10 events
when toggle format what by license comment
May 21, 2024 at 10:25 comment added nbs root@ais-chn-bovms:/home/user1# pvs PV VG Fmt Attr PSize PFree /dev/sda3 ubuntu-vg lvm2 a-- <444.02g <344.02g Why is only 444GB of 2TB disk is seen with Ubuntu server 22.04 default installation? I was able to extend (using lvextend) the logical volume to use available free space of 444GB instead of the default 100GB assigned at installation.
Jul 2, 2015 at 21:46 history edited Bratchley CC BY-SA 3.0
deleted 2 characters in body
Jun 20, 2014 at 21:18 history edited Bratchley CC BY-SA 3.0
deleted 3 characters in body
Jun 20, 2014 at 17:59 comment added user1301428 That worked, thanks! For some reason it did not autocomplete /dev/mapper/owncloud--vg-root and so I kept trying /sda5 XD
Jun 20, 2014 at 17:56 vote accept user1301428
Jun 19, 2014 at 21:26 comment added Bratchley Also, you didn't mention it in your question but does fdisk -l /dev/sda show the correct hard drive size? If not you may have to reboot or rescan the SCSI bus.
Jun 19, 2014 at 21:24 comment added Bratchley After you run the pvresize command, you can verify the space is in the volume group by running the vgs command.
Jun 19, 2014 at 21:23 comment added Bratchley Once you do the pvresize you're done dealing with regular partitions. You need to specify the path of the logical volume which in this case is /dev/mapper/owncloud--vg-root Personally I'd run lvextend -r -l +100%FREE /dev/mapper/owncloud--vg-root
Jun 19, 2014 at 21:20 comment added user1301428 I have run pvresize followed by lvextend -r -L 500G /dev/sda2, and this is what I get: Path required for Logical Volume "sda2" Please provide a volume group name Run 'lvextend --help' for more information.
Jun 19, 2014 at 19:07 history answered Bratchley CC BY-SA 3.0