Antlet sent to new Zpool not showing in AntMan after virsh add.

3 replies
PhanMan69
16 posts

I copied an antlet from one zpool to a new zpool using zfs send and receive.

Once there I changed the name of the antlet to LaserMania-2 and changed the UUID.  I then added it using virsh :

virsh -c qemu:///system define AntPool2/LaserMania-2

and it completed successffully.  It shows in the virsh list --all

root@myantsle:~ # virsh list --all
Id Name State
----------------------------------------------------
- LaserMania shut off
- LaserMania-2 shut off

But LaserMania-2 doesn't show in antman.  I've restarted both the system and antman with no success.  It's out there just not showing.

root@myantsle:~ # virsh dominfo LaserMania-2
Id: -
Name: LaserMania-2
UUID: b0fc601f-212d-4756-9086-3977f4d0f3ff
OS Type: hvm
State: shut off
CPU(s): 4
Max memory: 4194304 KiB
Used memory: 4194304 KiB
Persistent: yes
Autostart: disable
Managed save: no
Security model: none
Security DOI: 0

Any ideas?

daniel.luckStaff
551 posts

Hi PhanMan69:

You may need to create snapshot to get antlet to show up in antMan.

Run the following command to list all antlets and their snapshots:

zfs list -t all | grep -v docker | more

You may need to create snapshot in order to have antMan see the antlet.

zfs snapshot pool_name/antlet_name@snapshot_name

Please let us know how it goes.

Thanks.

lancem
210 posts

If that doesn't work, I've had antlets not appear when they don't have any files in the antlets zpool.

To get around this, I create a small (1 GB) empty virtual drive in the antlets zpool and then it appears in antman.

▲ 1

Log in to reply. New here? It takes a minute.