none
Tombstones and file duplication

    Question

  • I have 2 hard drives. I was told in a thread before it would take forever for the second drive to fill up because it would hold only tombstones. The second drive actually holds an EXACT copy of all my duplicated files. Why is this? I was told pointers would be the only thing on the disk.
    Sunday, April 26, 2009 7:23 PM

Answers

  • I have 2 hard drives. I was told in a thread before it would take forever for the second drive to fill up because it would hold only tombstones. The second drive actually holds an EXACT copy of all my duplicated files. Why is this? I was told pointers would be the only thing on the disk.

    Hi,

    Please see the technical brief on Drive Extender as it does a pretty good job of explaining this.

    From the document:

    "If your home server has multiple hard drives, Windows Home Server Drive Extender will automatically choose a hard drive to store the files. You do not have to configure or manage this. In addition, if you have multiple hard drives, Windows Home Server helps provide protection against hard-drive failures by ensuring that files stored in shared folders are automatically duplicated across multiple hard drives."


    Lara Jones [MSFT] | Program Manager
    Community Support and Beta | Windows Home Server Team
    Windows Home Server Team Blog
    Connect Windows Home Server
    Windows Home Server


    Sunday, April 26, 2009 7:47 PM
    Moderator
  • Ok, so the secondary drive will have an exact duplicate and a third would  hold tombstones?

     

    From the technical brief

    "When Windows Home Server Drive Extender migrates a file, it creates the shadow with the same name as the tombstone. To prevent name conflicts, Windows Home Server Drive Extender puts every shadow file under the \DE directory, but it preserves the rest of the path. For instance, if Windows Home Server Drive Extender migrates \photos\poodles.jpg, the shadow file would have the path \DE\photos\poodles.jpg. If the primary hard drive fails, the Migrator service can re-create the tombstones on a new primary hard drive by scanning the files on the secondary hard drives. Continuing with the same example, if the Migrator service is re-creating a new primary data partition, and it finds the file \DE\photos\poodles.jpg on a secondary data partition, the Migrator service can create a tombstone file called \photos\poodles.jpg on the primary data partition and link it to that shadow file. "

    So to answer your question, tombstones are on the primary partition but it may also contain data.

    From the document again:

    To highlight how this works, consider this example. If a new photo is saved to the
    Photos shared folder on your home server, the following happens:

    1. A new entry for this file is created in the file table on the primary data partition. On a home server with multiple hard drives, this is a "tombstone" file.

    2. The Windows Home Server Drive Extender file system filter creates a pointer (reparse point) for the new file and determines onto which hard drive the photo should be stored. The tombstone is updated with the location of the actual file. This file is known as the "master or primary shadow."

    3. If Folder Duplication is enabled for the Photos shared folder, the Windows Home Server Drive Extender Migrator service creates a duplicate copy of the file and updates the tombstone file on the primary data partition with the reparse point to include the second location of the shadow file. This file is known as the "alternate or secondary shadow."



    Lara Jones [MSFT] | Program Manager
    Community Support and Beta | Windows Home Server Team
    Windows Home Server Team Blog
    Connect Windows Home Server
    Windows Home Server
    Sunday, April 26, 2009 8:02 PM
    Moderator

All replies

  • I have 2 hard drives. I was told in a thread before it would take forever for the second drive to fill up because it would hold only tombstones. The second drive actually holds an EXACT copy of all my duplicated files. Why is this? I was told pointers would be the only thing on the disk.

    Hi,

    Please see the technical brief on Drive Extender as it does a pretty good job of explaining this.

    From the document:

    "If your home server has multiple hard drives, Windows Home Server Drive Extender will automatically choose a hard drive to store the files. You do not have to configure or manage this. In addition, if you have multiple hard drives, Windows Home Server helps provide protection against hard-drive failures by ensuring that files stored in shared folders are automatically duplicated across multiple hard drives."


    Lara Jones [MSFT] | Program Manager
    Community Support and Beta | Windows Home Server Team
    Windows Home Server Team Blog
    Connect Windows Home Server
    Windows Home Server


    Sunday, April 26, 2009 7:47 PM
    Moderator
  • Ok, so the secondary drive will have an exact duplicate and a third would  hold tombstones?
    Sunday, April 26, 2009 7:49 PM
  • Ok, so the secondary drive will have an exact duplicate and a third would  hold tombstones?

     

    From the technical brief

    "When Windows Home Server Drive Extender migrates a file, it creates the shadow with the same name as the tombstone. To prevent name conflicts, Windows Home Server Drive Extender puts every shadow file under the \DE directory, but it preserves the rest of the path. For instance, if Windows Home Server Drive Extender migrates \photos\poodles.jpg, the shadow file would have the path \DE\photos\poodles.jpg. If the primary hard drive fails, the Migrator service can re-create the tombstones on a new primary hard drive by scanning the files on the secondary hard drives. Continuing with the same example, if the Migrator service is re-creating a new primary data partition, and it finds the file \DE\photos\poodles.jpg on a secondary data partition, the Migrator service can create a tombstone file called \photos\poodles.jpg on the primary data partition and link it to that shadow file. "

    So to answer your question, tombstones are on the primary partition but it may also contain data.

    From the document again:

    To highlight how this works, consider this example. If a new photo is saved to the
    Photos shared folder on your home server, the following happens:

    1. A new entry for this file is created in the file table on the primary data partition. On a home server with multiple hard drives, this is a "tombstone" file.

    2. The Windows Home Server Drive Extender file system filter creates a pointer (reparse point) for the new file and determines onto which hard drive the photo should be stored. The tombstone is updated with the location of the actual file. This file is known as the "master or primary shadow."

    3. If Folder Duplication is enabled for the Photos shared folder, the Windows Home Server Drive Extender Migrator service creates a duplicate copy of the file and updates the tombstone file on the primary data partition with the reparse point to include the second location of the shadow file. This file is known as the "alternate or secondary shadow."



    Lara Jones [MSFT] | Program Manager
    Community Support and Beta | Windows Home Server Team
    Windows Home Server Team Blog
    Connect Windows Home Server
    Windows Home Server
    Sunday, April 26, 2009 8:02 PM
    Moderator