# Изменить путь к данным блокчейна

**URL:** <https://forum.zcashcommunity.com/t/topic/13827>\
**Category:** Russian\
**Created:** [January 20, 2017, 1:40pm UTC](https://forum.zcashcommunity.com/t/topic/13827 "2017-01-20T13:40:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleks](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@oleks](https://forum.zcashcommunity.com/u/oleks)\
**Post date:** [January 20, 2017, 1:40pm UTC](https://forum.zcashcommunity.com/t/topic/13827/1 "2017-01-20T13:40:53Z")

</div>

Здраствуйте!

Установил zcash на флешку 8 гб с Xubuntu, но очень мало места для данных блокчейн.  
Я бы хотел их хранить на отдельном разделе HDD.  
Подскажите как изменить этот путь?

---

<div class="post-metadata">

**Author:** ![evanto](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/evanto/32/1437_2.png) [@evanto](https://forum.zcashcommunity.com/u/evanto)\
**Post date:** [January 21, 2017, 5:09pm UTC](https://forum.zcashcommunity.com/t/topic/13827/2 "2017-01-21T17:09:30Z")

</div>

$ ./zcash/src/zcash-cli -help

```
Zcash RPC client version v1.0.4

Usage:
  zcash-cli [options] <command> [params] Send command to Zcash
  zcash-cli [options] help List commands
  zcash-cli [options] help <command> Get help for a command

Options:

  -?
       This help message

  -conf=<file>
       Specify configuration file (default: zcash.conf)

  -datadir=<dir>
       Specify data directory

  -testnet
       Use the test network

  -regtest
       Enter regression test mode, which uses a special chain in which blocks
       can be solved instantly. This is intended for regression testing tools
       and app development.

  -rpcconnect=<ip>
       Send commands to node running on <ip> (default: 127.0.0.1)

  -rpcport=<port>
       Connect to JSON-RPC on <port> (default: 8232 or testnet: 18232)

  -rpcwait
       Wait for RPC server to start

  -rpcuser=<user>
       Username for JSON-RPC connections

  -rpcpassword=<pw>
       Password for JSON-RPC connections

SSL options: (see the Bitcoin Wiki for SSL setup instructions)

  -rpcssl
       Use OpenSSL (https) for JSON-RPC connections

```

---

<div class="post-metadata">

**Author:** ![evanto](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/evanto/32/1437_2.png) [@evanto](https://forum.zcashcommunity.com/u/evanto)\
**Post date:** [January 21, 2017, 5:34pm UTC](https://forum.zcashcommunity.com/t/topic/13827/3 "2017-01-21T17:34:21Z")

</div>

## Еще вариант

Просмотр дисков  
`sudo fdisk -l`

Выбери диск на котором хранится будет информация пример `/dev/sdc`  
и отформатируй  
`sudo mkfs.ext4 /dev/sdc`  
На вопрос системы ответьте утвердительно.

Узнай UUID диска  
`sudo blkid`

Пример `42c95871-8679-4b89-8180-dce8d7ac03c2`

Создай в директории пользователя папку .zcash  
`sudo mkdir .zcash`

Добавь в конце  
`sudo nano /etc/fstab`

`user` ваш пользователь  
`UUID=Вашего диска /home/user/.zcash ext4 defaults 0 0`

Перезагружаем  
`sudo reboot`

Смотрим  
`sudo df`

---

<div class="post-metadata">

**Author:** ![megobotonoob](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@megobotonoob](https://forum.zcashcommunity.com/u/megobotonoob)\
**Post date:** [August 27, 2017, 12:23pm UTC](https://forum.zcashcommunity.com/t/topic/13827/4 "2017-08-27T12:23:18Z")

</div>

> **ezy, just**

cp ~/.zcash /new\_dir rm -rf ~/.zcash  
 ln -s /new\_dir ~/.zcash chown -h your\_user:your\_group ~/.zcash
