Hi friends in Ubuntu
on a remote server I have a 500GB disk, of which only a 50GB partition is us. Disk /dev/sda: 500 GiB, 536870912000 bytes, 1048576000 sectors Disk model: Virtual disk Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x029955ab Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 999423 997376 487M 83 Linux /dev/sda2 1001470 1048573951 1047572482 499.5G 5 Extended /dev/sda5 1001472 1048573951 1047572480 499.5G 8e Linux LVM Now I would like to enlarge the sda1 parttion to use all or most of the disk. The sda1 partition is nearly full, 1GB left. How should I best do that? Thanks Robert -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
On Thu, 17 Dec 2020 at 14:42, robert rottermann <[hidden email]> wrote:
> > Hi friends in Ubuntu > > on a remote server I have a 500GB disk, of which only a 50GB partition is us. "us" here means "used" or "in use", right? If so, OK, that sounds fair enough. But the info that you follow it with contradicts what you said. > Disk /dev/sda: 500 GiB, 536870912000 bytes, 1048576000 sectors 500 GiB disk, OK, fine. > /dev/sda1 * 2048 999423 997376 487M 83 Linux sad1 is not 50GB as you said. It is 486 *meg*, i.e. just under half of 1GB. > /dev/sda2 1001470 1048573951 1047572482 499.5G 5 Extended OK -- you said the rest of the disk was not in use, but it is. > /dev/sda5 1001472 1048573951 1047572480 499.5G 8e Linux LVM It has an LVM volume in it. The disk is full. The _real_ question is what is in that LVM volume. It could be a partition or lots of partitions or part of a volume set spread across other disks -- LVM can do all of that. It could also be a single encrypted volume. We can't tell you. Only you can find out what is in there and decide if you can get rid of it. > The sda1 partition is nearly full, 1GB left. Since its total size is less than a gig, I think this is wrong. Maybe 1MB left? There is an entirely separate question here, too: *how* to enlarge it. This is a virtual disk. So therefore, it is on a virtual machine, under some kind of remote hypervisor. What kind of hypervisor? How do you access it? I am not very familiar with working with remote VMs. I've done it but not a lot. so I cannot even say what the normal or standard way of doing this might be; I don't know. If it was a _local_ VM and I had access to a graphical console to it, I'd boot it from a live medium -- i.e. the ISO of a recent version of Ubuntu -- and use GParted to enlarge the partition. But this may not be possible for you. As you've not said what the remote system is or what access you have, we can't advise further. -- Liam Proven – Profile: https://about.me/liamproven Email: [hidden email] – gMail/gTalk/gHangouts: [hidden email] Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Free forum by Nabble | Edit this page |