From 19613b441f8b1cdda4677ef0c65f4e189e37caff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 25 Jun 2021 19:51:02 +0200 Subject: Fri, 25 Jun 2021 19:51:02 +0200 --- adrift-space.wiki | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 327 insertions(+) create mode 100644 adrift-space.wiki (limited to 'adrift-space.wiki') diff --git a/adrift-space.wiki b/adrift-space.wiki new file mode 100644 index 0000000..e01917e --- /dev/null +++ b/adrift-space.wiki @@ -0,0 +1,327 @@ + +== Kerberos == + +/etc/pam.d/system-auth + +/etc/krb5.conf +/var/lib/krb5kdc/kdc.conf +/usr/local/var/krb5kdc/* + +{{{ +kdb5_util create +kdb5_util stash +kadmin.local +}}} + +== passwd == +hesiod +passwd via DNS! + + +== Elrond == + +TS-431P + +- https://wiki.qnap.com/wiki/Debian_Installation_On_QNAP +- https://wiki.debian.org/InstallingDebianOn/QNAP +- https://groups.google.com/forum/#!topic/linux.debian.ports.arm/c5DLiZkjZbw + +| file | status | +|-- +| /etc/config/apache/temp-file | persistant | +| /etc/nsswitch.conf | ram | +| /etc/hesiod.conf | ram | +| /etc/ssh/sshd_config | ram | + +=== Commands === + +[~] # pvdisplay + --- Physical volume --- + PV Name /dev/md1 + VG Name vg288 + PV Size 8.16 TiB / not usable 448.00 KiB + Allocatable yes (but full) + PE Size 4.00 MiB + Total PE 2138900 + Free PE 0 + Allocated PE 2138900 + PV UUID vlh1SX-xTvf-kkML-J2Kb-D2Ez-it20-H3WynX + +[~] # vgdisplay + --- Volume group --- + VG Name vg288 + System ID + Format lvm2 + Metadata Areas 1 + Metadata Sequence No 75 + VG Access read/write + VG Status resizable + MAX LV 0 + Cur LV 2 + Open LV 1 + Max PV 0 + Cur PV 1 + Act PV 1 + VG Size 8.16 TiB + PE Size 4.00 MiB + Total PE 2138900 + Alloc PE / Size 2138900 / 8.16 TiB + Free PE / Size 0 / 0 + VG UUID FXjhuH-S4Ha-6Gt3-ZFmL-4Ast-JbJ1-nUjF03 + +[~] # lvdisplay + --- Logical volume --- + LV Path /dev/vg288/lv544 + LV Name lv544 + VG Name vg288 + LV UUID AkAQcX-pxpG-mAPC-8Of7-kQWD-mDoA-jL2Vgb + LV Write Access read/write + LV Creation host, time NAS141F49, 2018-06-27 15:42:07 +0200 + LV Status NOT available + LV Size 83.55 GiB + Current LE 21389 + Segments 1 + Allocation inherit + Read ahead sectors 8192 + + --- Logical volume --- + LV Path /dev/vg288/lv1 + LV Name lv1 + VG Name vg288 + LV UUID Xqiuov-dGPu-8IjP-dlN2-hzyN-2OZK-JRPNkg + LV Write Access read/write + LV Creation host, time NAS141F49, 2018-06-27 15:42:15 +0200 + LV Status available + # open 1 + LV Size 8.08 TiB + Current LE 2117511 + Segments 1 + Allocation inherit + Read ahead sectors 8192 + Block device 252:1 + +[~] # md_checker + +Welcome to MD superblock checker (v2.0) - have a nice day~ + +Scanning system... + + +RAID metadata found! +UUID: 2b0ea36c:00574734:9230f51d:a3ac2151 +Level: raid5 +Devices: 4 +Name: md1 +Chunk Size: 64K +md Version: 1.0 +Creation Time: Jun 27 15:42:05 2018 +Status: ONLINE (md1) [UUUU] +=============================================================================================== + Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State +=============================================================================================== + NAS_HOST 1 /dev/sda3 0 Active Feb 5 00:50:50 2020 8090 AAAA + NAS_HOST 2 /dev/sdb3 1 Active Feb 5 00:50:50 2020 8090 AAAA + NAS_HOST 3 /dev/sdc3 2 Active Feb 5 00:50:50 2020 8090 AAAA + NAS_HOST 4 /dev/sdd3 3 Active Feb 5 00:50:50 2020 8090 AAAA +=============================================================================================== + + +[~] # mdadm --misc -D /dev/md* /dev/md1: + Version : 1.0 + Creation Time : Wed Jun 27 15:42:05 2018 + Raid Level : raid5 + Array Size : 8760934848 (8355.08 GiB 8971.20 GB) + Used Dev Size : 2920311616 (2785.03 GiB 2990.40 GB) + Raid Devices : 4 + Total Devices : 4 + Persistence : Superblock is persistent + + Update Time : Wed Feb 5 00:52:57 2020 + State : clean + Active Devices : 4 +Working Devices : 4 + Failed Devices : 0 + Spare Devices : 0 + + Layout : left-symmetric + Chunk Size : 64K + + Name : 1 + UUID : 2b0ea36c:00574734:9230f51d:a3ac2151 + Events : 8090 + + Number Major Minor RaidDevice State + 0 8 3 0 active sync /dev/sda3 + 1 8 19 1 active sync /dev/sdb3 + 4 8 35 2 active sync /dev/sdc3 + 3 8 51 3 active sync /dev/sdd3 +/dev/md13: + Version : 1.0 + Creation Time : Wed Jun 27 15:41:35 2018 + Raid Level : raid1 + Array Size : 458880 (448.20 MiB 469.89 MB) + Used Dev Size : 458880 (448.20 MiB 469.89 MB) + Raid Devices : 32 + Total Devices : 4 + Persistence : Superblock is persistent + + Intent Bitmap : Internal + + Update Time : Wed Feb 5 00:52:53 2020 + State : clean, degraded + Active Devices : 4 +Working Devices : 4 + Failed Devices : 0 + Spare Devices : 0 + + Name : 13 + UUID : 698d729a:14652d2b:ed66f9b5:8a35d5f8 + Events : 34762 + + Number Major Minor RaidDevice State + 0 8 4 0 active sync /dev/sda4 + 1 8 20 1 active sync /dev/sdb4 + 2 8 36 2 active sync /dev/sdc4 + 3 8 52 3 active sync /dev/sdd4 + 8 0 0 8 removed + 10 0 0 10 removed + 12 0 0 12 removed + 14 0 0 14 removed + 16 0 0 16 removed + 18 0 0 18 removed + 20 0 0 20 removed + 22 0 0 22 removed + 24 0 0 24 removed + 26 0 0 26 removed + 28 0 0 28 removed + 30 0 0 30 removed + 32 0 0 32 removed + 34 0 0 34 removed + 36 0 0 36 removed + 38 0 0 38 removed + 40 0 0 40 removed + 42 0 0 42 removed + 44 0 0 44 removed + 46 0 0 46 removed + 48 0 0 48 removed + 50 0 0 50 removed + 52 0 0 52 removed + 54 0 0 54 removed + 56 0 0 56 removed + 58 0 0 58 removed + 60 0 0 60 removed + 62 0 0 62 removed +/dev/md256: + Version : 1.0 + Creation Time : Wed Feb 5 00:17:06 2020 + Raid Level : raid1 + Array Size : 530112 (517.77 MiB 542.83 MB) + Used Dev Size : 530112 (517.77 MiB 542.83 MB) + Raid Devices : 2 + Total Devices : 4 + Persistence : Superblock is persistent + + Intent Bitmap : Internal + + Update Time : Wed Feb 5 00:52:49 2020 + State : clean + Active Devices : 2 +Working Devices : 4 + Failed Devices : 0 + Spare Devices : 2 + + Name : 256 + UUID : e05c53a2:bbabc6e9:d6e4ffb7:101d628f + Events : 2 + + Number Major Minor RaidDevice State + 0 8 2 0 active sync /dev/sda2 + 1 8 18 1 active sync /dev/sdb2 + + 2 8 34 - spare /dev/sdc2 + 3 8 50 - spare /dev/sdd2 +/dev/md322: + Version : 1.0 + Creation Time : Wed Feb 5 00:17:07 2020 + Raid Level : raid1 + Array Size : 7235136 (6.90 GiB 7.41 GB) + Used Dev Size : 7235136 (6.90 GiB 7.41 GB) + Raid Devices : 2 + Total Devices : 4 + Persistence : Superblock is persistent + + Intent Bitmap : Internal + + Update Time : Wed Feb 5 00:17:08 2020 + State : clean + Active Devices : 2 +Working Devices : 4 + Failed Devices : 0 + Spare Devices : 2 + + Name : 322 + UUID : ba861ffc:94298e85:ee9e42de:7e383150 + Events : 2 + + Number Major Minor RaidDevice State + 0 8 5 0 active sync /dev/sda5 + 1 8 21 1 active sync /dev/sdb5 + + 2 8 37 - spare /dev/sdc5 + 3 8 53 - spare /dev/sdd5 +/dev/md9: + Version : 1.0 + Creation Time : Wed Jun 27 22:42:17 2018 + Raid Level : raid1 + Array Size : 530048 (517.71 MiB 542.77 MB) + Used Dev Size : 530048 (517.71 MiB 542.77 MB) + Raid Devices : 32 + Total Devices : 4 + Persistence : Superblock is persistent + + Intent Bitmap : Internal + + Update Time : Wed Feb 5 00:51:55 2020 + State : clean, degraded + Active Devices : 4 +Working Devices : 4 + Failed Devices : 0 + Spare Devices : 0 + + Name : 9 + UUID : 401b9b1a:50cadd0d:6e03467a:f2dc5ff2 + Events : 408979 + + Number Major Minor RaidDevice State + 0 8 1 0 active sync /dev/sda1 + 1 8 17 1 active sync /dev/sdb1 + 2 8 33 2 active sync /dev/sdc1 + 3 8 49 3 active sync /dev/sdd1 + 8 0 0 8 removed + 10 0 0 10 removed + 12 0 0 12 removed + 14 0 0 14 removed + 16 0 0 16 removed + 18 0 0 18 removed + 20 0 0 20 removed + 22 0 0 22 removed + 24 0 0 24 removed + 26 0 0 26 removed + 28 0 0 28 removed + 30 0 0 30 removed + 32 0 0 32 removed + 34 0 0 34 removed + 36 0 0 36 removed + 38 0 0 38 removed + 40 0 0 40 removed + 42 0 0 42 removed + 44 0 0 44 removed + 46 0 0 46 removed + 48 0 0 48 removed + 50 0 0 50 removed + 52 0 0 52 removed + 54 0 0 54 removed + 56 0 0 56 removed + 58 0 0 58 removed + 60 0 0 60 removed + 62 0 0 62 removed -- cgit v1.2.3