01,January,2024
2024-01-02
-
LVM – Logical Volume Management.
-
Concepts of Physical Volumes,Volume Groups,Logical Volumes.
-
sudo lvmdiskscan
-
Creating physical volume using physical drives
sudo pvcreate /dev/sda /dev/sdb
-
Creating Volume groups
sudo vgcreate /dev/sda /dev/sdb
-
Creating Logical Volumes within the volume groups
sudo lvcreate -L 10G -n projects LVMVolGroup sudo lvcreate -L 5G -n www LVMVolGroup sudo lvcreate -L 20G -n db LVMVolGroup
-
-
Golang
- Package import,multiple package import
- Exported names starting with capital letters.
- Functions: function definition,function parameters,shortening function parameters,return types, named return types,
2024-01-03
-
LVM
- Formatting and Mounting a logical volume
sudo mkdir -p /mnt/{backup,college-data} sudo mount /dev/VolGrpLvm/backup /mnt/backup/ sudo mount /dev/VolGrpLvm/college-data /mnt/college-data/
- Renaming a logical Volume
sudo lvrename /dev/VolGrpLvm/college-data /dev/VolGrpLvm/college
- Extending a logical Volume
sudo lvextend -L+5G /dev/VolGrpLvm/backup ``` ```sudo lvextend -L25G /dev/VolGrpLvm/backup
- Shrinking a logical volume
sudo lvreduce -L20G /dev/VolGrpLvm/backup
- Removing an logical volume
sudo lvremove /dev/VolGrpLvm/backup
- LVM Stripping
sudo lvcreate -L 10G -i2 -I64 -n backup1 VolGrpLvm
- LVM Mirroring
sudo lvcreate -L 5G -m1 -n mirrorLV VolGrpLvm
- ThinPool and Thin provisioning
sudo lvcreate --thinpool vg_thin/thin_pool --name volume_1 --virtualsize 3G
-
Golang
- Variables
- Short Description variables
- Types
- Type conversion and Type inference
- Constants
2024-01-04
-
Network File System(NFS)
- Here is the link to the document
- Installing NFS server and setting directory permissions to 777
- Configuring Export directory by editing the file
/etc/exports
- Options to configure the NFS server,either readonly or read write, sync or async,subtree check.
- Exporting the shared directory using
exportfs
command - Configuring firewall
ufw
to allow clients to access the shared folder. - Configuring client using nfs-common package
- Creating mountpoints on the client side to access the shared folder.
- Mounting the folder using mount command or adding the entry to
/etc/fstab
2024-01-09
-
Ruby Learning
Solved exercises of Odin Project for the String Exercices & Basic Data Types
2024-01-18
- Guake load preferences from config file
guake --restore-preferences ~/Downloads/guake_prefs
- Python Introduction learing
- Text - multi line print statement,escape sequences,strings and len() of strings
- Variables and Types
- Lists