Best method to rename my vdevs and datasets?

CheeryFlame

Contributor
Joined
Nov 21, 2022
Messages
184
Hello, I'm tired of having capitalized the first letter of everything. Some pod shell doesn't have auto completion and it's been overall a poor experience using my server this way. It was my first time setting up a server this year and I wished I'd knew about this. I'm feeling like the more I'm waiting the worst it'll be.
  1. Would renaming my vdev containing ix-applications from "Name" to "name" will break anything on the app side?*
  2. How can I rename stuff so I avoid loosing Replication and Snapshot tasks?
  3. Is there anything to know that it'll break that I should be aware of?
I plan on renaming the vdev the following way:
  • Export the pool through the GUI. Be sure not to check the box to destroy all data.
  • From the CLI,
    Code:
    zpool import oldpoolname newpoolname
  • From the CLI,
    Code:
    zpool export newpoolname
  • From the GUI, import the pool.
I plan on using for renaming my datasets.
Code:
zfs rename

Thank you for helping!

*I know that I'll have to reconfigure my applications mount paths, my question is if this can break the app pool at all.
 
Top