# US 2023/0273899 A1 · Data migration in a distributive file system

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

- Number: US 2023/0273899 A1
- Document ID: US20230273899A1
- Status: Published application
- Kind: A1
- Application number: 18/314,879
- Filed: 2023-05-10
- Published: 2023-08-31
- Earliest claimed: 2018-06-29
- Assignees: Weka.IO Ltd.
- Applicants: Weka.IO Ltd
- Inventors: Maor Ben Dayan; Omri Palmon; Liran Zvibel; Kanael Arditti
- Web page: https://patentgrep.com/patent/US20230273899A1

## CPC

- G06F 16/119: {Details of migration of file systems (migration mechanisms in storage systems G06F3/0647)}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/182: Distributed file systems
- G06F 2211/1028: Distributed, i.e. distributed RAID systems with parity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A plurality of computing devices are communicatively coupled to each other via a network, and each of the plurality of computing devices is operably coupled to one or more of a plurality of storage devices. A plurality of failure resilient address spaces are distributed across the plurality of storage devices such that each of the plurality of failure resilient address spaces spans a plurality of the storage devices. The plurality of computing devices maintains metadata that maps each failure resilient address space to one of the plurality of computing devices. The metadata is grouped into buckets. Each bucket is stored in the backend of a computing device. Data may be migrated from an external file system to the plurality of storage devices using inode stubs to represent directories and files of the external file system. As the contents of the external file system are copied, the inode stubs are replaced with real inodes.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A system comprising:
a plurality of storage devices; and
a computing device comprising a bucket, wherein:
the bucket is operable to read data from an external storage,
the bucket is operable to write data to a failure-protected stripe,
the failure-protected stripe comprises a plurality of storage blocks distributed across a group of storage devices selected from the plurality of storage devices, and
the plurality of storage blocks is determined before data is accessed from the external storage.

### Claim 22 (depends on 21)

The system of claim 21, wherein the storage blocks of the failure-protected stripe are distributed across at least two storage devices of the plurality of storage devices.

### Claim 23 (depends on 21)

The system of claim 21, wherein at least one storage block of the plurality of storage blocks of the failure-protected stripe is reserved for error correction data that is associated with the other storage blocks of the plurality of storage blocks of the failure-protected stripe.

### Claim 24 (depends on 21)

The system of claim 21, wherein the bucket is operable to generate an inode and one or more extents that point to the plurality of storage blocks of the failure-protected stripe.

### Claim 25 (depends on 21)

The system of claim 21, wherein a data structure is used when data is copied from the external storage to the plurality of storage devices.

### Claim 26 (depends on 21)

The system of claim 21, wherein a data structure is used after data has been copied from the external storage to the plurality of storage devices.

### Claim 27 (depends on 21)

The system of claim 21, wherein a storage block of the plurality of storage blocks is designated as a sparse file if the storage block is not used for migrated data or associated error correction data.

### Claim 28 (depends on 21)

The system of claim 21, wherein the bucket is operable to generate a stub inode.

### Claim 29 (depends on 28)

The system of claim 28, wherein the stub inode corresponds to a file in the external storage.

### Claim 30 (depends on 28)

The system of claim 28, wherein the stub inode corresponds to a directory in the external storage.

### Claim 31 (depends on 21)

The system of claim 21, wherein the system comprises a network interface card (NIC).

### Claim 32

A method comprising:
generating, by a bucket, a stub inode;
designating, by the bucket, a stripe comprising a plurality of storage blocks across a group of storage devices selected from a plurality of storage devices;
migrating data from an external storage to the stripe, wherein the plurality of storage blocks in the plurality of storage devices are determined before data is migrated from the external storage to the plurality of storage devices;
accessing data from the external storage during data migration, via the stub inode; and
accessing data from the stripe after data migration.

### Claim 33 (depends on 32)

The method of claim 32, wherein the plurality of storage blocks of the stripe are distributed across at least two storage devices of the plurality of storage devices.

### Claim 34 (depends on 32)

The method of claim 32, wherein at least one storage block of the plurality of storage blocks of the stripe is reserved for a block of error correction data that is generated according to the other storage blocks of the plurality of storage blocks of the stripe.

### Claim 35 (depends on 32)

The method of claim 32, wherein a data structure, comprising an inode and one or more extents that point to the plurality of storage blocks of the stripe, is used to access data from the stripe after data migration.

### Claim 36 (depends on 32)

The method of claim 32, wherein a storage block of the plurality of storage blocks is designated as a sparse file if the storage block is not used for migrated data or associated error correction data.

### Claim 37 (depends on 32)

The method of claim 32, wherein the stub inode corresponds to a file in the external storage.

### Claim 38 (depends on 32)

The method of claim 32, wherein the stub inode corresponds to a directory in the external storage.

### Claim 39 (depends on 32)

The method of claim 32, wherein the bucket is on a network interface card (NIC).

### Claim 40 (depends on 32)

The method of claim 32, wherein the stripe is a failure-protected stripe.
