We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2017-02-23 21:45:55 +0200 |
Hi!
I had this problem when there is plenty free space on the phone but btrfs metadata is full and btrfs balancing doesn't start (no space left on the device) and you can't even delete files to fix it (again, no space left). I added a second btrfs device on SD card following the guide here: https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/ Still had trouble running the balancer... Tried a lot... To cut the long story short, now it boots only in recovery mode and I can only connect to it via telnet. Here are the results:
btrfs fi show
Label: 'sailfish' uuid: 0f8a2490-53ed-4ff6-ba34-b81df3430387
Total devices 2 FS bytes used 8.93GiB
devid 1 size 13.75GiB used 9.37GiB path /dev/mmcblk0p28
*** Some devices missing
Btrfs v3.16
and
btrfs check --repair /dev/mmcblk0p28
enabling repair mode
warning, device 2 is missing
warning devid 2 not found already
Checking filesystem on /dev/mmcblk0p28
UUID: 0f8a2490-53ed-4ff6-ba34-b81df3430387
checking extents
btrfs: extent-tree.c:2682: btrfs_reserve_extent: Assertion `!(ret)' failed.
Aborted
I really need to save some data from the phone, my contacts and my notes specifically. Restoring it to working condition would be a plus.
Please, help!
2 | No.2 Revision |
Hi!
I had this problem when there is plenty free space on the phone but btrfs metadata is full and btrfs balancing doesn't start (no space left on the device) and you can't even delete files to fix it (again, no space left). I added a second btrfs device on SD card following the guide here: https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/ Still had trouble running the balancer... Tried a lot... To cut the long story short, now it boots only in recovery mode and I can only connect to it via telnet. Here are the results:
btrfs fi show
Label: 'sailfish' uuid: 0f8a2490-53ed-4ff6-ba34-b81df3430387
Total devices 2 FS bytes used 8.93GiB
devid 1 size 13.75GiB used 9.37GiB path /dev/mmcblk0p28
*** Some devices missing
Btrfs v3.16
and
btrfs check --repair /dev/mmcblk0p28
enabling repair mode
warning, device 2 is missing
warning devid 2 not found already
Checking filesystem on /dev/mmcblk0p28
UUID: 0f8a2490-53ed-4ff6-ba34-b81df3430387
checking extents
btrfs: extent-tree.c:2682: btrfs_reserve_extent: Assertion `!(ret)' failed.
Aborted
I really need to save some data from the phone, my contacts and my notes specifically. Restoring it to working condition would be a plus.
Please, help!
Okay, some development here. I was able to get some of the info back on mys SD card. Turns out, my disk became a RAID1 setup after I ran the balance with the temporary partition on an SD card. And after reboot, it was unable to operate or mount, until I performed the same losetup /dev/loop0 /mysd/btrfs and then mounted the partition from the SD card. Then btrfs fi show command saw both devices and allowed me finally to mount the subvolume with my home directory.
I copied some files successfully, but I have two problems now: - No idea how to convert the RAID setup back to single to be able to boot (if it is at all possible here) - 4 btrfs-delayed-m processes appeared unexpectedly and consume 16% CPU each and I again have no idea, what are they and whether I can safely reboot in Recovery mode again to try the RAID -> Single conversion (Now all commands take a lot of time to complete).
A sidenote: I am not a technical person, so am asking for leniency here.
3 | No.3 Revision |
Hi!
I had this problem when there is plenty free space on the phone but btrfs metadata is full and btrfs balancing doesn't start (no space left on the device) and you can't even delete files to fix it (again, no space left). I added a second btrfs device on SD card following the guide here: https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/ Still had trouble running the balancer... Tried a lot... To cut the long story short, now it boots only in recovery mode and I can only connect to it via telnet. Here are the results:
btrfs fi show
Label: 'sailfish' uuid: 0f8a2490-53ed-4ff6-ba34-b81df3430387
Total devices 2 FS bytes used 8.93GiB
devid 1 size 13.75GiB used 9.37GiB path /dev/mmcblk0p28
*** Some devices missing
Btrfs v3.16
and
btrfs check --repair /dev/mmcblk0p28
enabling repair mode
warning, device 2 is missing
warning devid 2 not found already
Checking filesystem on /dev/mmcblk0p28
UUID: 0f8a2490-53ed-4ff6-ba34-b81df3430387
checking extents
btrfs: extent-tree.c:2682: btrfs_reserve_extent: Assertion `!(ret)' failed.
Aborted
I really need to save some data from the phone, my contacts and my notes specifically. Restoring it to working condition would be a plus.
Please, help!
Okay, some development here. I was able to get some of the info back on mys SD card. Turns out, my disk became a RAID1 setup after I ran the balance with the temporary partition on an SD card. And after reboot, it was unable to operate or mount, until I performed the same losetup /dev/loop0 /mysd/btrfs and then mounted the partition from the SD card. Then btrfs fi show command saw both devices and allowed me finally to mount the subvolume with my home directory.
I copied some files successfully, but I have two problems now:
- now:
No idea how to convert the RAID setup back to single to be able to boot (if it is at all possible here)
- here)
4 btrfs-delayed-m processes appeared unexpectedly and consume 16% CPU each and I again have no idea, what are they and whether I can safely reboot in Recovery mode again to try the RAID -> Single conversion (Now all commands take a lot of time to complete).
A sidenote: I am not a technical person, so am asking for leniency here.
4 | No.4 Revision |
Hi!
I had this problem when there is plenty free space on the phone but btrfs metadata is full and btrfs balancing doesn't start (no space left on the device) and you can't even delete files to fix it (again, no space left). I added a second btrfs device on SD card following the guide here: https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/ Still had trouble running the balancer... Tried a lot... To cut the long story short, now it boots only in recovery mode and I can only connect to it via telnet. Here are the results:
btrfs fi show
Label: 'sailfish' uuid: 0f8a2490-53ed-4ff6-ba34-b81df3430387
Total devices 2 FS bytes used 8.93GiB
devid 1 size 13.75GiB used 9.37GiB path /dev/mmcblk0p28
*** Some devices missing
Btrfs v3.16
and
btrfs check --repair /dev/mmcblk0p28
enabling repair mode
warning, device 2 is missing
warning devid 2 not found already
Checking filesystem on /dev/mmcblk0p28
UUID: 0f8a2490-53ed-4ff6-ba34-b81df3430387
checking extents
btrfs: extent-tree.c:2682: btrfs_reserve_extent: Assertion `!(ret)' failed.
Aborted
I really need to save some data from the phone, my contacts and my notes specifically. Restoring it to working condition would be a plus.
Please, help!
Okay, some development here. I was able to get some of the info back on mys SD card. Turns out, my disk became a RAID1 setup after I ran the balance with the temporary partition on an SD card. And after reboot, it was unable to operate or mount, until I performed the same losetup /dev/loop0 /mysd/btrfs and then mounted the partition from the SD card. Then btrfs fi show command saw both devices and allowed me finally to mount the subvolume with my home directory.
I copied some files successfully, but I have two problems now:
No idea how to convert the RAID setup back to single to be able to boot (if it is at all possible here)
4 btrfs-delayed-m processes appeared unexpectedly and consume 16% CPU each and I again have no idea, what are they and whether I can safely reboot in Recovery mode again to try the RAID -> Single conversion (Now all commands take a lot of time to complete).
A sidenote: I am not a technical person, so am asking for leniency here.
Update #2. Copied my backup to an SD card (had to mount the missing part of my "RAID" from the card and then copied my backups. Had to do that in two stages - first to the recovery partition, and then to SD card (copying straight to SD card didn't work, instead some btrfs processes kicked in and copying process was left forever in a D state). Then got a working image, thanks to help from @coderus and dd'ed it to my phone from an SD card. Now slowly updating back to the latest version of the OS. Have to say that I still like the 1.x UI/UX more :)
I would like to thank everyone who came here to help for your help! You are great :)
Case closed.