Solved

Disk block changes following a save

Posted on 2006-11-08
1
199 Views
Last Modified: 2010-04-03
Hi,

I'm not sure if this is more of an application specific question, but I'll try here first...

Let's say I have an MS Word document sitting on a disk, and it's currently occupying 10 physical blocks on the disk. I then open the document and make a one word change to it, and click Save. Can anyone tell me which of the following occurs:

1) The physical block on the disk containing the portion of the document that was changed is updated with the new data, and presumbably has a timestamp updated to show the time of its last change. All other physical blocks containing data related to the document remain unchanged.

2) The entire document is written back to the disk. The physical blocks may remain the same, or may change depending on various factors determined by the operating system.

The reason I need to know this is that I'm currently involved in the design of a very large system which will have a lot of data replicated across a WAN. The replication is block-based, so I'm trying to find out how common applications like MS Word save their files.

Many thanks for all your help
0
Comment
Question by:gamesmeister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 17897915
This depends on the application, but most of them, and word as an example, will write the whole file back to disk. Actually this is normally handled by the OS, so if you need an app that only writes the changed blocks back it will have to override what the OS usually does. This means that only apps that circumvent what the OS does can do that. Such apps could do harm to the system because of that, so you'll mainly find them as utilities or tools.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question