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

[BUG]: Factory Reset: no storage left [answered]

asked 2014-01-14 03:25:28 +0200

jayki gravatar image

updated 2014-01-14 09:37:21 +0200

eric gravatar image

Hey i just did a factory reset, and the first thing i got to see is "Theres no space left" I've sshd to my Jolla, did a df -h to find out if it's really full. That tells me, that i'm using all the 14 gigs directly after the factory Reset?! I just don't have any file on my Phone... then i searched for files larger than 10mb, but there aren't so many.... Even with this Problem i can't install the 1.0.2.5 Update it's just not updating, just rebooting when i try... Please help, before factory reset it all worked fine, but i wanted to try a new fresh install :/ Greets

whats this?!

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by jayki
close date 2014-01-15 16:33:11.513304

Comments

I wonder if it didn't discard the data correctly when reverting to the 'factory state' BTRFS snapshot. (just guessing)

tbr ( 2014-01-14 08:44:51 +0200 )edit
2

Can you show what following command states: btrfs filesystem df /

Sage ( 2014-01-14 09:35:57 +0200 )edit

For the record: my J1 upgrade failed about year ago and I had to do a factory reset. After reset, the file system was 70-80 % full. There were no rec* snapshots mentioned in jayki's answer but one called @_old that contained the old root disk (i.e. most stuff except /home). Removing it made the system usable again.

Jari K ( 2020-02-24 22:56:30 +0200 )edit

1 Answer

Sort by » oldest newest most voted
10

answered 2014-01-14 14:58:08 +0200

jayki gravatar image

updated 2014-10-22 21:30:05 +0200

FireFly gravatar image

Thanks to the People in IRC, especially Aard i got my Problem solved:

Run mount -o subvolid=0 /dev/mmcblk0p28 /mnt/ as root then delete all snapshots called rec*, with btrfs subvolume delete because only @swap factory-@ factory-@home @ and @home are needed. Please don't even delete them!

Don't Delete @swap factory-@ factory-@home @ and @home.

The Problem was, that because of the recovery boot factory reset the device made some snapshots of my old and these were really big, these were called "rec*" So you just have to delete them and you'll have your space back again Thank you Aard (:

edit flag offensive delete publish link more

Comments

Note on deleting the snapshots, if you changed dir to /mnt to see the subvolumes make sure you include "/mnt/" before "rec..." in the btrfs delete command, deleting starting with rec gives a few errors and causes GUI reset. The full command will look like:

btrfs subvolume delete /mnt/rec

after that press tab for autocomplete, it will also insert / in front of the @'s

szopin ( 2014-03-03 10:41:16 +0200 )edit

SO! All like me. Whole progress! Terminal as root:

mount -o subvolid=0 /dev/mmcblk0p28 /mnt/

Then:

btrfs subvolume delete /mnt/rec*

and last!!!

umount /dev/mmcblk0p28

I didn't do that and then i have to use recovery the golden 5. Why it keep those (good i get my pictures back :D)!? should it delete them automatic when factory reset is done?

Makeclick ( 2014-03-19 19:17:22 +0200 )edit
3

This looks like a pretty big security problem when the system is retaining all info even with a factory reset.

spacenewt ( 2014-03-23 21:07:34 +0200 )edit
1

It only happens, if you use the emergency factory reset... This won't happen if you just use the "normal" factory reset from the phone software.

jayki ( 2014-03-23 23:26:27 +0200 )edit

i used factory reset only one time and i did have 10/13Gt used! So it's gain it every update also. Afrer clean i have 5/13Gt.

Makeclick ( 2014-03-24 08:07:07 +0200 )edit

Question tools

Follow
13 followers

Stats

Asked: 2014-01-14 03:25:28 +0200

Seen: 3,749 times

Last updated: Oct 22 '14