Remove all ZFS snapshots
#!/bin/bashfor snapshot in `zfs list -H -t snapshot | cut -f 1`dozfs destroy $snapshotdone
#!/bin/bashfor snapshot in `zfs list -H -t snapshot | cut -f 1`dozfs destroy $snapshotdone
If you’re merely interested in recording the connection information from the status page, you can use the embedded variables that the status module exposes, and format them for consumption by the HTTP Content sensor directly in the NGINX configuration: location /prtg { return 200 [$connections_active][$connections_reading][$connections_writing][$connections_waiting]; access_log off; allow x.x.x.x/y; deny all; } Reference: https://nginx.org/en/docs/http/ngx_http_stub_status_module.html
https://github.com/leprechau/zfs-replicate/blob/master/zfs-replicate.sh
https://github.com/jimsalterjrs/sanoid
Problem:can’t read STDIN Illegal byte sequence while du -sh, etc gupdatedbCause:Related with UTF-8 locale typeSolution: export LC_CTYPE=C
If you have the following error upon startup, do this to make the system bootable again. Failed to set MokListRT: Invalid Parameter Something has gone seriously wrong: import_mok_state() failed:Invalid Parameter Either burn a new CentoS disc, make a boot flash drive, or insert the install ISO to your VM. Boot from the disc and once… Leer más »
https://www.thegeekdiary.com/a-beginners-guide-to-solaris-multipathing-software-mpxio-stms/ A beginners guide to Solaris Multipathing Software (MPxIO or STMS) By admin Oracle Solaris Storage Multipathing MPxIO provides multipath access to storage luns by grouping together the physical paths and presenting a single logical path. MPxIO can also be referred as STMS or SCSI_VHCI due to the commands used and logical device paths created. Configuration files For Solaris… Leer más »