You are mixing up absolute and relative paths. Hint: Absolute paths start with "/"
The filesystem root "/" is on your 256GB drive, and you can mount other drives into it.
Mounting basically means taking a folder and saying "this folder is drive XYZ now".
So, two things: When you change to your external drive and then mkdir /data/bitcoin, you create a folder on your 256GB drive - leave out the first slash and it will be a relative path, seen from the folder you're currently in (your external drive)
Second, /dev is just a folder that lists your connected devices, but (at least for hard drives) doesn't give you access. So, you have to mount the drive first (the default path depends on your linux flavor, could be /mnt or /media e.g.)
When the drive is mounted, you can *cd* to that path and create your folder.
Then you can create your symlink (ln -s) there.
Hope that helps a bit!
So what would be the best way to make sure the blocks get stored on the large hard drive?
Thread collapsed