SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-24-2009, 10:26 PM
Tokendude Tokendude is offline
Sage User
 
Join Date: May 2009
Location: NW MS
Posts: 29
WHS and Sage storage

I'm new to both whs and Sagetv and have a quick question. My set-up is a dedicated server with a 640gig primary drive (20 system/620ish data), plus 2 x 1TB drives placed into the pool.

I noticed that when whs backed up my desktop machine it fairly equally distributed the data across the D: data drive (20gig), and the 2 pool drives (37gig/ea). This makes it look like the D: is included as part of the pool.

My question is, when I install Sagetv will it also place some of the recordings into the D:? My understanding is that it will not occur unless the pool drives become full, but because of the way the backup was distributed I'm now not so sure.

If it does include the D: in the pool, then I will have to go back and change it to 64k clusters also (1TB pool drives are already reformatted). I hadn't done this yet because I wasn't sure I had a need to do so.

Thanks,

Roy
Reply With Quote
  #2  
Old 08-25-2009, 07:25 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
The storage on D: is the backup database. That is what it is used for. It is NOT part of the pool and would only be used if your pool ran out of space. You don't need to format D: for 64k.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 08-25-2009, 08:17 AM
bhyman1 bhyman1 is offline
Sage Aficionado
 
Join Date: Mar 2005
Posts: 347
Personally, I don't have Sage recording to the storage pool. I have two drive I've left out of the pool and formatted with 64k clusters. Works fine.

Also, I never bothered with the whole 64k cluster conversion on the pool for my stored media like dvd's, hd-dvd rips, etc. That works great too, no issues.
Reply With Quote
  #4  
Old 08-25-2009, 09:10 AM
Tokendude Tokendude is offline
Sage User
 
Join Date: May 2009
Location: NW MS
Posts: 29
Quote:
Originally Posted by gplasky View Post
The storage on D: is the backup database. That is what it is used for.

Gerry
My confusion was that most of the backup went into the pool. Is this normal as I thought the backups went to the data drive only.

Roy
Reply With Quote
  #5  
Old 08-25-2009, 09:45 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
The Windows Home Server side of the solution is a database that is specifically designed to efficiently backup multiple home computers on a daily basis. The cluster data and metadata from each home computer is stored on the home server hard drives.

The backup database is stored entirely in the folder D:\folders\{00008086-058D-4C89-AB57-A7F909A47AB4}\. The content of this folder is migrated by Windows Home Server Drive Extender from the primary data partition to a secondary data partition if the home server has more than one hard drive

What makes you think most of the backup went to the pool? Do you have any folder duplication turned on?

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #6  
Old 08-25-2009, 11:41 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by gplasky View Post
The backup database is stored entirely in the folder D:\folders\{00008086-058D-4C89-AB57-A7F909A47AB4}\. The content of this folder is migrated by Windows Home Server Drive Extender from the primary data partition to a secondary data partition if the home server has more than one hard drive
I've been trying to figure this out definitively, so perhaps you just answered it. Does this mean that all computer backups are also duplicated elsewhere in the drive pool for redundancy?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #7  
Old 08-25-2009, 12:29 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by Skirge01 View Post
I've been trying to figure this out definitively, so perhaps you just answered it. Does this mean that all computer backups are also duplicated elsewhere in the drive pool for redundancy?
I believe the answer is no. Here is the way I understand the backup occurs:
Quote:
The home computer backup solution in Windows Home Server has a single-instance store at the cluster level. Clusters are typically collections of data stored on the hard drive, 4 kilobytes (KB) in size. Every backup is a full backup, but the home server only stores each unique cluster once. This creates the restore-time convenience of full backups (you do not have to repeat history) with the backup time performance of incremental backups
Quote:
The home computer backup occurs as follows:
• When a home computer is backed up to the home server, Windows Home Server software figures out what clusters have changed since the last backup.
• The home computer software then calculates a hash for each of these clusters and sends the hashes to the home server. A hash is a number that uniquely identifies a cluster based on its contents.
• The home server looks into its database of clusters to see if they are already stored on the home server.
• If they are not stored on the home server already, then the home server asks the home computer to send them.
• All file system information is preserved such that a hard disk volume (from any home computer) at any backup point (time) can be reconstituted from the database.
The copies of the clusters that are stored on the home server in the order they are received. Additionally, the home server stores metadata files which allow it to deduce which clusters belong to which home computer at which times. The metadata that is typically stored for each home computer usually takes less than 5 percent of the space of the clusters that are backed up.

Another point to keep in mind:
Quote:
Deleting the metadata is relatively fast (typically a few minutes per home computer), but it does not recover much space because the metadata for each home computer backup is usually less than five percent of all of the space consumed by the backup database. Deleting copies of clusters rarely recovers much space because the backup database is a single instance store of the unique clusters stored on your home computers. If another home computer backup that references a given cluster still exists, then the cluster will continue to be stored in the backup database.

