We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-05-18 09:51:05 +0200

Btrfs: phone was rebooted with /dev/loop0 and now it is bricked

I followed instructions in [how-to] Btrfs allocation 100% - What can i do? - Get more space with outsorcing to SD-Card.

I added /dev/loop0 as virtual devices and successfully balanced my device. But when I tried to delete with btrfs device delete /dev/loop0 / I received "Invalid argument" error.

And then I rebooted device :((( And after it I read

If /dev/loop0 can not be deleted, never reboot! Try to balance again and again, delete local data until you can delete it. Write here for help but never reboot it. Hope this will help other solving the btrfs problem

So now I'm in trouble. On boot Jolla phone tries to recover filesystem but always fail. I'm able to boot into recovery mode. Recovery won't work:

Ignoring transid failure
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
Ignoring transid failure
btrfs: cmds-check.c:514: process_inode_item: Assertion `!(rec->ino != key->objectid || rec->refs > 1)' failed.
Aborted
mount: mounting /dev/mmcblk0p28 on /mnt/ failed: Invalid argument
Connection closed by foreign host.

And I have missed device

/ # btrfs filesystem show Label:
'sailfish'  uuid:
0f8a2490-53ed-4ff6-ba34-b81df3430387
        Total devices 2 FS bytes used 23.73MiB
        devid    1 size 13.75GiB used 9.36GiB path /dev/mmcblk0p28
        *** Some devices missing

So now I do't really know what to do. Will full recovery work or make things worse?

Btrfs: phone was rebooted with /dev/loop0 and now it is bricked

I followed instructions in [how-to] Btrfs allocation 100% - What can i do? - Get more space with outsorcing to SD-Card.

I added /dev/loop0 as virtual devices and successfully balanced my device. But when I tried to delete with btrfs device delete /dev/loop0 / I received "Invalid argument" Invalid argument error.

And then I rebooted device :((( And after it I read

If /dev/loop0 can not be deleted, never reboot! Try to balance again and again, delete local data until you can delete it. Write here for help but never reboot it. Hope this will help other solving the btrfs problem

So now I'm in trouble. On boot Jolla phone tries to recover filesystem but always fail. I'm able to boot into recovery mode. Recovery won't work:

Ignoring transid failure
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
Ignoring transid failure
btrfs: cmds-check.c:514: process_inode_item: Assertion `!(rec->ino != key->objectid || rec->refs > 1)' failed.
Aborted
mount: mounting /dev/mmcblk0p28 on /mnt/ failed: Invalid argument
Connection closed by foreign host.

And I have missed device

/ # btrfs filesystem show Label:
'sailfish'  uuid:
0f8a2490-53ed-4ff6-ba34-b81df3430387
        Total devices 2 FS bytes used 23.73MiB
        devid    1 size 13.75GiB used 9.36GiB path /dev/mmcblk0p28
        *** Some devices missing

So now I do't really know what to do. Will full recovery work or make things worse?

Btrfs: phone was rebooted with /dev/loop0 and now it is bricked

I followed instructions in [how-to] Btrfs allocation 100% - What can i do? - Get more space with outsorcing to SD-Card.

I added /dev/loop0 as virtual devices and successfully balanced my device. But when I tried to delete with btrfs device delete /dev/loop0 / I received Invalid argument error.

And then I rebooted device :((( And after it I read

If /dev/loop0 can not be deleted, never reboot! Try to balance again and again, delete local data until you can delete it. Write here for help but never reboot it. Hope this will help other solving the btrfs problem

So now I'm in trouble. On boot Jolla phone tries to recover filesystem but always fail. I'm able to boot into recovery mode. Recovery Btrfs recovery won't work:

Ignoring transid failure
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
parent transid verify failed on 29552640 wanted 16 found 2139347
Ignoring transid failure
btrfs: cmds-check.c:514: process_inode_item: Assertion `!(rec->ino != key->objectid || rec->refs > 1)' failed.
Aborted
mount: mounting /dev/mmcblk0p28 on /mnt/ failed: Invalid argument
Connection closed by foreign host.

And I have missed device

/ # btrfs filesystem show Label:
'sailfish'  uuid:
0f8a2490-53ed-4ff6-ba34-b81df3430387
        Total devices 2 FS bytes used 23.73MiB
        devid    1 size 13.75GiB used 9.36GiB path /dev/mmcblk0p28
        *** Some devices missing

So now I do't really know what to do. Will full recovery work or make things worse?