NEWS
Iobroker Absturz - Ursache?
-
Ich würde behaupten, das Ding ist fratze.
Neuinstallation (auf frischem Datenträger), Backup von vor dem Crash einspielen.
Und diesmal gleich ohne Desktop installieren. -
@thomas-braun
Aber die Haupt-SSD ist doch in Ordnung und läuft, oder wo ist das Problem?
Das Problem hat doch nur der backup-USB Stick!?!
Und die backups sind ja leider auf dem corrupten USB Stick - ob die auslesbar sind? -
pi@raspi:~ $ sudo umount /backup umount: /backup: not mounted. pi@raspi:~ $ sudo fsck.ext4 /dev/sdb1 e2fsck 1.46.2 (28-Feb-2021) /dev/sdb1 is in use. e2fsck: Cannot continue, aborting.
-
@brokeling sagte in Iobroker Absturz - Ursache?:
Und die backups sind ja leider auf dem corrupten USB Stick - ob die auslesbar sind?
Kannste ja probieren. Ich würde das Dateisystem aber tunlichst 'nur-lesend'-ro einhängen. Du schrabbelst das Ding sonst nur noch weiter kaputt.
-
@thomas-braun said in Iobroker Absturz - Ursache?:
@brokeling sagte in Iobroker Absturz - Ursache?:
Und die backups sind ja leider auf dem corrupten USB Stick - ob die auslesbar sind?
Kannste ja probieren. Ich würde das Dateisystem aber tunlichst 'nur-lesend'-ro einhängen. Du schrabbelst das Ding sonst nur noch weiter kaputt.
wie mache ich das?
-
@brokeling
Ist die in der fstab drin?cat /etc/fstab
-
@thomas-braun said in Iobroker Absturz - Ursache?:
cat /etc/fstab
pi@raspi:~ $ cat /etc/fstab proc /proc proc defaults 0 0 PARTUUID=6c586e13-01 /boot vfat defaults,flush 0 2 PARTUUID=6c586e13-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that PARTUUID=85032a97-01 /backup ext4 defaults,noatime,nofail 0 2
-
@brokeling sagte in Iobroker Absturz - Ursache?:
PARTUUID=85032a97-01 /backup ext4 defaults,noatime,nofail 0 2
Trag da mal
PARTUUID=85032a97-01 /backup ext4 defaults,ro,noatime,nofail 0 2
ein. Dann
sudo mount -o remount /backup
Ich weiß nur nicht, ob sich ro nicht mit defaults beißt. Müsste ich nachschauen.
-
@thomas-braun
Ich kann doch den USB stick auch einfach entfernen. -
@brokeling dann kommst duvaber icht mehr an dein(e) Backup(s) ran
-
@brokeling sagte in Iobroker Absturz - Ursache?:
Ich kann doch den USB stick auch einfach entfernen.
Aber NICHT wenn der gemountet ist oder da irgendwas noch drauf zugreift...
Das kann nämlich auch zu defekten Dateien führen. -
@thomas-braun
ok ich trage in der fstab
stattPARTUUID=85032a97-01 /backup ext4 defaults,noatime,nofail 0 2
das hier ein:
PARTUUID=85032a97-01 /backup ext4 defaults,ro,noatime,nofail 0 2
-
@thomas-braun said in Iobroker Absturz - Ursache?:
@brokeling sagte in Iobroker Absturz - Ursache?:
Ich kann doch den USB stick auch einfach entfernen.
Aber NICHT wenn der gemountet ist oder da irgendwas noch drauf zugreift...
Das kann nämlich auch zu defekten Dateien führen.Ich hatte den aber schon abgenommen...
-
@brokeling sagte in Iobroker Absturz - Ursache?:
Ich hatte den aber schon abgenommen...
Computergrundwissen: Macht man nicht.
-
@thomas-braun said in Iobroker Absturz - Ursache?:
@brokeling sagte in Iobroker Absturz - Ursache?:
Ich hatte den aber schon abgenommen...
Computergrundwissen: Macht man nicht.
im abgeschalteten modus.
-
pi@raspi:~ $ cat /etc/fstab proc /proc proc defaults 0 0 PARTUUID=6c586e13-01 /boot vfat defaults,flush 0 2 PARTUUID=6c586e13-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that # PARTUUID=85032a97-01 /backup ext4 defaults,noatime,nofail 0 2 PARTUUID=85032a97-01 /backup ext4 defaults,ro,noatime,nofail 0 2
-
mount | sort
-
@thomas-braun said in Iobroker Absturz - Ursache?:
mount | sort
pi@raspi:~ $ mount | sort cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) /dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro) /dev/sda2 on / type ext4 (rw,noatime,stripe=8191) /dev/sdb1 on /backup type ext4 (rw,noatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=1773668k,nr_inodes=84274,mode=755) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) proc on /proc type proc (rw,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run type tmpfs (rw,nosuid,nodev,size=775416k,nr_inodes=819200,mode=755) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=387704k,nr_inodes=96926,mode=700,uid=1000,gid=1000) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
-
diesen Schritt habe ich noch nicht gemacht:
sudo mount -o remount /backup
soll ich?
-
@homoran said in Iobroker Absturz - Ursache?:
@brokeling dann kommst duvaber icht mehr an dein(e) Backup(s) ran
Eigentlich hoff(t)e ich sie nicht mehr zu brauchen.
Gleich mit einem neuen USB stick - diesmal nehme ich einen SSD - ein backup machen...