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 2015-11-11 12:15:11 +0200

gh gravatar image

Disk full - Unable to delete or balance (Read-only)

I ran in the space issue on Sailfish OS Version 1.1.9.28 and have problems to solve it. Asking the search function and google didn't helped me.

Probably because there is no space left on my Jolla I'am unable to activate the developer mode and delete some files over ssh and do the BTRFS balance. Look's like my necessary account for the dev-mode was removed or are not accessible like messages and contacts. Adding a new account isn't possible (At least on the GUI, because the list when selecting 'Add account' is empty). So I tried without success the factory reset over the GUI and the recovery tool.

In the recovery tool:

Restoring factory subvolumes...
Create a snapshot of '/mnt/factory-@' in '/mnt/@'
Segmentation fault
[ERROR] Failed to recover '@' subvolume from snapshot!

When I try to balance in the recovery shell after a

/ # mount -o nospace_cache,clear_cache,enospc_debug,nodatacow /dev/mmcblk0p28 /mnt
/ # btrfs balance start -dusage=5 /mnt/

I get an permission error:

ERROR: error during balancing '/mnt/' - Read-only file system

Even when chroot to the Sailfish filesystem I can't delete or 'echo > /path/to/yourfile' files in the nemo home due the Read-only.

mkdir /mnt/rootfs
mount /dev/mmcblk0p28 /mnt/rootfs
(mount /dev -o bind /mnt/rootfs/dev)
chroot /mnt/rootfs


/ # btrfs fi show
Label: 'sailfish'  uuid: 4b9a7c4f-83c2-49be-b2b7-6fe67cc12eae
        Total devices 1 FS bytes used 9.74GiB
        devid    1 size 13.75GiB used 13.31GiB path /dev/mmcblk0p28

Btrfs v3.16

I've deleted some old backups in the GUI. Before it was 13.75GiB of 13.75GiB.

Is there a way to access over ssh in the recovery-mode? Or did I miss something because of the read-only (already tried 'su')?

I would greatly appreciate any suggestions. Thanks in advance!

Disk full - Unable to delete or balance (Read-only)

I ran in the space issue on Sailfish OS Version 1.1.9.28 and have problems to solve it. Asking the search function and google didn't helped me.

Probably because there is no space left on my Jolla I'am unable to activate the developer mode and delete some files over ssh and do the BTRFS balance. Look's like my necessary account for the dev-mode was removed or are not accessible like messages and contacts. Adding a new account isn't possible (At least on the GUI, because the list when selecting 'Add account' is empty). So I tried without success the factory reset over the GUI and the recovery tool.

In the recovery tool:

Restoring factory subvolumes...
Create a snapshot of '/mnt/factory-@' in '/mnt/@'
Segmentation fault
[ERROR] Failed to recover '@' subvolume from snapshot!

When I try to balance in the recovery shell after a

/ # mount -o nospace_cache,clear_cache,enospc_debug,nodatacow /dev/mmcblk0p28 /mnt
/ # btrfs balance start -dusage=5 /mnt/

I get an permission error:

ERROR: error during balancing '/mnt/' - Read-only file system

Even when chroot to the Sailfish filesystem I can't delete or 'echo > /path/to/yourfile' files in the nemo home due the Read-only.

mkdir /mnt/rootfs
mount /dev/mmcblk0p28 /mnt/rootfs
(mount /dev -o bind /mnt/rootfs/dev)
chroot /mnt/rootfs
 

/ # btrfs fi show
Label: 'sailfish'  uuid: 4b9a7c4f-83c2-49be-b2b7-6fe67cc12eae
        Total devices 1 FS bytes used 9.74GiB
        devid    1 size 13.75GiB used 13.31GiB path /dev/mmcblk0p28

Btrfs v3.16

I've deleted some old backups in the GUI. Before it was 13.75GiB of 13.75GiB.

Is there a way to access over ssh in the recovery-mode? Or did I miss something because of the read-only (already tried 'su')?

I would greatly appreciate any suggestions. Thanks in advance!

Disk full - Unable to delete or balance (Read-only)

I ran in the space issue on Sailfish OS Version 1.1.9.28 and have problems to solve it. Asking the search function and google didn't helped me.

Probably because there is no space left on my Jolla I'am unable to activate the developer mode and delete some files over ssh and do the BTRFS balance. Look's like my necessary account for the dev-mode was removed or are not accessible like messages and contacts. Adding a new account isn't possible (At least on the GUI, because the list when selecting 'Add account' is empty). So I tried without success the factory reset over the GUI and the recovery tool.

In the recovery tool:

Restoring factory subvolumes...
Create a snapshot of '/mnt/factory-@' in '/mnt/@'
Segmentation fault
[ERROR] Failed to recover '@' subvolume from snapshot!

When I try to balance in the recovery shell after a

/ # mount -o nospace_cache,clear_cache,enospc_debug,nodatacow /dev/mmcblk0p28 /mnt
/ # btrfs balance start -dusage=5 /mnt/

I get an permission error:

ERROR: error during balancing '/mnt/' - Read-only file system

Even when chroot to the Sailfish filesystem I can't delete or 'echo > /path/to/yourfile' files in the nemo home due the Read-only.

mkdir /mnt/rootfs
mount /dev/mmcblk0p28 /mnt/rootfs
(mount /dev -o bind /mnt/rootfs/dev)
chroot /mnt/rootfs

/ # btrfs fi show
Label: 'sailfish'  uuid: 4b9a7c4f-83c2-49be-b2b7-6fe67cc12eae
        Total devices 1 FS bytes used 9.74GiB
        devid    1 size 13.75GiB used 13.31GiB path /dev/mmcblk0p28

Btrfs v3.16

I've deleted some old backups in the GUI. Before it was 13.75GiB of 13.75GiB.

Is there a way to access over ssh in the recovery-mode? Or did I miss something because of the read-only (already tried 'su')?

I would greatly appreciate any suggestions. Thanks in advance!


EDIT:

Some additional information:

/ # btrfs fi df /mnt/rootfs/
Data, single: total=12.58GiB, used=8.96GiB
System, DUP: total=40.00MiB, used=4.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, DUP: total=330.00MiB, used=74.89MiB
Metadata, single: total=8.00MiB, used=0.00