> For the complete documentation index, see [llms.txt](https://dozza.gitbook.io/pulsechain_node_guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dozza.gitbook.io/pulsechain_node_guide/part-3-configure-ubuntu-and-the-data-disk.md).

# Part 3 — Configure Ubuntu and the data disk

## 3.1 Connect over SSH

From a Windows terminal (replace with your VM's IP and username):

```bash
ssh <user>@192.168.1.***
```

## 3.2 Reserve the VM's IP on your router

So the address never changes (which would break RPC clients and port forwarding). Get the VM's MAC:

```bash
ip link show eth0    # note the link/ether address (Hyper-V MACs start 00:15:5d)
```

Then in your router: find `Address Reservation` / `DHCP Reservation`, and bind the VM's IP to that MAC. Save it as a permanent reservation (not just an active lease).

## 3.3 Identify the data disk

```bash
lsblk -o NAME,SIZE,TYPE,MOUNTPOINT
# Confirm the model too:
lsblk -o NAME,SIZE,MODEL /dev/sdb
```

The large disk (here `/dev/sdb`) is the NVMe. The 128 GB disk (`/dev/sda`) is Ubuntu's OS disk. **Verify the size and model before formatting.**

## 3.4 Format the data disk as ext4

{% hint style="danger" %}
These commands erase the target disk. Triple-check `/dev/sdb` is the large data disk and not your OS disk.
{% endhint %}

```bash
sudo wipefs -a /dev/sdb                              # clear old signatures
sudo parted /dev/sdb --script mklabel gpt            # new GPT table
sudo parted /dev/sdb --script mkpart primary ext4 0% 100%
sudo mkfs.ext4 -L blockchain /dev/sdb1               # format the partition
```

## 3.5 Mount at /blockchain and make it permanent

The node software expects its data at `/blockchain`.

```bash
sudo mkdir /blockchain

# Add an fstab entry by UUID (auto-fills the correct UUID):
echo "UUID=$(sudo blkid -s UUID -o value /dev/sdb1) /blockchain ext4 defaults,noatime 0 2" | sudo tee -a /etc/fstab

sudo systemctl daemon-reload
sudo mount -a
df -h /blockchain                                    # confirm the disk mounted
sudo chown -R $USER:$USER /blockchain
```

The `noatime` option skips access-time writes — a small I/O saving for a database doing constant reads.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://dozza.gitbook.io/pulsechain_node_guide/part-3-configure-ubuntu-and-the-data-disk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
