→ Applies to: Hyperion 9.x and above
ChatGPT said:
ssh admin@<your_ip_address_or_hostname>
Step 2. Become Super User
sudo su
Step 3. Show pool list
virsh pool-listEXAMPLE OUTPUT
Name State Autostart ---------------------------------------------------------- ImageRepository-syneto-os-5a4cc67a active yes vm1. active yes win active yes
Step 4. Backup pool configuration
virsh pool-dumpxml vm1 > backup_vm1.xml
Step 5. Change pool name
vi backup_vm1.xmlChange the name between the
<name></name>tags.<pool type='dir'> <name>vm1</name> <uuid>b8e6b6df-3ce6-48e9-9fcf-63a93e818fae</uuid> <capacity unit='bytes'>63959531520</capacity> <allocation unit='bytes'>66048</allocation> <available unit='bytes'>63959465472</available> <source> </source> <target> <path>/hybrid/syn-volumes/e21f5de2-aefc-447c-8523-cafd96ef7c34</path> <permissions> <mode>0755</mode> <owner>0</owner> <group>0</group> </permissions> </target> </pool>
Save and EXIT:wq
Step 6. Stop pool name (replace <pool_name> with the pool name obtained in Step 5, located between the <name></name> tags)
virsh pool-destroy <pool_name>EXAMPLE
virsh pool-destroy vm1
Step 7. Remove from the configuration the current pool (replace <pool_name> with the correct pool name>
virsh pool-undefine <pool_name>EXAMPLE
virsh pool-undefine vm1
Step 8. Recreate the pool with the new name from backup file (replace <pool_name> with the desired name pool name)
virsh pool-define backup_vm1.xml
Step 9. Start the new pool (replace <pool_name> with the new pool name)
virsh pool-start <pool_name>EXAMPLE
virsh pool-start vm1_newname
Step 10. Set autostart (replace <pool_name> with the correct pool name>
virsh pool-autostart <pool_name>EXAMPLE
virsh pool-autostart vm1
