User:Orschiro

From ArchWiki
Revision as of 19:26, 6 August 2013 by Orschiro (Talk | contribs) (Short LVM resize guide)

Jump to: navigation, search
Summary help replacing me
My personal sandbox for all Linux related things. All sources are generally provided in my personal Github repository.

Desktop Cheat Sheet Wallpaper

For quick reference I am using a wallpaper which contains a list of commands for daily use. That allows me to quickly minimise all windows and view the command that I was looking for. The wallpaper is working progress and can be downloaded here.

Packages

I am actively working on the following packages:

For all other packages that I am maintaining, see the AUR.

Short LVM resize guide

I happened to resize my LVM configuration quite often but never can remember the actual steps. The targeted partitions have to be umounted.

Activate the volume group

# vgchange -ay

Shrink a LVM volume

# e2fsck -f /dev/VolGroup00/Home
# resize2fs /dev/VolGroup/Home 180G # Resize to 180G
# lvreduce -L 182G /dev/VolGroup00/Home # Reduce the LVM volume to a bit more than the actual file system size
# resize2fs /dev/VolGroup00/Home # Resize to the remaining size of the LVM volume

Resize a LVM volume

# lvextend -L 1300M /dev/VolGroup00/Home # Resize by 1300M
# lvextend -l +100%FREE VolGroup00/Home # Resize by the remaining space
# e2fsck -f /dev/VolGroup00/Home
# resize2fs /dev/VolGroup00/Home