[1] MLD-5.x / Systems / Raspberry PI / [5.4 testing] Update Fehler: read-only File System
 

Offline MarkusH

  • Newbie
  • *
  • Posts: 28
    • View Profile
Hallo Leute,

ich wollte heute mal meinen Raspi 3 Client updaten aber ich bekomm leider folgende Fehlermeldung:
Code: [Select]
vdr-cl-w> apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  vdr-plugin-skinnopacity
The following NEW packages will be installed:
  libassuan0 libreadline7 libsqlite3-0
The following packages will be upgraded:
  apt base btrfs:armhf-rpi2 busybox channellogos debug dpkg imagemagick init initramfs:armhf-rpi2 irkeytable libavcodec57 libavformat57 libavutil55 libchromaprint1
  libdbus-1-3 libmpg123-0 libncursesw5 libopenmpt0 libraspberrypi-bin:armhf-rpi2 libraspberrypi0 libswresample2 lirc mergerfs mld-remote network-wireless nfs-client
  nfs-common rpi:armhf-rpi2 rpi-firmware:armhf-rpi2 ssh vdr vdr-plugin-apt vdr-plugin-cecremote vdr-plugin-epg2vdr vdr-plugin-nordlichtsepg vdr-plugin-remoteosd
  vdr-plugin-rpihddevice:armhf-rpi2 vdr-plugin-skinflatplus vdr-plugin-streamdev-client vdr-plugin-suspendoutput vdr-plugin-svdrpservice webif webserver xfs
45 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/125 MB of archives.
After this operation, 22,0 MB disk space will be freed.
Do you want to continue? [Y/n]
ERROR: cannot snapshot '/mnt/root/@root': No such file or directory
Create a snapshot of '/mnt/root/@root' in '/mnt/root/2018-04-22 17:43'
rmdir: '/mnt/root': Read-only file system
dpkg: error: unable to access dpkg status area: Read-only file system
E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (30: Read-only file system)
E: Failed to write temporary StateFile /var/lib/apt/extended_states
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't record the approved state changes as dpkg selection states

Das Verzeichnis /mnt/root ist auch read-only gemountet, das kann auch nicht richtig sein oder? Frage nur: Wie bzw. wo stell ich das um?

Markus

Offline mafe68

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 2389
  • Immer auf der Suche nach was neuem!
    • View Profile
    • Mediastreambox
[5.4 testing] Update Fehler: read-only File System
« Reply #1 on: April 22, 2018, 17:59:35 »
Momentan gibt es Probleme bei allen RPI aber Claus ist schon dran.
https://www.minidvblinux.de/forum/index.php/topic,9081.msg70630.html#msg70630
Gruß Mario
Meine Hardware (show / hide)

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20160
    • View Profile
    • ClausMuus.de
[5.4 testing] Update Fehler: read-only File System
« Reply #2 on: April 22, 2018, 19:50:18 »
Wobei der read only Fehler wohl wohl nen anderen Ursprung hat. Das deutet auf nen Fehler im Filesystem hin. Kann sein, dass nach einem Reboot wieder alles OK ist.
Ansonsten könnte uns eventuell ein Debug-Log weiterhelfen.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline MarkusH

  • Newbie
  • *
  • Posts: 28
    • View Profile
[5.4 testing] Update Fehler: read-only File System
« Reply #3 on: April 22, 2018, 20:03:40 »
Das System war frisch gebootet als ich den Update Vorgang gestartet habe. Mach ich immer bevor ich update...

Die debug logs hab ich hochgeladen, Code: kMB8Mp

Gruß - Markus

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20160
    • View Profile
    • ClausMuus.de
[5.4 testing] Update Fehler: read-only File System
« Reply #4 on: April 22, 2018, 20:23:07 »
Dein root Filesystem ist beschädigt. Dabei handelt es sich um ein btrfs Filesystem. Das repariert sich normalerweise im laufenden Betrieb selbständig. Das hat bei Dir aber nicht geklappt.
Mir ist bisher nur ein Fall bekannt, in dem dies nicht möglich war, und da war die SD-Karte defekt. Von daher vermute ich das auch bei Dir die SD-Karte kaputt ist.
Die MLD hat keine zusätzlichen Tools, um schwerwiegende Filesystem Fehler zu korrigieren. Ich weiß auch nicht ob es überhaupt etwas gibt, womit das wieder korrigiert werden kann.
Ich empfehle Dir ein Backup des Systems auf eine neue SD-Karte zu erstellen, und anschließend noch den Inhalt des Datenlaufwerkes (dritte Partition) zu kopieren, sofern da überhaupt etwas drauf ist, da Du ja einen nfs Mount für die Daten verwendest.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline MarkusH

  • Newbie
  • *
  • Posts: 28
    • View Profile
[5.4 testing] Update Fehler: read-only File System
« Reply #5 on: April 24, 2018, 21:45:35 »
Ok, vielen DANK!

Ich installiere neu, das geht vermutlich schneller. Der Client hat nichts drauf was gesichert werden müsste. Die Aufnahmen liegen extern und alles andere ist gleich wieder eingerichtet. Ich werd gleich ne neue SD-Karte nehmen  :D

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20160
    • View Profile
    • ClausMuus.de
[5.4 testing] Update Fehler: read-only File System
« Reply #6 on: April 24, 2018, 21:51:09 »
Mich würde trotzdem interessieren, ob beim erstellen eines Backups auf eine neue SD-Karte z.B. die Netzwerk Mount Einstellungen mit kopiert werden.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

[1] MLD-5.x / Systems / Raspberry PI / [5.4 testing] Update Fehler: read-only File System
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.