wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Irgendwie ist das diesmal alles verflucht zäh, ich habe aber auch ziemlich viel Angst etwas kaputt zu machen. 😳 Ich bin gerade sehr unsicher wegen der Bezeichnung des Festplatte und des Dateisystems. Das ist das NAS (zwei Platten, ohne RAID): 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 | DS209> parted -l
Model: Hitachi HDS722020ALA330 (scsi)
Disk /dev/hda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 131kB 2550MB 2550MB primary ext3 raid
2 2550MB 4698MB 2147MB primary linux-swap(v1) raid
3 4832MB 2000GB 1996GB primary raid
Model: Hitachi HDS722020ALA330 (scsi)
Disk /dev/hdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 131kB 2550MB 2550MB primary ext3 raid
2 2550MB 4698MB 2147MB primary linux-swap(v1) raid
3 4832MB 2000GB 1996GB primary raid
Model: Hitachi HDS722020ALA330 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 131kB 2550MB 2550MB primary ext3 raid
2 2550MB 4698MB 2147MB primary linux-swap(v1) raid
3 4832MB 2000GB 1996GB primary raid
Model: Hitachi HDS722020ALA330 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 131kB 2550MB 2550MB primary ext3 raid
2 2550MB 4698MB 2147MB primary linux-swap(v1) raid
3 4832MB 2000GB 1996GB primary raid
|
Muss ich also nicht fsck.ext3 statt fsck.ext4 verwenden und welche Platte hinter fsck.ext3 -pvf? /dev/hdb oder /dev/sdb (Das Problem ist auf volume2)? Und wie beende ich den syno_poweroff_task-Modus wieder? Und mit welchen Parametern mounte ich danach volume2 wieder? mount -l auf dem NAS brachte leider nur mount: invalid option – l.
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Inzwischen habe ich den Check gestartet und bekam nach 1h folgende Meldung: | DS209> syno_poweroff_task
DS209> umount /volume2
DS209> fsck.ext3 -pvf /dev/md3
1.41.3-1139: Problem in HTREE directory inode 1253380: block #2 has bad min hash
1.41.3-1139: Invalid HTREE directory inode 1253380 (/rsnapshot/daily.2/volume1/RECHNER/home/USER/.local/share/Trash/info).
1.41.3-1139: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
DS209>
|
Offenbar werden genau die C:\nppdf32Log\debuglog DEL.txt-Dateien in Trash/info/ bemängelt. Was mache ich nun? RUN fsck MANUALLY hilft mir nicht wirklich.
|
gert
Anmeldungsdatum: 27. Juni 2005
Beiträge: 642
Wohnort: Murr
|
naja, eigentlich steht ja in der Meldung, was Du tun sollst: ext3.fsck ohne die Option -p starten. Aus der Manpage von ext3.fsck: -p Automatically repair ("preen") the file system. This option will cause e2fsck to automatically fix any filesystem problems that can be safely fixed
without human intervention. If e2fsck discovers a problem which may require the system administrator to take additional corrective action, e2fsck
will print a description of the problem and then exit with the value 4 logically or'ed into the exit code. (See the EXIT CODE section.) This option
is normally used by the system's boot scripts. It may not be specified at the same time as the -n or -y options.
fsck kann das Dateisystem also nicht ohne Interaktion mit dem Systemadministrator reparieren. Du wirst dann also vermutlich an der Stelle, an der der Fehler festgestellt wird, gefragt werden, was fsck machen soll.
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Und was soll ich dann machen? Ich habe doch keine Ahnung, was man machen kann und was man lieber nicht machen sollte auf filesystem-Ebene. 😳
|
gert
Anmeldungsdatum: 27. Juni 2005
Beiträge: 642
Wohnort: Murr
|
die Fragen sind so gestellt, dass Du immer nur mit "no" oder "yes" antworten musst. "no" bedeutet immer, dass die vorgeschlagen Aktion nicht durchgeführt wird. Im Zweifel kannst Du also immer mit no antworten. Noch 2 Auszüge aus der Manpage von ext3.fsck: -n Open the filesystem read-only, and assume an answer of no to all questions. Allows e2fsck to be used non-interactively. This option may not be
specified at the same time as the -p or -y options.
und -y Assume an answer of yes to all questions; allows e2fsck to be used non-interactively. This option may not be specified at the same time as the -n
or -p options.
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Also, nun habe ich fsck.ext3 -vf /dev/md3 gemacht. Es kamen einige Meldungen wie diese, die ich alle mit "y" beantwortet habe. | Problem in HTREE directory inode 78323765: block #2 has bad min hash
Problem in HTREE directory inode 78323765: block #4 has bad min hash
Invalid HTREE directory inode 78323765 (/rsnapshot/daily.2/volume1/RECHNER/home/USER/.local/share/Trash/files). Clear HTree index<y>?
|
Das ist die Zusammenfassung: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | 1.41.3-1139: ***** FILE SYSTEM WAS MODIFIED *****
1371342 inodes used (1.13%)
17547 non-contiguous files (1.3%)
1989 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 109037/5358/13
270930229 blocks used (55.61%)
0 bad blocks
57 large files
895309 regular files
448637 directories
0 character device files
0 block device files
0 fifos
4347402 links
27357 symbolic links (25531 fast symbolic links)
30 sockets
--------
5718735 files
|
Leider bringt mich das bei meinem Problem nicht wirklich weiter. Nach anfänglichen Erfolgen beim löschen scheiterte ich bei hourly.6 bis hourly.10 schon wieder: | DS209> rm -rf hourly.8/volume1/RECHNER/home/USER/.local/share/Trash/
rm: cannot remove `hourly.8/volume1/RECHNER/home/USER/.local/share/Trash/info': Directory not empty
DS209> rm -rf hourly.9/volume1/RECHNER/home/USER/.local/share/Trash/
rm: cannot remove `hourly.9/volume1/RECHNER/home/USER/.local/share/Trash/info': Directory not empty
rm: cannot remove `hourly.9/volume1/RECHNER/home/USER/.local/share/Trash/files': Directory not empty
DS209> rm -rf hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/
rm: cannot remove `hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/info': Directory not empty
rm: cannot remove `hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files': Directory not empty
|
daily, weekly und monthly habe ich dann nicht mehr probiert.☹
|
gert
Anmeldungsdatum: 27. Juni 2005
Beiträge: 642
Wohnort: Murr
|
wiederhole den fsck, bis keine Fehler mehr gefunden werden. Mit der Option -y geht das ohne Rückfragen.
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Wirklich? Darauf wäre ich nie gekommen. Warum sollte er denn jetzt etwas reparieren können, was er eben noch nicht reparieren konnte? Aber wenn nichts dabei kaputt gehen kann... Dumm nur, dass ein Durchlauf bei der Platte 2h dauert.
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Ich habe den Durchlauf nun noch zweimal gemacht und sehe keine Veränderung: 1364218 inodes used (1.12%)
17468 non-contiguous files (1.3%)
2047 non-contiguous directories (0.2%)
# of inodes with ind/dind/tind blocks: 108842/5339/13
270647542 blocks used (55.55%)
0 bad blocks
57 large files
894916 regular files
441922 directories
0 character device files
0 block device files
0 fifos
4310010 links
27341 symbolic links (25530 fast symbolic links)
30 sockets
--------
5674219 files 1364218 inodes used (1.12%)
17468 non-contiguous files (1.3%)
2047 non-contiguous directories (0.2%)
# of inodes with ind/dind/tind blocks: 108842/5339/13
270647542 blocks used (55.55%)
0 bad blocks
57 large files
894916 regular files
441922 directories
0 character device files
0 block device files
0 fifos
4310010 links
27341 symbolic links (25530 fast symbolic links)
30 sockets
--------
5674219 files Und löschen kann ich die Dateien immer noch nicht. 😢
|
gert
Anmeldungsdatum: 27. Juni 2005
Beiträge: 642
Wohnort: Murr
|
wie sieht ls -i jetzt aus?
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
DS209> rm -rf /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/
rm: cannot remove `/volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files': Directory not empty
DS209> ls -i /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/
64724997 files
DS209> ls -l /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/
total 20
drwx------ 2 USER Backup 20480 May 12 17:31 files
DS209> ls -l /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/
ls: cannot access /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\debuglog DEL.txt: No such file or directory
total 0
-????????? ? ? ? ? ? C:\nppdf32Log\debuglog DEL.txt
DS209> ls -i /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/
ls: cannot access /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\debuglog DEL.txt: No such file or directory
? C:\nppdf32Log\debuglog DEL.txt
|
gert
Anmeldungsdatum: 27. Juni 2005
Beiträge: 642
Wohnort: Murr
|
jetzt bitte ein ls -ldi "/volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\debuglog DEL.txt"
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
Mmmh. Komisch. Erst kommt nur ein Promt ohne NAS-Name (Zeile 3). Dann habe ich mehrere Minuten gewartet und mit Cursor Up und Enter die Eingabe wiederholt. Dann kommen Zeile 5-8. | DS209> ls -ldi /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\deb
uglog DEL.txt"
> ls -ldi /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\debuglog
DEL.txt"
ls: cannot access /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:nppdf32Logdebuglog: No such file or directory
ls: cannot access DEL.txt
ls -ldi /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\debuglog DEL.txt: No such file or directory
DS209>
|
Warum ">" ohne "DS209"? Und warum ls: cannot access DEL.txt?
|
gert
Anmeldungsdatum: 27. Juni 2005
Beiträge: 642
Wohnort: Murr
|
Du hast bei der Eingabe das erste Gänsefüßchen (") weggemardert ☺
|
wired2051
(Themenstarter)
Anmeldungsdatum: 28. Februar 2007
Beiträge: 2767
|
*grummel* | DS209> ls -ldi "/volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\de
buglog DEL.txt"
64724999 -rw-rw-r-- 1 USER Backup 960 Mar 17 18:07 /volume2/rsnapshot/hourly.10/volume1/RECHNER/home/USER/.local/share/Trash/files/C:\nppdf32Log\debuglog DEL.txt
DS209>
|
Danke für Deine Geduld!
|