My 12.1 system has been running beautifully, but today when I started it, it comes up with : “Error removing orphan entry, stopping orphan cleanup” and then goes to emergency mode. I can login as root, bu I’m not sure what to do from there
I have not run into that.
If it happens again, then login as root, then try:
cd /tmp
rm -rf *
rm -rf .??*
shutdown -r now
and see if it works after that.
Note that I am just making a wild guess that it might be a stale file in “/tmp” causing the problem.
I tried that, but still comes up with the same error.
On 2012-04-26 06:16, Alastairo wrote:
>
> My 12.1 system has been running beautifully, but today when I started
> it, it comes up with : “Error removing orphan entry, stopping orphan
> cleanup” and then goes to emergency mode. I can login as root, bu I’m
> not sure what to do from there
orphan entry? In what? :-o
Never saw that. Try to look in the logs…
Hold on. Is it doing an fsck? What filesystem do you have?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
btrfs:error removing orphan entry,stopping orphan cleanup
could not do orphan cleanup
Welcome to emergency mode.
Give root password for login:
Where to from here?
On 04/26/2012 10:46 AM, Alastairo wrote:
>
> btrfs:error removing orphan entry,stopping orphan cleanup
> could not do orphan cleanup
> Welcome to emergency mode.
> Give root password for login:
>
> Where to from here?
One of the reasons that I do not even consider using btrfs is that it still does
not have a good set of error recovery tools.
In general, the recovery from such a situation would be to boot a Live CD or a
rescue system, and (as root) run ‘fsck /dev/sdaX’, where the last part is the
partition giving you the problem. For ext3 or ext4 file systems, that would
likely work. for btrfs, it may not. If not, you will probably need to reinstall.
I tried that - what puzzles me that the fsck /dev/sda7 went so fast. No it didn’t work.
Thanks for the advice on btrfs, and if I reinstall will definitely go back to ext4. This will be the second reinstall of 12.1 that I have to do.
On 2012-04-26 18:36, Alastairo wrote:
>
> I tried that - what puzzles me that the fsck /dev/sda7 went so fast. No
> it didn’t work.
> Thanks for the advice on btrfs, and if I reinstall will definitely go
> back to ext4. This will be the second reinstall of 12.1 that I have to
> do.
You should consider reporting in bugzilla.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Similar problem here. Btrfs has been good up until now.
The log states “could not do orphan cleanup”. Boot takes me to a prompt where I can at least log in as root. Startx then boots into the desktop as superuser, where I can do diagnostics. Still going on this one.
On Tue, 01 May 2012 17:26:02 +0530, cabernet
<cabernet@no-mx.forums.opensuse.org> wrote:
>
> Similar problem here. Btrfs has been good up until now.
> The log states “could not do orphan cleanup”. Boot takes me to a prompt
> where I can at least log in as root. Startx then boots into the desktop
> as superuser, where I can do diagnostics. Still going on this one.
>
congratulations; you’re well on track towards a system that needs to be
reinstalled.
first by chosing a file system that can’t be repaired, and then by doing
your maintenance as root in graphical user interface.
i hope you’ll look for better advice before your next installation.
–
phani.
On Tue, 01 May 2012 17:34:42 +0530, phanisvara das
<listmail@phanisvara.com> wrote:
> On Tue, 01 May 2012 17:26:02 +0530, cabernet
> <cabernet@no-mx.forums.opensuse.org> wrote:
>
>>
>> Similar problem here. Btrfs has been good up until now.
>> The log states “could not do orphan cleanup”. Boot takes me to a prompt
>> where I can at least log in as root. Startx then boots into the desktop
>> as superuser, where I can do diagnostics. Still going on this one.
>>
>
> congratulations; you’re well on track towards a system that needs to be
> reinstalled.
on second thought, i think you’ve reached that stage already. in order to
save you further grief, i think a new installation would be the best
solution.
> first by chosing a file system that can’t be repaired, and then by doing
> your maintenance as root in graphical user interface.
>
> i hope you’ll look for better advice before your next installation.
>
i’m sorry if my last comment came across a bit unfriendly or cynical.
reading it again, that’s what it appears to me
wasn’t intended that way; you obviously didn’t know. for one thing, btrfs
has been sort-of advertised in some posts, as a new and good thing, while
in my (and many others’) opinion it may be ood, but certainly isn’t
production-ready at this point.
i’m using ext4 for all my partitions, and while my experience is very
good, some might even consider that risky, and stick to ext3 instead. but
i’m no file system expert; re. this, you should listen to real experts
like larry finger, who also commented on your post.
as far as logging into X as root is concerned, this is simply a very bad
thing. unknowingly you can alter ownership of files, either directly or
indirectly by programs started in that X session, that can make your
system unusable. it’s one of the big no-no’s of desktop linux use. you’ll
find many threads regarding this on this forum.
–
phani.
On 2012-05-01 15:02, phanisvara das wrote:
> for one thing, btrfs
> has been sort-of advertised in some posts, as a new and good thing, while
> in my (and many others’) opinion it may be ood, but certainly isn’t
> production-ready at this point.
I agree.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Ok some progress. The most recent kernel has a lot of btrfs bug-fixes.
I followed details from this page to install the Kernel of the Day - the top part only.
openSUSE:Kernel of the day - openSUSE
After installation I rebooted. At the boot prompt I selected the newly installed kernel and proceeded to boot. None of the preceding errors were evident. The desktop came up and functions as per normal. More testing is needed yet. I found some software not working as previous - so your mileage may vary.
This page has some useful information
openSUSE-SU-2012:0540-1: kernel: Update to fix various bugs and security