diff --git a/Kodi/NFO Maker.url b/Kodi/NFO Maker.url new file mode 100644 index 0000000..be4eb26 --- /dev/null +++ b/Kodi/NFO Maker.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://nfo-maker.com/ diff --git a/Proxmox/Create new logical volume.md b/Proxmox/Create new logical volume.md new file mode 100644 index 0000000..92a74ea --- /dev/null +++ b/Proxmox/Create new logical volume.md @@ -0,0 +1,31 @@ +# Create a new logical volume + +*[Move ISO storage](https://www.virtualizationhowto.com/community/proxmox-help/proxmox-move-an-iso-from-local-to-another-location/)* + +**Note**: This example uses the `data_2tb` group as base and `ISO` as the datastore to be created. Change this according to need. + +- Create logical volume (example is 32GB): `lvcreate -V 32GiB -T data_2tb/data_2tb -n ISO` +- Format new volume: `mkfs.ext4 /dev/data_2tb/ISO` +- Make mount point: `mkdir /mnt/ISO` +- Mount logical volume to mount point: `mount /dev/data_2tb/ISO /mnt/ISO` +- Test write a file to the new volume: `dd if=/dev/zero of=/mnt/ISO/test bs=1M count=1024` +- If the test works correctly, then remove the test file: `rm /mnt/ISO/test` +- Go to Proxmox GUI and add the new location: + 1. Go to Datacenter + 2. Storage + 3. Add, and add the new storage into Proxmox. + - Use `iso` for ID + - `/mnt/ISO` for Directory + - Select the appropriate content for this datastore +- List ISOs in the default location: `ls -lh /var/lib/vz/template/iso/` +- Move ISOs to the new location: `mv /var/lib/vz/template/iso/*.iso /mnt/ISO/template/iso` + +**Note**: If you only want to move a specific ISO, then move just the required file, example: +`mv /var/lib/vz/template/iso/netgate-installer-v1.0-RC-amd64-20240919-1435.iso /mnt/ISO/template/iso` + +## Make the new datastore available after reboot + +Edit `/etc/fstab` and add the new datastore to the end. +``` +/dev/data_2tb/ISO /mnt/ISO ext4 defaults 0 2 +``` diff --git a/Proxmox/Passthrough Physical Disk to Virtual Machine (VM) - Proxmox VE.url b/Proxmox/Passthrough Physical Disk to Virtual Machine (VM) - Proxmox VE.url new file mode 100644 index 0000000..b5c9bac --- /dev/null +++ b/Proxmox/Passthrough Physical Disk to Virtual Machine (VM) - Proxmox VE.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM) diff --git a/Windows/Storage Spaces with parity, very slow writes. Solved!.url b/Windows/Storage Spaces with parity, very slow writes. Solved!.url new file mode 100644 index 0000000..f234dd0 --- /dev/null +++ b/Windows/Storage Spaces with parity, very slow writes. Solved!.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://wasteofserver.com/storage-spaces-with-parity-very-slow-writes-solved/ diff --git a/Windows/Storage Spaces.md b/Windows/Storage Spaces.md new file mode 100644 index 0000000..4bb518d --- /dev/null +++ b/Windows/Storage Spaces.md @@ -0,0 +1,40 @@ + +Example 1: Creating a 100 GB virtual disk using default settings + +PS C:\> New-VirtualDisk -StoragePoolFriendlyName CompanyData -FriendlyName UserData -Size 100GB + + +Example 2: Creating a thinly-provisioned mirror + +PS C:\> New-VirtualDisk -StoragePoolFriendlyName CompanyData -FriendlyName DataWarehouse -ResiliencySettingName Mirror -Size 42TB -ProvisioningType Thin + + +Example 3: Creating a three-way mirror + +PS C:\> New-VirtualDisk -StoragePoolFriendlyName CompanyData -FriendlyName BusinessCritical -ResiliencySettingName Mirror -NumberOfDataCopies 3 -Size 42TB -ProvisioningType Thin + + +Example 4: Creating a two-column mirror + +PS C:\> New-VirtualDisk -StoragePoolFriendlyName CompanyData -FriendlyName BusinessCritical -ResiliencySettingName Mirror - -Size 42TB -ProvisioningType Thin -NumberOfColumns 2 + + +Example 5: Create a mirror space with storage tiers + +PS C:\> $SSD = Get-StorageTier -FriendlyName *SSD* +PS C:\> $HDD = Get-StorageTier -FriendlyName *HDD* +PS C:\> Get-StoragePool CompanyData | New-VirtualDisk -FriendlyName "UserData01" -ResiliencySettingName "Mirror" -StorageTiers $SSD, $HDD -StorageTierSizes 8GB, 32GB + + +Example 6: Create a dual-parity space + +PS C:\>New-VirtualDisk -StoragePoolFriendlyName "CompanyData" -FriendlyName "ArchivalData" -Size 50GB -ProvisioningType Fixed -ResiliencySettingName "Parity" -PhysicalDiskRedundancy 2 + + + + + + + +New-VirtualDisk -StoragePoolFriendlyName "Datapool" -FriendlyName Games -ResiliencySettingName Mirror -Size 5TB -ProvisioningType Thin +