Solved

Disk block changes following a save

Posted on 2006-11-08
1
198 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
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware vSAN 6.5 usage example and caveats 11 165
physical security query stockroom concern 8 78
Corrupted File Makes Windows File Explorer Crash 13 138
NTPD Client Port Usage 12 65
AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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…

749 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