Ask Your Question
1

How to create a new storage pool with virt-manager?

asked 2013-08-07 14:32:00 -0500

Eric J. Van der Velden gravatar image

In virt-manager I see that my default storage pool is almost full.

When I create a new storage pool, it doesn't help, because it has the same usage percentage as the default.

As you see, I don't understand it. What must I do?

Thanks,

Eric J.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-08-07 15:52:23 -0500

none gravatar image

Storage pools are 'places' where your VM's has hdd. So if you have only one partition on your hdd (or two - boot+rootfs, or three boot+rootfs+swap) then if you fill up your free space on rootfs, you almost don't have any options. What you could do?

To create new pool, you need open virt-manager, select Edit then Connection Details, Storage, click on + (Add Pool), select Name and Type, where type is:

  • dir - every VM's hdd wil be a file in dir storage pool - this is the same as for default
  • disk - VM's hdd is partition on this disk
  • fs - similar to dir but all fs is for VM's file images
  • iscsi - every LUN on iSCSI will be VM's hdd
  • logical - VM's hdd is logical volume on selected LVM's group
  • netfs - directory, that is mounted from remote system (nfs or glusterfs)

In your case, I would suggest to: - if you have additional space on hdd (not partitioned), create new partition for images (eg. fs) - if you have another partition/lvm with free space, you could create dir on selected location - if you have free space in your LVM's group, you could create new LV (as fs or dir or logical)

ANd finally, if your space was wasted for previously created VM's, and disk images wsn't removed, you could free space, by removin images from this path: /var/lib/libvirt/images. If you have more questions, ask.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-08-07 14:32:00 -0500

Seen: 6,139 times

Last updated: Aug 07 '13