# US 2017/0257434 A1 · Electronic apparatus and method for expanding storage capacity of electronic apparatus

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

- Number: US 2017/0257434 A1
- Document ID: US20170257434A1
- Status: Published application
- Kind: A1
- Application number: 15/183,808
- Filed: 2016-06-16
- Published: 2017-09-07
- Earliest claimed: 2016-03-07
- Assignees: Qnap Systems, Inc.
- Applicants: Qnap Systems, Inc.
- Inventors: Chun-Wei Chen; Yao-Ying Chu
- Web page: https://patentgrep.com/patent/US20170257434A1

## CPC

- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 16/14: Details of searching files based on file metadata
- G06F 16/1827: {Management specifically adapted to NAS (management of storage area networks [SAN] G06F3/067)}
- G06F 16/188: Virtual file systems
- G06F 16/192: {Implementing virtual folder structures}
- G06F 16/951: Indexing; Web crawling techniques
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic apparatus and a method for expanding a storage capacity of the electronic apparatus are provided. In the method, at least one storage equipment on a network is searched and logged in by using a network interface. A virtual disk is established and a volume of at least one disk in each storage equipment is attached to the virtual disk as a physical volume of the electronic apparatus. The physical volume is transformed into a logical volume and a file system of the logical volume is established for providing the electronic device to access the logical volume.

## Claims

### Claim 1

A method for expanding a storage capacity of an electronic apparatus, comprising:
searching at least one storage equipment on a network and logging in the searched storage equipment by using a network interface;
establishing a virtual disk and attaching a volume of at least one disk in each of the searched storage equipment to the virtual disk as a physical volume of the electronic apparatus;
transforming the physical volume into a logical volume and establishing a file system of the logical volume for providing the electronic apparatus to access the logical volume.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the step of logging in the searched storage equipment by using the network interface comprises:
obtaining a storage information of each of the storage equipment and accordingly sending instructions to the storage equipment to set each of the storage equipment to simulate a target of the network interface; and
opening an initiator of the network interface to connect the storage equipment simulating the target of the network interface.

### Claim 3 (depends on 2)

The method according to claim 2, wherein after the step of transforming the physical volume into the logical volume and establishing the file system of the logical volume for providing the electronic apparatus to access the logical volume, the method further comprises:
determining whether the network is disconnected; and
logging out the storage equipment simulating the target and detaching the volume of the at least one disk in the storage equipment from the virtual disk if the network is disconnected.

### Claim 4 (depends on 3)

The method according to claim 3, wherein after the step of logging out the storage equipment simulating the target and detaching the volume of the at least one disk in the storage equipment from the virtual disk, the method further comprises:
re-connecting the network; and
re-opening the initiator of the network interface to search and connect the storage equipment simulating the target of the network interface on the network when the network is re-connected.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the step of transforming the physical volume into the logical volume and establishing the file system of the logical volume for providing the electronic apparatus to access the logical volume further comprising:
establishing a storage pool;
combining a volume of at least one disk in the electronic apparatus and the volumes attached to the virtual disk as the physical volume of the storage pool; and
establishing the logical volume of the storage pool, and establishing the file system of the logical volume for the electronic apparatus to access the logical volume.

### Claim 6

An electronic apparatus, comprising:
a network connecting device, connecting a network;
a storage device, storing a plurality of modules; and
a processor, coupled to the network connecting device and the storage device, loading and executing the plurality of modules in the storage device, wherein the modules comprise:
a protocol module, searching at least one storage equipment on the network by using the network connecting device, and logging in the searched storage equipment by using a network interface, wherein each of the storage equipment comprises at least one disk;
a virtual disk module, establishing a virtual disk and attaching a volume of the at least one disk in each of the searched storage equipment to the virtual disk as a physical volume of the electronic apparatus; and
a platform module, transforming the physical volume into a logical volume and establishing a file system of the logical volume for providing the electronic apparatus to access the logical volume.

### Claim 7 (depends on 6)

The electronic apparatus according to claim 6, wherein the protocol module comprises obtaining a storage information of each of the storage equipment, accordingly sending instructions to the storage equipment to set each of the storage equipment to simulate a target of the network interface, and opening an initiator of the network interface to connect the storage equipment simulating the target of the network interface.

### Claim 8 (depends on 7)

The electronic apparatus according to claim 7, wherein the protocol module further determines whether the network is disconnected, and the virtual disk module further logs out the storage equipment simulating the target and detaches the volume of the at least one disk in the storage equipment from the virtual disk if the network is disconnected.

### Claim 9 (depends on 8)

The electronic apparatus according to claim 8, wherein the protocol module further re-connects the network, and re-opens the initiator of the network interface to search and connect the storage equipment simulating the target of the network interface on the network when the network is re-connected.

### Claim 10 (depends on 6)

The electronic apparatus according to claim 6, wherein the modules further comprise:
a storage pool module, establishing a storage pool, and combining a volume of at least one disk in the electronic apparatus and the volumes attached to the virtual disk as the physical volume of the storage pool, wherein the platform module further establishes the logical volume of the storage pool, and establishes the file system of the logical volume for the electronic apparatus to access the logical volume.
