aboutsummaryrefslogtreecommitdiff
path: root/adrift-space.wiki
blob: e01917e23cc70797fdaf4662e333e8955bfeeb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
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