Kroko Just another WordPress weblog

November 13, 2019

ZFS: rename zpool

Filed under: Uncategorized — admin @ 12:09 am

To rename the zpool first you have to export the pool:

zpool export <old-name>

example: $ zpool export local-zfs

And then imported it with the correct name:

zpool import <old-name> <new-name>

Example: $ zpool import local-zfs rpool

After the import completed, the pool have the correct name:

zpool status -v

zpool status -v

  pool: rpool

state: ONLINE

  scan: scrub repaired 0B in 0 days 00:01:28 with 0 errors on Sun Oct 13 00:25:29 2019

config:

NAME                                                 STATE     READ WRITE CKSUM

rpool                                                ONLINE       0     0     0

  ata-Samsung_SSD_860_QVO_1TB_S4CZNG0M604463A-part3  ONLINE       0     0     0

errors: No known data errors

Proxmox set wake on lan mac

Filed under: Uncategorized — admin @ 12:06 am

On each node run:

pvenode config set -wakeonlan XX:XX:XX:XX:XX:XX

Where XX:XX:XX:XX:XX:XX is the MAC of the interface to wakeup.

Then from any node run:

pvenode wakeonlan <node>

To wake-up from web ui right click on node and click “Wake-ON-Lan”

Powered by WordPress