Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/2019/Archives for January 2019

Archives for January 2019

January 29, 2019

xfs vs ext 2/3/4

When resizing disks, here are the commands for each respected file system.

For xfs:

xfs_growfs /dev/vgname/lgname

xfs_growfs /dev/vgname/lgname

For ext 2/3/4:

resize2fs /dev/vgname/lgname

resize2fs /dev/vgname/lgname

Filed Under: Linux Tagged With: efs, xfs

January 28, 2019

Extend LVM volume

Extending a LVM logical volume can be tricky. Extending a physical volume especially a boot drive is even more challenging. To make things simple, you can just easily add a new physical disk to your physical volume group. Here are the steps:

# add disk to your instance. 
fdisk /dev/sdh
pvcreate /dev/sdh1
vgextend system /dev/sdh1
lvextend -l +100%FREE /dev/system/opt
resize2fs /dev/system/opt

# add disk to your instance. fdisk /dev/sdh pvcreate /dev/sdh1 vgextend system /dev/sdh1 lvextend -l +100%FREE /dev/system/opt resize2fs /dev/system/opt

The fdisk command requires a few steps inside such as creating a new partition, changing the partition to type to “8e” which is Linux LVM, and then writing your changes to disk.

The rest are pretty much self explanatory. It’s about creating a physical volume, extending the volume group, extending the logical volume, and then finally resizing the file system.

Filed Under: Cloud Tagged With: extend, lvm, volume

January 23, 2019

Apps to Install on Linux Mint

I recently started using Linux Mint again. Although it contains many excellent apps, there are a few things that are missing. So, here’s a list of programs that I have installed ✅ or will be installing on Linux Mint in the near future.

  • ✅ sublime text 3
  • ✅ lastpass
  • ✅ discord
  • ✅ aws cli
  • ✅ ffmpeg
  • ✅ handbrake
  • ✅ git
  • ✅ vim
  • ✅ emacs
  • ✅ tor
  • ✅ slack
  • ✅ docker
  • virtualbox

Filed Under: Linux Tagged With: apps, install, list, mint

  • 1
  • 2
  • 3
  • …
  • 10
  • Next Page »
  • Cloud
  • Linux
  • Git

Copyright © 2012–2021