# 測試NetWork Raid

透過samba掛遠端分享

```
mount -t cifs -o username=kawsing,password=pass //120.115.4.161/public /nodeshares/node1
```

```
mkdir /nodeshares/node{0..3}
cd /nodeshares/node0
dd if=/dev/zero of=node0.img bs=1M count=10240
cd /nodeshares/node1
dd if=/dev/zero of=node1.img bs=1M count=10240
losetup /dev/loop0 /nodeshares/node0/node0.img
losetup /dev/loop1 /nodeshares/node1/node1.img
```

![](/files/-Lo4jaoU2PXnC5sa8elp)

如何移除這種 loop設備 /dev/loop11: \[0028]:565448 (/mnt/.deleted/node1.img)

```
mdadm --stop /dev/md0
losetup -d /dev/loop11
mdadm --assemble --run /dev/md0 /dev/loop11
mount /dev/md/networkRaid /disk1
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled/ce-shi-network-raid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
