Home
David's tidbits
Cancel

Using ZFS Deduplication

Deduplication is one technique ZFS can use to store file and other data in a pool. If several files contain the same pieces (blocks) of data, or any other pool data occurs more than once in the ...

Mounting an iSCSI share in Vcenter/VSphere/ESXi

This proceed will mount an iSCSI share in Vcenter to be used as a datastore. If things are not working right, rescan the adapter and rescan storage and wait. :-) Add the iSCSI storage On t...

Creating an iSCSI share on TrueNAS

This information will help you create an iSCSI share on TrueNAS. iSCSI shares are a “block” storage device. They are defined as a particular size which can be increased later. Creating a Zvol A...

Creating an iSCSI share with CHAP on TrueNAS

I have already shown you how to create an iSCSI share without authentication. Here I will show you how to create an iSCSI portal with CHAP authentication. In TrueNAS, you can not add CHAP authentic...

Thin Provisioning

In computing, thin provisioning involves using virtualization technology to give the appearance of having more physical resources than are actually available. source: https://en.wikipedia.org/wi...

Adding iSCSI storage to Proxmox

iSCSI storage is a block storage method. Generally, only one initiator at a time can access the storage. This allows network storage (SAN or NAS) to store VMs. Enabling CHAP To enable CHAP in Pro...

Creating Test Files

Random command lines to create test files. dd if=/dev/urandom of=sample.txt bs=64M count=160 # 10GB dd if=/dev/urandom of=sample.txt bs=64M count=800 # 50GB dd if=/dev/zero of=sample.txt bs=1G cou...

Creating a LAMP stack in Ubuntu 22

This procedure will create on an Ubuntu 22 machine, a “LAMP” stack. It assumes a brand new Ubuntu 22 install on either a physical or virtual machine. Source: https://www.linode.com/docs/guides/how...

Using Secrets in Kubernetes via environment variables

This Kubernetes YAML file will create a namespace, a secret and a pod. The pod will run and immediately complete (by design). The namespace is not strictly needed but it is a good habit to get into...

The difference between Kubernetes "Secrets" and "configMaps"

Examples apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: USER_NAME: YWRtaW4= PASSWORD: MWYyZDFlMmU2N2Rm --- apiVersion: v1 kind: ConfigMap metadata: name: configma...