vernon.wenberg.net

Monitor or watch an rsync process

strace -e open $(ps -o lwp= -LC rsync | sed 's/^/-p/')

or to see what files the process has opened.

lsof -ad3-999 -c rsync?

· 2019/11/29 08:00 · 2020/02/05 15:47

Expand Logical volume in Linux LVM

LVM makes it easy to resize volumes in Linux. This can be done without unmounting drives or requiring a restart.

First determine the free space of the group volume.

vgdisplay

Determine the path to the logical volume.

lvdisplay

Expand the logical volume into the group volume. You can specify a size (M for Megabytes, G for Gigabytes, T for Terabytes) …

lvextend -L+19G /dev/ubuntu-vg/ubuntu-lv

or you can expand the logical volume into the remaining free space.

lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv

You will get a success message similar to the screenshot below after the task is completed.

Resize the partition to use the newly expanded logical volume

resize2fs /dev/ubuntu-vg/ubuntu-lv

· 2019/09/18 18:09 · 2020/02/05 15:43

Useful Tools

· 2019/08/30 02:17 · 2020/02/05 15:47

Install PowerDNS with PowerDNS-Admin

There are several places where you will need to choose a custom value, such as password. Please keep that in mind.

→ Read more...

· 2019/08/23 16:23 · 2020/02/05 15:47

<< Newer entries | Older entries >>

QR Code: URL of current page
QR Code: URL of current page start (generated for current page)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International