# US 2021/0173561 A1 · Self-formatting data storage device

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

- Number: US 2021/0173561 A1
- Document ID: US20210173561A1
- Status: Published application
- Kind: A1
- Application number: 16/706,822
- Filed: 2019-12-08
- Published: 2021-06-10
- Earliest claimed: 2019-12-08
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Brian Edward MASTENBROOK; Matthew Harris KLAPMAN
- Web page: https://patentgrep.com/patent/US20210173561A1

## CPC

- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0643: {Management of files}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0622: {in relation to access}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/064: {Management of blocks}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed here is a data storage device comprising a non-transitory storage medium configured to store user content data, a data port configured to transfer the user content data between the storage medium and a host computer system over a data channel, and a controller. The controller is configured to select one of multiple file system formats, format the storage medium by creating a file system in accordance with the selected file system format on the storage medium, and register with the host computer system as a block data storage device.

## Claims

### Claim 1

A data storage device comprising:
a non-transitory storage medium configured to store user content data;
a data port configured to transfer the user content data between the storage medium and a host computer system over a data channel; and
a controller configured to:
select one of multiple file system formats;
format the storage medium by creating a file system in accordance with the selected file system format on the storage medium; and
register with the host computer system as a block data storage device.

### Claim 2 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to:
connect to an authorized device over a control channel that is different from the data channel;
receive, from the authorized device over the control channel, a request to format the storage medium; and
format the storage medium in response to receiving the request to format the storage medium.

### Claim 3 (depends on 2)

The data storage device of claim 2, wherein:
the request to format includes an indication of a file system format; and
the controller is further configured to select the one of the multiple file system formats based on the indication.

### Claim 4 (depends on 3)

The data storage device of claim 3, wherein the controller is further configured to send to the authorized device a list of file system formats for selection by the authorized device.

### Claim 5 (depends on 2)

The data storage device of claim 2, wherein the controller is further configured to:
receive metadata associated with the host computer system over the data channel;
determine a class of the host computer system based on the metadata;
select the one of the multiple file system formats based on the class of the host computer system; and
send an indication of the selected file system format to the authorized device as a recommendation.

### Claim 6 (depends on 2)

The data storage device of claim 2, wherein the controller is further configured to:
receive an indication of one or more of a name, a color and an image for the data storage device;
store the indication of the one or more of the name, the color and the image for the data storage device; and
send the indication of the one or more of the name, the color and the image for the data storage device to the host computer system during registration as the block data storage device.

### Claim 7 (depends on 2)

The data storage device of claim 2, wherein the request to format is associated with a request to cryptographically erase the storage medium.

### Claim 8 (depends on 2)

The data storage device of claim 2, wherein:
the control channel is wireless; and
the data channel is wire-based.

### Claim 9 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to format the storage medium based on stored formatting data.

### Claim 10 (depends on 9)

The data storage device of claim 9, wherein the formatting data is stored in a partition of the storage medium that is inaccessible by the host computer system.

### Claim 11 (depends on 9)

The data storage device of claim 9, wherein:
the stored formatting data comprises a compressed image; and
formatting comprises decompressing the compressed image onto the storage medium.

### Claim 12 (depends on 11)

The data storage device of claim 11, wherein:
the compressed image comprises a file allocation table; and
decompressing the compressed image comprises writing the file allocation table onto the storage medium.

### Claim 13 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to:
receive metadata associated with the host computer system over the data channel, the metadata indicating a class of the host computer system;
select the one of the multiple file system formats based on the class of the host computer system; and
format the storage medium with a file system in accordance with the selected file system format.

### Claim 14 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to generate one or more keys for encryption and decryption of user content data to be stored on the storage medium.

### Claim 15 (depends on 1)

The data storage device of claim 1, wherein:
the data storage device comprises multiple storage media; and
formatting comprises creating metadata to define a redundant array of independent disks (RAID) including the multiple storage media.

### Claim 16 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to:
create a unique identifier; and
send the unique identifier to the host computer system during registration as the block data storage device.

### Claim 17 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to:
register with the host computer system as a mass data storage device without a storage medium present before formatting; and
register with the host computer system as a mass data storage device with a storage medium present after formatting.

### Claim 18 (depends on 1)

The data storage device of claim 1, wherein the controller is further configured to:
determine whether the storage medium is unformatted;
responsive to determining that the storage medium is unformatted, format the storage medium; and
store an indication that the storage medium is formatted.

### Claim 19

A method for formatting a data storage device, wherein the data storage device comprises a controller and a non-transitory storage medium, the method comprising:
selecting, by the controller, one of multiple file system formats;
formatting, by the controller, the storage medium by creating a file system in accordance with the selected file system format on the storage medium; and
registering the data storage device with a host computer system as a block data storage device.

### Claim 20

A data storage device comprising:
a non-transitory storage medium;
means for selecting one of multiple file system formats;
means for formatting the storage medium by creating a file system in accordance with the selected file system format on the storage medium; and
means for registering the data storage device with a host computer system as a block data storage device.
