The drive can hold a total value of 120 (8 x 15).
Or you can treat each brick like it's a digit and make it so the drive can hold a single value anywhere between 0 and 16777215.
The way you're doing it is vastly under-utilizing the power of reading & writing data from bricks.
I actually like the idea of using octal numbers to store data in a brick, seeing as it takes less bricks to just make a converter. However, here's how the harddrive should work.
Instead of having 15 blocks that store data, you should have 8. Each block represents an octal digit, each block representing a digit in an octal 'byte'. When you write to the harddrive, it should copy each digit of the number you're sending to the corresponding brick. So for the device I was talking about earlier, here's how it would work:
The player enters in the number 5983. A decimal to octal converter presumably placed behind the console converts the value to 00013537. Then, it sends over the data digit by digit. '7' goes to the first brick and gets stored as the color corresponding to '7'. '3' goes to the second brick and gets stored as the color corresponding to '3'. And so on and so on.
Later, the player decides to read from the harddrive and the data is sent over from the bricks to a Octal > Decimal converter. 00013537 is converted back into 5983, which the screen displays on the screen.
Don't ask me how to do that last part though because that's why no one uses octal values.