Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Disks 'd:/dir1' and 'd:/dir2' on same device

Help
snakyjake
2014-02-09
2014-02-16
  • snakyjake
    snakyjake
    2014-02-09

    My intention is to SnapRiad two directories both on drive M to drive F. I do not want to SnapRaid an entire drive.

    I'm receiving a message:
    Disks 'M:/Books/' and 'M:/Photos/' are on the same device.
    Both have the serial number '9e399664'.

    Config File:
    disk d0 M:\Books
    disk d1 M:\Photos
    content M:\Books\SnapRAID.content
    content M:\Photos\SnapRAID.content
    parity F:\SnapRaid\SnapRAID.parity

    SnapRaid 5.2 Windows 7 x64.

    Thank you,
    Jake

     
    Last edit: snakyjake 2014-02-09
  • jwill42
    jwill42
    2014-02-09

    You can't do that. Each data disk must be on a separate drive.

     
  • Hi snakyhake,

    You should put the whole drive M:\ under SnapRAID and use the include/exclude rules to select which directory to include.

    Something like:

    disk d0 M:\ include Books\ include Photos\ parity F:\SnapRaid\SnapRAID.parity

    Ciao,
    Andrea

     
    • jwill42
      jwill42
      2014-02-10

      Note that your config file example is missing the line breaks. That may be confusing to some people reading your post.

      You can use pre-formatted text by putting 4 tilde characters on a line before the text, and 4 tildes on a line after the text.

      disk d0 M:\ 
      include Books\ 
      include Photos\ 
      parity F:\SnapRaid\SnapRAID.parity
      
       
  • snakyjake
    snakyjake
    2014-02-12

    I gave this a try. It seems SnapRAID grows the parity file for the entire used space of my disk (M:).

    I only want to include Books and Photos, everything else excluded.

     
    • Chronial
      Chronial
      2014-02-16

      can you post your full config file? I guess you have some more patterns an there and the last one is an exclude?

      See this part of the doc:

      If no pattern matches, the file is excluded if the last pattern specified is an "include", or included if the last pattern specified is an "exclude".