Ask Your Question

René Rask's profile - activity

2018-09-16 15:30:59 -0500 received badge  Nice Answer (source)
2012-05-16 13:06:29 -0500 received badge  Nice Answer (source)
2012-04-13 16:59:38 -0500 answered a question Partition hard drive before or during installation?

I would just start the fedora installer and:

Select "use unpartitioned/unused space" in the installer when it show up.

Check the "inspect partition layout" checkbox in the bottom so you can see what it will do and make changes if you feel any are needed.

2012-04-05 07:40:49 -0500 commented answer shared folder with qemu-kvm

I don't know what you need to install. Maybe your Fedora version is too old?

2012-03-28 07:43:42 -0500 received badge  Teacher (source)
2012-03-28 04:51:36 -0500 received badge  Editor (source)
2012-03-28 04:47:52 -0500 answered a question LVM problem in Fedora 16

I have 2 suggestions. The first is in reply to your problem and the second is an alternative solution.

Make a backup of your files

You need your root filesystem offline to shrink it. You can do that by booting the livecd and use the tools on it.

You might be able to use "system-config-lvm" if it is on the livecd or install it on the running livecd. Or install the livecd to an usb stick and run it from there. Otherwise you have to do all the steps manually.

If your root and home filesystems are using ext3, ext4 or xfs you should be able to use system-config-lvm. (as far as I can tell)

If you are using any other filesystems on root or home you need to do the shrinking, moving and expanding manually.

Search google for "LVM shrink" or "LVM resize" to find some guides for doing this manually. It is to complex to describe all of it here.

Make sure you have a backup of your files before starting. Your computer might crash, loose power or something else might go wrong

I would recommend that you:

  1. make a backup of your files.
  2. do a fresh install of fedora 16 without lvm and partition the disk as you want it.
  3. install any missing software.
  4. copy the files from the backup.

It will almost certainly be much faster, safer and easier than messing with lvm.

2012-03-28 03:24:05 -0500 answered a question shared folder with qemu-kvm

Same as francisod says virt-manager > view > details > add hardware > file system > select folder as source > select folder name for destination > finish

Source: is the local path you want to share. eg. /tmp
Target is a mount tag for the kvm client. eg. "9p-shared"

When your client is running you can mount "9p-shared" like this:

mkdir /mnt/9p-shared
mount -t 9p -o trans=virtio 9p-shared /mnt/9p-shared

Beware that this is only solves part of the problem. You also need to figure out how file/directory permissions are handled, but this page should help:

With the above, I can see files and read some of them but no write access. I tested this on Fedora 17 alpha host with a Fedora 16 virtual machine.

2012-03-23 08:13:29 -0500 answered a question Cleaning out rootfs and VolGroup-lv_root

You most likely have a lot of temporary files somewhere on your root filesystem. In this case rootfs and VolGroup-lv_root are the same thing.

Check size of /tmp and /var/tmp by running this command: du -hs /tmp /var/tmp

Otherwise check the /var directories with: du -hs /var/* If you run your program as root it could be somewhere in /root.

2011-11-30 02:03:15 -0500 answered a question Bridged networking with KVM and MacVTap

It's a classic case of "If it sounds too good to be true, it usually is"

Here is a description of why you most likely don't want to use MacVTap yet: (short version. Your KVM host cannot see its guest machines on the network)

A nice overview of MacVTap (without boring details about not doing what you would expect):

Work is being done (or at least it is planned) to make MacVTap work the way you would expect it to. Maybe it will be in Fedora 17. But until then, I suggest you just stick with regular bridged networking.

2011-11-10 13:58:09 -0500 answered a question While using libvirt, how can I use a location other than /var/lib/libvirt/images/ to store my images?

If you start virt-manager and connect to your libvirtd instance. There is an "Connection Details" in the edit menu. In the storage section you can add a new storage pool with the "+" sign.

If you want to change the default storage pool location, I don't know of other ways than manually editing /etc/libvirtd/storage/defauls.xml (shutdown libvirtd first and start it after) or linking the images directory to somewhere else.