Clone GPD disk /UEFI partition

 bcdboot c:\windows /s m: /f All where m drive was assigned to the 260 MB EFI partition. In other words the UEFI setup was expecting the boot manager to go to the EFI partition and will not accept it being in C: drive…

rclone serve restic Serve the remote for restic’s REST API. Synopsis rclone serve restic implements restic’s REST backend API over HTTP. This allows restic to use rclone as a data storage mechanism for cloud providers that restic does not support directly. Restic is a command line program for doing backups. The server will log errors. Use -v […]

How I back up my servers using restic Automatise the backups using bash and cron On my servers, I have a backup script that looks like this: Easy right? I execute the script at night with some nice and ionice: And we’re done! Bonus: an Ansible playbook to industrialise all of this This is a custom playbook that suits my needs, but […]

SATA HDD & SSD shown as removable Bios does not have Hot Swap options for SATA drives.Interface is AHCI.Have tried: ” reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d x”Which corrects for one drive but when run on the second drive the first drive reverts to removable.I doubt very much that this is a driver issue; it’s just a typical […]

Proxmox storage tips/HDD pass through

Check/list hdd hw ls /dev/disk/by-id/ lsblk Check MD raid status cat /proc/mdstat Remove a hdd from software raid md0 mdadm –fail /dev/md0 /dev/sdx1mdadm –remove /dev/md0 /dev/sdx1 mdadm –remove /dev/md0 /dev/sdx2 udevadm info –query=all –name=/dev/sdx | grep ID_SERIAL zfs list zpool status zfstorage Remove a hdd from zpool zpool detach zfstorage /dev/disk/by-id/…. zpool status zfstorage clear […]

Adding a second HDD to Proxmox This really is an odd failing that has been around since Proxmox moved to their new interface. So here are three ways you can do this, all of which involve ssh’ing into your Proxmox box. Assuming /dev/sdb is your new disk. If you want to use LVM.ssh into your Proxmox box and do, pvcreate […]

SQL SERVER – Unable to Start SQL When Service Account is Removed From Local Administrators Group. Why? One of my clients wanted to secure their SQL Server. One of the rules was that wanted to avoid running SQL Server service with an account which is part of local “Administrators” group. They wanted to provide the minimal permissions needed for the SQL server service account for SQL Server to function. Below are […]