Hallo liebe Gemeinde,
wie im Titel bereits erwähnt, habe ich mich aus meinem DS416play ausgesperrt. Ich wollte eigentlich SSH-Zertifikate für den admin Account per BASH einrichten (DS416play sollte dabei der SSH-Server sein, gegen den sich mein Laptop per SSH-Zertifikat authentifiziert). In einem Forenbeitrag wurde geschrieben, dass nur der Eigentümer Rechte auf die Verzeichnisse .ssh bzw. sogar nur auf das home Laufwerk haben darf. Also habe ich folgendes gemacht:
admin@fileserver $: chmod 700 ~
Seitdem zeigt die Weboberfläche an "Seite nicht gefunden" und beim Loginversuch per SSH fliege ich sofort wieder raus, weil ich keine Rechte auf /bin/sh habe.
EDIT: Auf dem Synology ist die aktuelle DSM Version installiert und es gibt sonst keinen Nutzer außer Admin mit SSH-Erlaubnis /EDIT
Frage 1: gibt es irgend einen recovery Account um sich auf die DiskStation zu verbinden und die Rechte auf der DiskStation wieder hinzubiegen ?
Frage 2: hat es jemand schonmal geschafft ein 4-Platten Hybridraid mit BTRFS außerhalb einer Synology zu mounten ? Mit einem Ubuntu 21.04 gelingt es mir nach der Anleitung [1] nicht:
Vielleicht weiß jemand Rat. Danke und viele Grüße
[1] https://www.synology.com/tr-tr/know...I_recover_data_from_my_DiskStation_using_a_PC
wie im Titel bereits erwähnt, habe ich mich aus meinem DS416play ausgesperrt. Ich wollte eigentlich SSH-Zertifikate für den admin Account per BASH einrichten (DS416play sollte dabei der SSH-Server sein, gegen den sich mein Laptop per SSH-Zertifikat authentifiziert). In einem Forenbeitrag wurde geschrieben, dass nur der Eigentümer Rechte auf die Verzeichnisse .ssh bzw. sogar nur auf das home Laufwerk haben darf. Also habe ich folgendes gemacht:
admin@fileserver $: chmod 700 ~
Seitdem zeigt die Weboberfläche an "Seite nicht gefunden" und beim Loginversuch per SSH fliege ich sofort wieder raus, weil ich keine Rechte auf /bin/sh habe.
EDIT: Auf dem Synology ist die aktuelle DSM Version installiert und es gibt sonst keinen Nutzer außer Admin mit SSH-Erlaubnis /EDIT
Frage 1: gibt es irgend einen recovery Account um sich auf die DiskStation zu verbinden und die Rechte auf der DiskStation wieder hinzubiegen ?
Frage 2: hat es jemand schonmal geschafft ein 4-Platten Hybridraid mit BTRFS außerhalb einer Synology zu mounten ? Mit einem Ubuntu 21.04 gelingt es mir nach der Anleitung [1] nicht:
Bash:
root@ubuntu:/home/m# lvs
WARNING: PV /dev/md2 in VG vg1000 is using an old PV header, modify the VG to update.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lv vg1000 -wi-a----- <2,72t
root@ubuntu:/home/m# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md2 : active raid5 sda5[7] sdd5[6] sdc5[5] sdb5[4]
2915794368 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
unused devices: <none>
root@ubuntu:/home/m# lvs
WARNING: PV /dev/md2 in VG vg1000 is using an old PV header, modify the VG to update.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lv vg1000 -wi-a----- <2,72t
root@ubuntu:/home/m# mount -o ro /dev/vg1000/lv /data
mount: /data: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/mapper/vg1000-lv ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.
root@ubuntu:/home/m# dmesg | tail -32
[ 206.320593] raid6: using ssse3x2 recovery algorithm
[ 206.322234] xor: automatically using best checksumming function avx
[ 206.324387] async_tx: api initialized (async)
[ 206.334616] md/raid:md2: device sda5 operational as raid disk 0
[ 206.334620] md/raid:md2: device sdd5 operational as raid disk 3
[ 206.334621] md/raid:md2: device sdc5 operational as raid disk 2
[ 206.334622] md/raid:md2: device sdb5 operational as raid disk 1
[ 206.335257] md/raid:md2: raid level 5 active with 4 out of 4 devices, algorithm 2
[ 206.335290] md2: detected capacity change from 0 to 5831588736
[ 206.660758] Btrfs loaded, crc32c=crc32c-intel, zoned=yes
[ 206.661345] BTRFS: device label 2016.12.12-19:29:38 v8451 devid 1 transid 4773366 /dev/dm-0 scanned by systemd-udevd (7252)
[ 327.586005] BTRFS info (device dm-0): disk space caching is enabled
[ 327.586022] BTRFS info (device dm-0): has skinny extents
[ 327.645008] BTRFS critical (device dm-0): corrupt leaf: root=1 block=142675410944 slot=49, invalid root flags, have 0x200000000 expect mask 0x1000000000001
[ 327.645025] BTRFS error (device dm-0): block=142675410944 read time tree block corruption detected
[ 327.654714] BTRFS critical (device dm-0): corrupt leaf: root=1 block=142675410944 slot=49, invalid root flags, have 0x200000000 expect mask 0x1000000000001
[ 327.654728] BTRFS error (device dm-0): block=142675410944 read time tree block corruption detected
[ 327.655649] BTRFS error (device dm-0): open_ctree failed
[ 3546.322473] BTRFS info (device dm-0): disk space caching is enabled
[ 3546.322480] BTRFS info (device dm-0): has skinny extents
[ 3546.400095] BTRFS critical (device dm-0): corrupt leaf: root=1 block=142675410944 slot=49, invalid root flags, have 0x200000000 expect mask 0x1000000000001
[ 3546.400111] BTRFS error (device dm-0): block=142675410944 read time tree block corruption detected
[ 3546.409797] BTRFS critical (device dm-0): corrupt leaf: root=1 block=142675410944 slot=49, invalid root flags, have 0x200000000 expect mask 0x1000000000001
[ 3546.409810] BTRFS error (device dm-0): block=142675410944 read time tree block corruption detected
[ 3546.410867] BTRFS error (device dm-0): open_ctree failed
[ 4854.275381] BTRFS info (device dm-0): disk space caching is enabled
[ 4854.275396] BTRFS info (device dm-0): has skinny extents
[ 4854.361449] BTRFS critical (device dm-0): corrupt leaf: root=1 block=142675410944 slot=49, invalid root flags, have 0x200000000 expect mask 0x1000000000001
[ 4854.361458] BTRFS error (device dm-0): block=142675410944 read time tree block corruption detected
[ 4854.371164] BTRFS critical (device dm-0): corrupt leaf: root=1 block=142675410944 slot=49, invalid root flags, have 0x200000000 expect mask 0x1000000000001
[ 4854.371170] BTRFS error (device dm-0): block=142675410944 read time tree block corruption detected
[ 4854.372469] BTRFS error (device dm-0): open_ctree failed
root@ubuntu:/home/m#
Vielleicht weiß jemand Rat. Danke und viele Grüße
[1] https://www.synology.com/tr-tr/know...I_recover_data_from_my_DiskStation_using_a_PC