| 29 Apr 2025 |
hexa | # nix-collect-garbage
error: creating directory '/nix/var/nix/temproots': No space left on device
| 11:38:51 |
hexa | /dev/sda2 on / type ext4 (rw,relatime)
| 11:38:55 |
hexa | /dev/disk/by-label/nixos 30G 15G 14G 51% /
| 11:39:00 |
hexa | e2fsck 1.47.2 (1-Jan-2025)
Warning! /dev/sda2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (3964872, counted=3961782).
Fix? no
Free inodes count wrong (6, counted=0).
Fix? no
Feature orphan_present is set but orphan file is clean.
Clear? no
nixos: 1903994/1904000 files (0.1% non-contiguous), 3833651/7798523 blocks
| 11:39:07 |
hexa | I kinda need to fsck the filesystem I think | 11:39:18 |
hexa | although it doesn't seem too kaput | 11:39:30 |
hexa | but not being able to gc on a 51% full disk is weird | 11:39:41 |
adamcstephens | Are you out of inodes? | 11:40:25 |
hexa | oh | 11:40:29 |
hexa | bummer | 11:40:30 |
hexa | YEAH | 11:40:32 |
hexa | crazy | 11:40:35 |
adamcstephens | ext4 woes wor | 11:40:46 |
adamcstephens | * ext4 woes | 11:40:51 |
hexa | one of your images 😛 | 11:40:55 |
adamcstephens | :) | 11:41:20 |
hexa | /dev/disk/by-label/nixos 1904000 1904000 0 100% /
| 11:41:33 |
adamcstephens | I'm not attached to ext4 but the question is always use what instead? | 11:41:41 |
hexa | not btrfs | 11:41:52 |
adamcstephens | xfs? | 11:41:52 |
hexa | maybe just make sure that the nix store is on a dedicted partition? | 11:43:28 |
hexa | * maybe just make sure that the nix store is on a dedicted partition or disk? | 11:43:32 |
hexa | * maybe just make sure that the nix store is on a dedicted partition? | 11:43:39 |
hexa | * maybe just make sure that the nix store is on a dedicated partition? | 11:44:03 |
adamcstephens | Maybe. I've never run into this myself | 11:44:08 |
hexa | because that vm had been sitting there autoupgrading | 11:44:13 |
hexa | and doing nothing else | 11:44:32 |
adamcstephens | That's really weird. | 11:44:51 |
hexa | 6 generations 🤔 | 11:45:01 |
adamcstephens | I don't eval on most of my instances so save on all the nixpkgs files, which I guess could add up | 11:46:11 |