Disk > Mdadm > LVM

lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT mdadm -D /dev/md127 watch cat /proc/mdstat # Create vg1 vgcreate vg1 /dev/md127 # Create lg disk lvcreate -L 150M vg1 -n lv1lvcreate -L 150M vg1 -n lv2lvcreate -L 150M vg1 -n lv3 lvs lvdisplay mkfs.ext4 /dev/vg1/lv1 mkfs.ext4 /dev/vg1/lv2 mkfs.ext4 /dev/vg1/lv3 mkdir /home/lv1 && mount /dev/vg1/lv1 /home/lv1 mkdir /home/lv2 && mount /dev/vg1/lv2 /home/lv2 […]

How to Backup AWS S3 Buckets

https://guljit.blogspot.com/2018/06/how-to-backup-s3.html The S3 Backup Challenge When migrating a large file system to AWS S3, One of the surprising challenges is the implementation of a backup strategy.  With file-system based storage, you often back up the disk with periodic snapshots (daily, weekly, monthly, etc).   There is comfort in knowing that you have a plethora of time capsuled copies stored away and, in […]

Install minio Ubuntu

Minio is a self-hosted solution for creating your own Object storage. It is an alternative for AWS S3, if you have used that service before. The Minio software itself is shipped as a plain binary and even the official documentation suggests you to use it that way, instead of using a package manager. There are, […]

restic with MinIO Server

https://docs.min.io/docs/restic-with-minio.html restic is a fast, efficient and secure backup tool. It is an open source project available under BSD 2-Clause License. In this recipe we will learn how to use restic to backup data into MinIO Server. 1. Prerequisites Install MinIO Server from here. 2. Installation Install restic from https://restic.github.io. 3. Configuration Set MinIO credentials in the environment variables as shown […]