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


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”

July 5, 2018

Enabling AAC and AptX over Bluetooth on MacOS

Filed under: MacOS — admin @ 10:00 am

Open Terminal and enter “sudo defaults read bluetoothaudiod” and type in your password when prompted. You should then see the current settings:

"AAC Bitrate" = 128;
"AAC CBR" = 0;
"Apple Bitpool Max" = 64;
"Apple Bitpool Min" = 2;
"Apple Initial Bitpool" = 40;
"Disable HFP" = 0;
"Enable AAC codec" = 1;
"Enable AptX codec" = 0;

If you get an error “Domain bluetoothaudiod does not exist”, that means none of these settings have been set before, update the setting as shown below and you’ll be able to read the setting as outlined above.

To update these settings in the Terminal:

to enable AptX:

sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true

to enable AAC:

sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true

To disable either one, just change “-bool true” to “-bool false” at the end of the command.

Older Posts »

Powered by WordPress