Debian 10 notes

zpools:

zpool create -o ashift=12 toshi-monero pci-0000:03:00.0-usb-0:2:1.0-scsi-0:0:0:0

add cache:

zpool add -f toshi-monero cache pci-0000:03:00.0-usb-0:1:1.0-scsi-0:0:0:0

remove cache:

pool remove toshi-monero cache pci-0000:03:00.0-usb-0:1:1.0-scsi-0:0:0:0

zpool offline moneropool pci-0000:03:00.0-usb-0:1:1.0-scsi-0:0:0:0

zpool status

zpool list

zpool scrub

Tool to list disks, net by path:

https://github.com/louwrentius/showtools

showdisk -mw | -mp

/show disk -mSsftHrRp

show disk usage images:

NOMAD

Nomad amd64 image

Monero Daemon

#/bin/sh!
#dbsalvage2.sh
/usr/local/bin/monerod –db-salvage –data-dir=/moneropool/bitmonero –log-file=/home/user/.bitmonero/monero-salvage.log –log-level 1 –prune-blockchain

#monerod.conf
data-dir=/bitmonero
log-file=/home/user/.bitmonero/monero.log
log-level=0
rpc-bind-ip=0.0.0.0
rpc-bind-port=18081
rpc-login=debianmonerouser:Runsgr3atN0tN1ce!

 

#monerod.service – /lib/systemd/system/monerod.service

[Unit]
Description=Monero Full Node
After=network.target

[Service]
User=user
Group=user

Type=forking
PIDFile=/home/user/.bitmonero/monerod.pid

ExecStart=/usr/local/bin/monerod –restricted-rpc –block-sync-size 50 –confirm-external-bind –pidfile=/home/user/.bitmonero/monerod.pid –config-file /home/user/.bitmonero/monerod.conf –prune-blockchain –detach

[Install]
WantedBy=multi-user.target

after import:

root@debian:/home/user/.bitmonero# zpool status
no pools available
root@debian:/home/user/.bitmonero# zpool import
pool: toshi-monero
id: 5506720146988030609
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

toshi-monero ONLINE
pci-0000:03:00.0-usb-0:2:1.0-scsi-0:0:0:0 ONLINE

root@debian:/home/user/.bitmonero# zpool import toshi-monero root@debian:/home/user/.bitmonero# df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 393M 11M 382M 3% /run /dev/sda2 20G 13G 5.9G 69% / tmpfs 2.0G 44M 1.9G 3% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup tmpfs 393M 8.0K 393M 1% /run/user/1000 toshi-monero/bitmonero 899G 2.2G 897G 1% /bitmonero toshi-monero 897G 128K 897G 1% /toshi-monero

root@debian:/home/user/.bitmonero# zfs unmount toshi-monero/bitmonero
root@debian:/home/user/.bitmonero# zfs unmount toshi-monero
root@debian:/home/user/.bitmonero# zpool destroy toshi-monero’

Related articles

Protected: more

There is no excerpt because this is a protected post.

Learn More

Protected: Current COVID-19 and Graphene Oxide Detox Supplements

There is no excerpt because this is a protected post.

Learn More

Protected: Nutrition Protocol To Deactivate & Neutralize Graphene Oxide

There is no excerpt because this is a protected post.

Learn More

Leave a Reply

Your email address will not be published. Required fields are marked *