I have LVM container for KVM from which I run my VPS.
I have:
vtbd0p2 as /
vtbd0p3 as swap
vtbd0p4 as /usr
I needed to increase space on vtbd0p4 so I created a bigger LVM container and moved there FreeBSD. The problem is I cannot expand last partition on disk.
I used fdisk -u in single user mode according to this article http://bsdbased.com/2009/11/30/grow-freebsd-ufs-filesystem-on-vmware-hdds.
Unfortunately that advice did not work. [CMD="bsdlabel"]-e /dev/vtbd0[/CMD] and [CMD="disklabel"]-e /dev/vtbd0[/CMD] printed this to terminal: /dev/vtbd0: no valid label found
I tryed gpart bud I wasn't successful because after boot to multiuser mode df -h did not show the same sizes as gpart. And df -h was right with smaller size.
Thank you
I have:
vtbd0p2 as /
vtbd0p3 as swap
vtbd0p4 as /usr
I needed to increase space on vtbd0p4 so I created a bigger LVM container and moved there FreeBSD. The problem is I cannot expand last partition on disk.
I used fdisk -u in single user mode according to this article http://bsdbased.com/2009/11/30/grow-freebsd-ufs-filesystem-on-vmware-hdds.
Unfortunately that advice did not work. [CMD="bsdlabel"]-e /dev/vtbd0[/CMD] and [CMD="disklabel"]-e /dev/vtbd0[/CMD] printed this to terminal: /dev/vtbd0: no valid label found
I tryed gpart bud I wasn't successful because after boot to multiuser mode df -h did not show the same sizes as gpart. And df -h was right with smaller size.
Thank you