I Have 6TB Disk Drive. How Many Plots Fit On a 6TB Drive?
I managed to have 55, with just 12MB left:
(venv) snef@plot:~/chiaplotgraph$ df /mnt/plot/a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 5858874808 5846129924 12728500 100% /mnt/plot/a
(venv) snef@plot:~/chiaplotgraph$ ls /mnt/plot/a/*plot | wc -l
55
Originally 6TB or 6000GB disk has space of about 5.45TB. If you using Chia Calculator, we can only get 50 k32 Plot and use about 5.44185 TB (≈99.85%) of disk space.
By default ext4 reserves 5% of your disk for the root user. That made sense in 1999, but that’s insane now. You can run this command (as root) to reduce reserved blocks to around 4GB. On a 16TB ext4 file-system that will free up 795GB (since the default of 5% reserved = 800GB reserved for root!).
tune2fs -r 1000000 /dev/<disk-device>
This instantly frees up space. You don’t need to unmount or remount or restart or anything.
But first, use “lsblk” and “df” commands to identify the ext4 file-systems to tune.
And be careful! Running any command directly against any /dev/<disk-device>
file as root is always dangerous. Practice on a computer/drive that’s not important first.
I know you can use excellent tools like chiacalculator.com or plot-plan.chia.foxypool.io 81 but I like having things written down in a table for quick & easy lookup.
TB | K32 | K33 |
---|---|---|
2 | 18 | 9 |
4 | 36 | 18 |
6 | 55 | 27 |
8 | 73 | 36 |
10 | 91 | 45 |
12 | 110 | 55 |
14 | 128 | 64 |
16 | 146 | 73 |
18 | 165 | 82 |
*I’m only showing k32 and k33 as it doesn’t really make sense to plot anything else at this time.
With 6TB HDD (using ext4, already set Reserved block = 0), I only got 54 plots (k32), what did I miss in the formatting/partitioning/plotting process?
Using df command it shows:
- 1K-blocks: 5,813,266,968
- Used: 5,739,565,696
- Available: 73,684,888
I also have a 6TB drive where I did not limit the number of inodes and only get 54 plots
Check my /dev/sdb1 (mounted on /mnt/dest/d) vs /dev/sdd1 (mounted on /mnt/dest/b)
snef@main:~$ sudo tune2fs -l /dev/sdd1 | grep "Inode count"
Inode count: 183144448
snef@main:~$ sudo tune2fs -l /dev/sdb1 | grep "Inode count"
Inode count: 715408
snef@main:~$ df /mnt/dest/d
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdd1 5813267548 5739504132 73747032 99% /mnt/dest/d
snef@main:~$ df /mnt/dest/b
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 5858874808 5845938052 12920372 100% /mnt/dest/b
snef@main:~$ ls -l /mnt/dest/b/plo* | wc -l
55
snef@main:~$ ls -l /mnt/dest/d/plo* | wc -l
54
snef@main:~$