• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Update und bootet nicht mehr

ibuxxi

Newbie
Hallo


ich habe heute morgen ein online update durchgeführt opensuse 12.3
leider kam dabei die meldung no space left on device .-(
habe dann nochversucht speicher frei zu geben um das update abzuschließen ohne erfolg.
also reboot

beim booten
bis keywordeingabe für verschlüsseltes system alles ok
dann leider fehlermeldung für root device
Code:
mount -o rw,defaults -t btrfs /dev/mapper/system-root /root
btrfs: Error removing orphan entry, stopping orphan cleanup
brtfs:could not do orphan cleanup -22
could not mount root filesystem -- exiting to /bin/sh

wie bekomme ich wieder zugriff zum system mit der rescue CD

damit ich das update abschließen kann

Danke


http://www.opensuse-forum.de/update-und-bootet-nicht-mehr-software-installieren-aktualisieren/allgemeines-f17/t8898-f55/
 

RME

Advanced Hacker
Hallo,

linux-btrfs@vger.kernel.org schrieb:
The orphan cleaning messages are harmless (and not useful to users anyway), not like the failed mount. As a workaround, mount it read-only and remount read write. It should be fixed after first mount cycle.

We've seen the -22 error during testing and Josef is aware of that, so it's going to be fixed after the checksum problems.
also: read-only mounten, danach wieder read write mounten.

>>> http://comments.gmane.org/gmane.comp.file-systems.btrfs/22335

Gruss,
Roland

P.S.
http://www.opensuse-forum.de/update...lisieren/allgemeines-f17/t8898-f55/#post55995
 
OP
I

ibuxxi

Newbie
hallo

ja nur wie mounte ich beim booten
mein LVM/crypto luks /root ro

beim booten ?

RME schrieb:
Hallo,

linux-btrfs@vger.kernel.org schrieb:
The orphan cleaning messages are harmless (and not useful to users anyway), not like the failed mount. As a workaround, mount it read-only and remount read write. It should be fixed after first mount cycle.

We've seen the -22 error during testing and Josef is aware of that, so it's going to be fixed after the checksum problems.
also: read-only mounten, danach wieder read write mounten.

>>> http://comments.gmane.org/gmane.comp.file-systems.btrfs/22335

Gruss,
Roland

P.S.
http://www.opensuse-forum.de/update...lisieren/allgemeines-f17/t8898-f55/#post55995
 

RME

Advanced Hacker
Starte das System mit der Boot-Option 'ro' (ohne die Anführungszeichen).

(GRUB legacy: im Boot Option Fenster)
(GRUB2: edit mit 'e')

Ich denke dass Du dann nicht einlogen kannst, aber das musst Du auch nicht (die Partition ist 'ro' gemounted). Einfach neu booten (jeztz ohne 'ro' Option); die Partition sollte wieder 'rw' gemounted sein.

-----
Nebenbei: bitte nicht den ganzen vorigen Beitrag ohne Grund zitieren.
 
OP
I

ibuxxi

Newbie
RME schrieb:
Starte das System mit der Boot-Option 'ro' (ohne die Anführungszeichen).
(GRUB2: edit mit 'e')
.

ok ich habe ro gesetzt und gebootet
einloggen per root moglich
dann reboot und rw

aber fehler besteht wieder

Code:
mount -o rw,defaults -t btrfs /dev/mapper/system-root /root
btrfs: Error removing orphan entry, stopping orphan cleanup
brtfs:could not do orphan cleanup -22
could not mount root filesystem -- exiting to /bin/sh
 

RME

Advanced Hacker
Da weiss ich auch nicht weiter... (habe keine btrfs Erfahrung).
einloggen per root moglich
...und kannst Du dann die Platte nicht 'rw' mounten?
Code:
mount -o remount,rw /partition/identifier /mount/point
Den "/mount/point" siehst Du mit (z.B.)
Code:
mount -v | grep "^/" | awk '{print "\nPartition identifier: " $1  "\n Mountpoint: "  $3}'
Wenn das 'rw' mounten so gelingt, dann siehe mal hier:

Help! I ran out of disk space! >>> https://btrfs.wiki.kernel.org/index.php/FAQ

I get "No space left on device" errors, but df says I've got lots of space >>> https://btrfs.wiki.kernel.org/index.php/Problem_FAQ

Hier "balance" ist:
An operation that can be done to a btrfs filesystem, for example through btrfs fi balance /path (see btrfs-progs). A balance passes all data in the filesystem through the allocator again. It is primarily intended to rebalance the data in the filesystem across the devices when a device is added or removed. A balance will regenerate missing copies for the redundant RAID levels, if a device has failed. As of linux kernel 3.3, a balance operation can be made selective about which parts of the filesystem are rewritten.
>>> https://btrfs.wiki.kernel.org/index.php/Glossary

Siehe auch:
Note:

If you've tried btrfs fi balance /mountpoint -dusage=5, and it takes an anormal amount of time (normal time is 20 hours for 1 TB) it may never end, if you try the 'nodatacow' option it also does not work, you have to use the mount with 'skip_balance' option and 'nodatacow' option, after that you should try te method described before.
>>> https://btrfs.wiki.kernel.org/index.php/FAQ

-----
Frage: hat das Update auch einen neuen Kernel installiert? (d.h. wäre ein Downgrade möglich?)
 
OP
I

ibuxxi

Newbie
ok platte auf rw setzen hat funtioniert
also keinen fehlermedung bei befehl
oder wie kann ich prüfen

und ja hat was vom kernel updated, und dabei kam dann no space left on device

konnte aber z.B in tmp nix löschen, also denke ich ist auf ro geblieben

bei reboot kamm der gleiche fehler


mh ?
 

RME

Advanced Hacker
ok platte auf rw setzen hat funtioniert
also keinen fehlermedung bei befehl
oder wie kann ich prüfen
Was zeigt dann (wenn gemounted mit ro versus rw):
Code:
mount

konnte aber z.B in tmp nix löschen, also denke ich ist auf ro geblieben
Kannst Du etwas genauer sein (was hast Du gemacht? Fehlermeldung?).

Hast Du irgend etwas experimentiert? z.B. ein btrfsck ist (so wie ich sehe) noch nicht ratsam.

Das btrfs ist (so scheint es mir) ziemlich exotisch und "tricky" -- Wenn ich z.B. hier reinlese >>> http://wiki.ubuntuusers.de/Btrfs-Mountoptionen dann sehe ich etliche "Achtung!" Infos.

----------

Ich denke Du musst Dich jetzt mit den (von mir zitierten) btrfs Infos auseinandersetzen :???:

...insbesondere:

I get "No space left on device" errors, but df says I've got lots of space >>> https://btrfs.wiki.kernel.org/index.php/Problem_FAQ

d.h.
Code:
sudo btrfs fi balance start -dusage=5 /mount/point
 
Oben