If you remove a computer from the Windows Home Server Console, all of the backups for that home computer will be deleted during the next Backup Cleanup. This is when you will see the largest decrease in the size of the backup database, especially if the home computer had a lot of unique data.
Because of this method the first backup always needs to send the entire contents of the disk to the home server. This is why the first PC you backup shold be a PC with the largest hard disk/data in it.

The backup database is a collection of files that can be broken into three categories:

• Global files - Files that track the history of all home computer backups and all of the other files in the backup database.

• Cluster files - Files that store the actual cluster data from the home computers. These are usually in 4096 byte increments. These files grow to 4 GB in size before a new file is created. These files are stored as Data.XXXX.Z.dat, where XXXX=cluster size in bytes, and Z=0,1,2,…

• Home Computer specific files - A boot record and data for each hard drive volume that gets backed up from each home computer.

Also:
Quote:
To restore individual items from a previous backup stored on the home server, a virtual volume driver is loaded on the home computer. This allows a previous image of a hard drive to be mounted, as if it were a read-only volume, across the home network. This driver opens a connection to the home server, and it receives the relevant clusters from the home server to build a virtual view into what a given hard drive looked like on a given day. The read-only volume is displayed in Windows Explorer where a user can drag the files and folders that they want to restore to the Windows Desktop of the home computer they are using.
And finally:
Quote:
Saving a Copy of the Backup Database
The Windows Home Server backup database is not duplicated by Windows Home Server Drive Extender. So if you lose a single hard drive on your home server, you could possibly lose all of the backups of your home computers.

You may want to periodically copy the entire backup database from your home server to an external hard disk that you attach to your home server. The external hard disk should not be added to the Server Storage on your Windows Home Server.

Important
The cluster data files stored in backup database can grow to 4 GB, so it is important that the external hard disk is formatted as NTFS to support copying these large files. Some file systems, such as FAT-32 allow a maximum file size of 2 GB.

The backup database is stored entirely in the folder D:\folders\{00008086-058D-4C89-AB57-A7F909A47AB4}.
This tells me the backup database in in one place. There is also a add-on that will allow you to backup the backup database elsewhere.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 08-25-2009 at 01:12 PM.
Reply With Quote
  #8  
Old 08-25-2009, 04:32 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Quote:
Originally Posted by gplasky View Post
The backup database is stored entirely in the folder D:\folders\{00008086-058D-4C89-AB57-A7F909A47AB4}.

This tells me the backup database in in one place. There is also a add-on that will allow you to backup the backup database elsewhere.

Gerry

What would happen if you ran out of room on the Data drive? Would it utilize some of the pool for backups?
Reply With Quote
  #9  
Old 08-25-2009, 05:28 PM
Tokendude Tokendude is offline
Sage User
 
Join Date: May 2009
Location: NW MS
Posts: 29
Quote:
Originally Posted by gplasky View Post
What makes you think most of the backup went to the pool? Do you have any folder duplication turned on?

Gerry
This is a brand new install of whs. I installed Disk Management add-in by Sam Wood, and look at drive utilization stats. Before I set up a user (me/my primary desktop machine) it showed the 2 pool drives with 0% utilization and the primary disk with around 12gigs used. After I set up my user on whs and set up the automatic backup of my desktop machine's c:drive (only) I waited overnight to see what changed on the whs drives. Now looking at the stats from the Disk Management add-in it shows:

Primary drive (c:/d: combined) 20gig (3%), so the backup really consumed about 8gigs.

Pool1 drive: 37 gigs (3%)
Pool2 drive: 37 gigs (3%)

This leads me to believe the bulk of the backup was stored primarily in the pool, not on the D:data drive, and is probably a function of the Storage Balancing Algorithm. The desktop system drive backed up has about 145 gigs full btw. Also, note that I have not done anything else to the whs system yet as I am still running lines and getting things ready to install Sagetv and the tuners, etc. This is just a plain vanilla install of whs + the one add-in. Also, duplication is not turned on for backups.

I'm just trying to understand how everything will be stored as I go along...

Roy

Last edited by Tokendude; 08-26-2009 at 09:03 AM.
Reply With Quote
  #10  
Old 08-25-2009, 09:48 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Thanks, Gerry! Great explanation.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Massive Storage Solution(s) -- The search for a fast/expandable/HUGE storage solution taylork Hardware Support 82 08-17-2009 04:36 PM
WHS and lots of storage options? PLUCKYHD Hardware Support 64 02-18-2009 03:46 PM
SageTV & WHS - storage only or recording too? jeroen020 SageTV Software 1 09-11-2008 09:19 AM
Sage Storage Usage Question ... mightyt SageTV Software 6 10-24-2006 03:16 PM
Network storage VS local storage darkside SageTV Software 0 09-05-2004 09:44 AM


All times are GMT -6. The time now is 02:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.