dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

31.8 gb encstateful partition #1939

Closed giliammc closed 8 years ago

giliammc commented 9 years ago

i am running out of space and i thought that was odd since i have a 128 gb ssd so i deleted a few things so that i could use my computer without it crashing. i ran lsblk to check my partitons and this is what i found chronos@localhost / $ lsblk lsblk: dm-0: failed to get device path lsblk: dm-0: failed to get device path NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111.8G 0 disk ├─sda1 8:1 0 107.7G 0 part /mnt/stateful_partition ├─sda2 8:2 0 16M 0 part ├─sda3 8:3 0 2G 0 part ├─sda4 8:4 0 16M 0 part ├─sda5 8:5 0 2G 0 part ├─sda6 8:6 0 512B 0 part ├─sda7 8:7 0 512B 0 part ├─sda8 8:8 0 16M 0 part /usr/share/oem ├─sda9 8:9 0 512B 0 part ├─sda10 8:10 0 512B 0 part ├─sda11 8:11 0 8M 0 part └─sda12 8:12 0 16M 0 part loop0 7:0 0 31.8G 0 loop └─encstateful 254:1 0 31.8G 0 dm /mnt/stateful_partition/encrypted zram0 253:0 0 5.7G 0 disk [SWAP] chronos@localhost / $

thanks in advance

DennisLfromGA commented 9 years ago

@giliammc - 'fstrim' needs root permissions, try: sudo fstrim /mnt/stateful_partition/encrypted

giliammc commented 9 years ago

ok

giliammc commented 9 years ago
sudo fstrim    

doesnt apear to have done anything

chronos@localhost / $ sudo fstrim /mnt/stateful_partition/encrypted
chronos@localhost / $ lsblk
NAME          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda             8:0    0 111.8G  0 disk 
├─sda1          8:1    0 107.7G  0 part /mnt/stateful_partition
├─sda2          8:2    0    16M  0 part 
├─sda3          8:3    0     2G  0 part 
│ └─vroot     254:0    0   1.2G  1 dm   /
├─sda4          8:4    0    16M  0 part 
├─sda5          8:5    0     2G  0 part 
├─sda6          8:6    0   512B  0 part 
├─sda7          8:7    0   512B  0 part 
├─sda8          8:8    0    16M  0 part /usr/share/oem
├─sda9          8:9    0   512B  0 part 
├─sda10         8:10   0   512B  0 part 
├─sda11         8:11   0     8M  0 part 
└─sda12         8:12   0    16M  0 part 
loop0           7:0    0  31.8G  0 loop 
└─encstateful 254:1    0  31.8G  0 dm   /mnt/stateful_partition/encrypted
zram0         253:0    0   2.7G  0 disk [SWAP]
chronos@localhost / $ 
drinkcat commented 8 years ago

IIRC encstateful size grows dynamically?