Jump to content
  • 0

Hardlink support


airjrdn

Question

I have a folder of files with names along the lines of:  "File name (Date).ext"

 

I have a script I wrote that creates hardlinks of those files into a subfolder so they are named:  "Date - File name.ext" allowing me to browse them by date.

 

If I run that script with DrivePool now storing all of the files, will it be intelligent enough not to consume double (or more depending on redundancy settings) the storage?

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

We do not support hardlinks on the Pool.

 

We support many other reparse points (such as junction points, and symbolic links) on the Pool, but not hard links. 

http://blog.covecube.com/2013/11/stablebit-drivepool-2-1-0-432-beta-reparse-points/

 

And specifically:

 

 

Hard Links are not implemented using reparse points and so this build of StableBit DrivePool does not support them. Hard Links are implemented directly in NTFS and can only point to a file on the same volume.
 

While DrivePool is a virtual file system, we use multiple disks underneath to create the pool. This makes it fundamentally incompatible with Hard Links.

 

 

 

Also, Alex (the developer) talks a lot about the different types of reparse points here:

http://community.covecube.com/index.php?/topic/279-stablebit-drivepool-reparse-points/

Link to comment
Share on other sites

  • 0

Ok, so if I understand correctly, Symbolic Links may actually allow for what I need to do...have essentially two names point to the same actual file.

 

Let's discuss a simple scenario assuming the following:

  1. I have an empty 100GB pool
  2. The pool is set to 2x duplication
  3. I copy a single 10GB file to the pool
  4.  - Free space should now be 80GB, correct?
  5. I create a symbolic link to the file in a sub-directory on the pool
  6.  - What is free space now?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...