On 8/19/14 8:52 , Adrian Gschwend via smartos-discuss wrote:
> Hi group,
> 
> While doing some housekeeping I noticed I have some snapshots/ZFS
> volumes I cannot assign to any VMs/Zones on my system:
> 
> # zfs list
> NAME                                               USED  AVAIL  REFER
> MOUNTPOINT
> zones/1fc068b0-13b0-11e2-9f4e-2f3f6a96d9bc        1.02G  87.8G  1.02G
> /zones/1fc068b0-13b0-11e2-9f4e-2f3f6a96d9bc
> zones/beb2dbd4-b26f-11e2-8ad4-935c80092aa6        1.20G  87.8G  1.20G
> /zones/beb2dbd4-b26f-11e2-8ad4-935c80092aa6
> 
> the UUIDs in use are:
> 
> # vmadm list
> UUID                                  TYPE  RAM      STATE    ALIAS
> d4b3874d-e172-4a1e-bbb8-39c1828ef26b  KVM   8192     running  host1
> 49aac407-1dbd-4b7a-8f9e-d953a324b3d7  KVM   16384    running  host2
> c7d5f06a-c259-463c-bde0-42e3f64b2f81  OS    32768    running  node
> 
> The snapshot also uses a UUID as name so I assume it's from a test I
> once did with vmadm.

By default, zfs list only shows file systems, not snapshots, so these
are not shapshots.

> Can I safely assume these are leftovers from tests/old VMs/zones and
> delete them? In terms of no ZFS volume used by the system would have a
> UUID unless it's an assigned/former VM/zone?

These are uuids from images. In this case
1fc068b0-13b0-11e2-9f4e-2f3f6a96d9bc is the node.js v1.4 image and
beb2dbd4-b26f-11e2-8ad4-935c80092aa6 the 13.1.0 version. If you no
longer are using VMs based on those images, then you can use imgadm to
remove them, please do not just remove the ZFS file systems.

Robert


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to