Posts

Showing posts from July, 2022

Surfshark VPN

 Hi all,  i have been using Private internet access for a vpn for a while now with great results but recently i have been recommended to use to switch to Surfshark and now i have made the move i highly recommend it. it has so many features and its a super fast vpn it also includs a inbuilt antivirus. check it out

How to Extend a LVM on Ubuntu

 ok so here is how to extend a LVM volume on a ubuntu server/desktop machine ( this was done on a virtual machine) open the guest in vmware and increase the volume size ssh into the guest type fdisk /dev/sda (if you have a diffrent disk you will need to use the appropriate disk name) press p (to display the partition table) create a new partiton the same type as the last partition (press n ) keep pressing enter until you get to the partition type and set it the same as the last one leave the rest as default, keep pressing enter press w  (to write to the partition table) restart the machine type vgdisplay (make note of the name of your volume group) type vgextend ubuntu-vg /dev/sda3 (replace ubuntu-vg  with the name of the volume group and 3  with the new partition number u just created) extend the lvm by typing  lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv /dev/sda4 (make sure the lvm name is correct and sda4 is the new partition extend the volume by ty...