# US 2015/0339317 A1 · Avoiding full file replication using sparse files

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0339317 A1
- Document ID: US20150339317A1
- Status: Published application
- Kind: A1
- Application number: 14/695,482
- Filed: 2015-04-24
- Published: 2015-11-26
- Earliest claimed: 2014-05-21
- Assignees: CloudVolumes
- Applicants: CloudVolumes, Inc.
- Inventors: Jairam Choudhary; Matthew Conover
- Web page: https://patentgrep.com/patent/US20150339317A1

## CPC

- G06F 16/1744: {using compression, e.g. sparse files}
- G06F 16/178: Techniques for file synchronisation in file systems
- G06F 16/181: {providing write once read many [WORM] semantics}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples disclosed herein provide systems, methods, and software for avoiding data replication using sparse files. In one example, a method of using a sparse file to manage modifications to read-only files includes identifying an open file request on a computing system for a read-only file, and generating the sparse file corresponding to the read-only file. The method further includes identifying a modification to the read-only file and, responsive to identifying the modification, initiate a write to the sparse file based on the modification and identifying the write in a region map.

## Claims

### Claim 1

A method of using a sparse file to manage modifications to read-only files, the method comprising:
identifying an open file request on a computing system for a read-only file;
generating the sparse file corresponding to the read-only file;
identifying a modification to the read-only file; and
responsive to identifying the modification, initiate a write to the sparse file based on the modification and identifying the write in a region map.

### Claim 2 (depends on 1)

The method of claim 1 wherein generating the sparse file corresponding to the read-only file comprises, in a file system for the computing system, generating the sparse file corresponding to the read-only file.

### Claim 3 (depends on 2)

The method of claim 2 wherein the sparse file comprises an equivalently sized sparse file to the read-only file.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
identifying a second modification to the read-only file; and
responsive to identifying the second modification, initiating a second write to the sparse file based on the second modification and identifying the second write in the region map.

### Claim 5 (depends on 1)

The method of claim 1 wherein the computing system comprises a physical computing system.

### Claim 6 (depends on 1)

The method of claim 1 wherein the computing system comprises a virtual computing system.

### Claim 7 (depends on 1)

The method of claim 1 wherein the read-only file comprises one of a text file, a database file, an image, or a HyperText Markup Language (HTML) file.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
identifying a read request for the read-only file; and
retrieving data for the read request from one of the read-only file or the sparse file based on the region map.

### Claim 9 (depends on 1)

The method of claim 1 wherein the read-only file is stored in a read-only volume available to a plurality of users, and wherein the sparse file is stored in a write volume available to a single user operating the computing system.

### Claim 10

An apparatus to manage modifications to read-only files, the apparatus comprising:
one or more non-transitory computer readable media;
processing instructions stored on the one or more non-transitory computer readable that, when executed by processing circuitry, direct the processing circuitry to:
identify an open file request on a computing system for a read-only file;
generate a sparse file corresponding to the read-only file;
identify a modification to the read-only file; and
in response to identifying the modification, initiate a write to the sparse file based on the modification and identifying the write in a region map.

### Claim 11 (depends on 10)

The apparatus of claim 10 wherein the processing instructions to generate the sparse file corresponding to the read-only file direct the processing circuitry to, in a file system for the computing system, generate the sparse file corresponding to the read-only file.

### Claim 12 (depends on 11)

The apparatus of claim 11 wherein the sparse file comprises an equivalently sized sparse file to the read-only file.

### Claim 13 (depends on 10)

The apparatus of claim 10 wherein the processing instructions further direct the processing circuitry to:
identify a second modification to the read-only file; and
in response to identifying the second modification, initiate a second write to the sparse file based on the second modification and identify the second write in the region map.

### Claim 14 (depends on 10)

The apparatus of claim 10 wherein the computing system comprises a physical computing system.

### Claim 15 (depends on 10)

The apparatus of claim 10 wherein the computing system comprises a virtual computing system.

### Claim 16 (depends on 10)

The apparatus of claim 10 wherein the read-only file comprises one of a text file, a database file, an image, or a HyperText Markup Language (HTML) file.

### Claim 17 (depends on 10)

The apparatus of claim 10 wherein the processing instructions further direct the processing circuitry to:
identify a read request for the read-only file; and
retrieve data for the read request from one of the read-only file or the sparse file based on the region map.

### Claim 18 (depends on 10)

The apparatus of claim 10 wherein the read-only file is stored in a read-only volume available to a plurality of users, and wherein the sparse file is stored in a write volume available to a single user operating the computing system.

### Claim 19 (depends on 10)

The apparatus of claim 10 further comprising the processing circuitry.

### Claim 20

A system to manage modifications to read-only files, the system comprising:
one or more read-only volumes that store read-only files accessible by a plurality of users;
one or more writable volumes associated with a first user of the plurality of users; and
an interpret module configured to:
in response to an open file request from the first user on a computing system for a read-only file stored on the one or more read-only volumes, generate a sparse file in the one or more writable volumes corresponding to the read-only file;
identify a modification to the read-only file; and
in response to identifying the modification, initiate a write to the sparse file based on the modification and identifying the write in a region map.
