minor changes
This commit is contained in:
parent
0e3e970f16
commit
c69c6dba05
@ -15,9 +15,4 @@ journalctl --disk-usage && journalctl --vacuum-size={size}M
|
|||||||
```
|
```
|
||||||
or prepare the file`/etc/systemd/journald.conf` and this value:`SystemMaxUse=50M`
|
or prepare the file`/etc/systemd/journald.conf` and this value:`SystemMaxUse=50M`
|
||||||
|
|
||||||
create for all btrfs filesystems a regulary scrub timer.
|
|
||||||
```bash
|
|
||||||
for p in $(lsblk -nflo FSTYPE,MOUNTPOINT | awk '$1=="btrfs"{print $2}'); do systemctl enable --now "btrfs-scrub@$(systemd-escape -p "$p").timer"; systemctl start "btrfs-scrub@$(systemd-escape -p "$p").service"; done
|
|
||||||
```
|
|
||||||
the manual way of creating is eating the correct escape.
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
keywords:
|
keywords:
|
||||||
- IT
|
- IT
|
||||||
---
|
---
|
||||||
## Backup NAS
|
## Backup odroid NAS
|
||||||
|
|
||||||
```
|
```
|
||||||
/dev/mmcblk0
|
/dev/mmcblk0
|
||||||
@ -53,10 +53,3 @@ dar -c /mnt/backup/etc_initial --compression=lzo -s 50M -M -R /etc --hash sha1 -
|
|||||||
Nextcloud
|
Nextcloud
|
||||||
--täglich Datenbank Dump und cloud_data
|
--täglich Datenbank Dump und cloud_data
|
||||||
-verschlüsselt
|
-verschlüsselt
|
||||||
|
|
||||||
systemc tl stop nginx
|
|
||||||
systemctl stop php5-fpm
|
|
||||||
rsync -Aax nextcloud/ nextcloud-dirbkp_`date +"%Y%m%d"`/
|
|
||||||
mysqldump --lock-tables -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
|
|
||||||
systemctl start nginx
|
|
||||||
systemctl start php5-fpm
|
|
2
dslr.md
2
dslr.md
@ -9,7 +9,7 @@ keywords:
|
|||||||
- [ ] Quick strap hama
|
- [ ] Quick strap hama
|
||||||
- [ ] Festbrennweite 85mm 1.8
|
- [ ] Festbrennweite 85mm 1.8
|
||||||
- [ ] Teleobjekt
|
- [ ] Teleobjekt
|
||||||
- [ ] Nikon CF-N3000: Kamera-Einschlagtuch __
|
- [ ] _Nikon CF-N3000: Kamera-Einschlagtuch _
|
||||||
- [x] Polfilter Haida Pro II Digital Slim Polfilter Zirkular MC
|
- [x] Polfilter Haida Pro II Digital Slim Polfilter Zirkular MC
|
||||||
- [x] Gegenlichtblende/Sonnenblende PROFOX LH-73D 67mm
|
- [x] Gegenlichtblende/Sonnenblende PROFOX LH-73D 67mm
|
||||||
- [x] Reinigungsutensilien
|
- [x] Reinigungsutensilien
|
||||||
|
7
edms.md
7
edms.md
@ -8,5 +8,12 @@ paperwork
|
|||||||
Hardware-OCR
|
Hardware-OCR
|
||||||
|
|
||||||
## OCR
|
## OCR
|
||||||
|
https://github.com/ocrmypdf/OCRmyPDF
|
||||||
|
https://ocrmypdf.readthedocs.io/en/latest/batch.html
|
||||||
|
To generate manually an OCR pdf rund this after the folder change.
|
||||||
|
```bash
|
||||||
|
find . -printf '%p' -name '*.pdf' -exec ocrmypdf '{}' '{}' \;
|
||||||
|
```
|
||||||
|
to run this automatically a watcher exisist, but is not default.
|
||||||
|
|
||||||
## Dateihandling
|
## Dateihandling
|
||||||
|
34
filesystems.md
Normal file
34
filesystems.md
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Filesystems
|
||||||
|
## btrfs
|
||||||
|
### btrfs scrub
|
||||||
|
As a copy-on-write (COW) filesystem btrfs can compensate some errors from the underlying storage
|
||||||
|
|
||||||
|
##### systemd handling
|
||||||
|
create for all btrfs filesystems a regulary scrub timer.
|
||||||
|
```bash
|
||||||
|
for p in $(lsblk -nflo FSTYPE,MOUNTPOINT | awk '$1=="btrfs"{print $2}'); do systemctl enable --now "btrfs-scrub@$(systemd-escape -p "$p").timer"; systemctl start "btrfs-scrub@$(systemd-escape -p "$p").service"; done
|
||||||
|
```
|
||||||
|
the manual way of creating is eating the correct escape.
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
### ATA/SMART
|
||||||
|
#### hdparm
|
||||||
|
with hdparm you can activate the write-verify `-R1` handling, if the drive has got this feature. Most consumer devices do not have this. Otherwise hdparm is more for the temporary set of AAM or APM, ATAsecurity, DCO, e.g.
|
||||||
|
```
|
||||||
|
/dev/sdb: [SSD]
|
||||||
|
multcount = 0 (off)
|
||||||
|
IO_support = 1 (32-bit)
|
||||||
|
readonly = 0 (off)
|
||||||
|
readahead = 256 (on)
|
||||||
|
geometry = 31130/255/63, sectors = 500118192, start = 0
|
||||||
|
|
||||||
|
/dev/sda: [HDDD]
|
||||||
|
multcount = 16 (on)
|
||||||
|
IO_support = 1 (32-bit)
|
||||||
|
readonly = 0 (off)
|
||||||
|
readahead = 256 (on)
|
||||||
|
geometry = 60801/255/63, sectors = 976773168, start = 0
|
||||||
|
```
|
||||||
|
#### smartmontools
|
||||||
|
the smartmontools contains mainly two features: the smart daemon and the smartctl tool. `smartctl` controls the SMART features of a drive, `smartd` usually surveille and run tests as a daemon with it.
|
@ -6,7 +6,7 @@ keywords:
|
|||||||
# hardware list
|
# hardware list
|
||||||
|
|
||||||
### USB SATA enclosure
|
### USB SATA enclosure
|
||||||
currently broken, firmware not updatable
|
firmware not updatable due missing SPI flash
|
||||||
```
|
```
|
||||||
Inateck 2,5" Gehäuse (ASMT 2115 USB)
|
Inateck 2,5" Gehäuse (ASMT 2115 USB)
|
||||||
ASMedia 1153 - B1PU73D7A0 1809
|
ASMedia 1153 - B1PU73D7A0 1809
|
||||||
@ -22,6 +22,7 @@ Manufacturer: ASMT
|
|||||||
SerialNumber: 00000000000000000000
|
SerialNumber: 00000000000000000000
|
||||||
Port#0: VID=0x174C PID=0x55aa, Device Config: VID=0x174C PID=0x55AA, Rev. 0x0100
|
Port#0: VID=0x174C PID=0x55aa, Device Config: VID=0x174C PID=0x55AA, Rev. 0x0100
|
||||||
```
|
```
|
||||||
|
currently no firmware available
|
||||||
```
|
```
|
||||||
Inateck 2,5" Gehäuse (ASMT 2115 USB)
|
Inateck 2,5" Gehäuse (ASMT 2115 USB)
|
||||||
ASMedia 225CM - B4PW1637A2 2143 +SPI Flash
|
ASMedia 225CM - B4PW1637A2 2143 +SPI Flash
|
||||||
|
@ -15,10 +15,8 @@ keywords:
|
|||||||
|
|
||||||
### IOT
|
### IOT
|
||||||
- living room
|
- living room
|
||||||
- bath
|
|
||||||
- outdoor
|
|
||||||
- office
|
|
||||||
- kitchen
|
- kitchen
|
||||||
|
|
||||||
### misc
|
### misc
|
||||||
- xiaomi Mijia LYWSD03MMC
|
- xiaomi Mijia LYWSD03MMC
|
||||||
- torch light [18650]
|
- torch light [18650]
|
||||||
|
@ -7,8 +7,6 @@ keywords:
|
|||||||
|
|
||||||
- persistent reverse SSH connection with systemd
|
- persistent reverse SSH connection with systemd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
-g Allows remote hosts to connect to local forwarded ports
|
-g Allows remote hosts to connect to local forwarded ports
|
||||||
-N Do not execute a remote command
|
-N Do not execute a remote command
|
||||||
|
Loading…
Reference in New Issue
Block a user