01:17.47 | *** join/#fredlug GGD (ad48cd02@gateway/web/freenode/ip.173.72.205.2) |
01:18.10 | GGD | fun fun times at the GGD ranch |
01:18.39 | GGD | hey plarsen |
01:18.44 | GGD | Moe__: |
01:18.57 | plarsen | greetings |
01:19.15 | GGD | fun fun times at the GGD ranch |
01:19.16 | GGD | plarsen: |
01:20.00 | GGD | i am trying to update my lappy ( the one paul "helped me with") from 13 to 14 and its hanging up |
01:20.45 | GGD | its says that there isn't enough room on the / directory |
01:21.23 | GGD | any thoughts? |
01:23.29 | GGD | i know there is room as i dumped alot of it off already |
01:26.20 | GGD | plarsen: ? |
01:27.55 | plarsen | GGD, need to be more specific here. Are you sure it's the / that's being complained about and not /boot; and how much space do you actually have? (do a df | fpaste) |
01:28.40 | GGD | hold on plarsen |
01:29.35 | GGD | plarsen: http://fpaste.org/30nT/ |
01:30.26 | plarsen | bad paste |
01:33.31 | GGD | plarsen: http://fpaste.org/3OnT/ |
01:34.07 | plarsen | GGD, your root is 100% full |
01:35.45 | GGD | i suppose that would do it then |
01:36.41 | GGD | thats odd though |
01:37.00 | GGD | is it that kvm thats causing it to be full?> |
01:37.20 | plarsen | GGD, du -sh /* | fpaste |
01:37.32 | plarsen | That'll give you a summary of what part of the file system is getting full |
01:38.02 | plarsen | du -xs /* | fpaste |
01:38.04 | plarsen | Sorry |
01:38.08 | GGD | plarsen: http://fpaste.org/c8cU/ |
01:38.25 | plarsen | you've got 42G in /kvm |
01:38.31 | plarsen | so yeah - it's well used ;) |
01:38.45 | plarsen | and 45G in /ar |
01:38.47 | plarsen | and 45G in /var |
01:38.56 | GGD | yea thats the one that was seperate from the home etc |
01:39.04 | plarsen | your KVMs is on a separate file system |
01:39.11 | plarsen | So /var is your issue |
01:39.15 | GGD | yea /kvm |
01:39.46 | GGD | what the heck is in var |
01:39.49 | GGD | thats causing that |
01:40.16 | plarsen | GGD, use du to help you find out what's take up the space |
01:40.35 | plarsen | du -hs /var/* |
01:41.10 | GGD | var/lib =44gig |
01:41.20 | GGD | var/cache = 1.6 |
01:41.24 | GGD | gi |
01:41.25 | GGD | gig |
01:41.34 | GGD | what is in lib to load that up like that |
01:41.45 | plarsen | keep on digging ;) |
01:41.50 | plarsen | GGD, du -hs /var/lib/* |
01:41.53 | plarsen | etc. etc. etc. |
01:42.48 | GGD | guess who it is |
01:42.53 | GGD | lib virt |
01:43.36 | GGD | images |
01:44.12 | GGD | i thought that we moved all of them to that /kvm share |
01:44.25 | GGD | so we didn't have this issue |
01:44.28 | plarsen | "we" ?? |
01:44.29 | plarsen | :D |
01:44.39 | GGD | well |
01:45.04 | GGD | it was like midnight -1 am |
01:45.04 | plarsen | you'll have to find out if you're even using these files. Maybe you forgot to move them and just copied them. |
01:45.23 | GGD | could we move them over to that /kvm share? |
01:45.47 | plarsen | If they're in use, you need to modify the qemu definitions |
01:46.20 | GGD | i don't think so |
01:46.46 | plarsen | If they're not in use why keep them? |
01:47.05 | GGD | the windows7 one i use |
01:47.24 | GGD | for when i have to remote into the office |
01:47.29 | plarsen | GGD, go through your kvm machines and verify |
01:48.01 | plarsen | You may or may not be using these specific files. The only way to know is to look at the virtual machines you have and where they keep their storage. |
01:48.03 | GGD | what should i be looking for? |
01:48.17 | plarsen | GGD, storage definitions |
01:49.08 | GGD | in the gui? |
01:50.52 | GGD | yea its on that path |
01:50.59 | GGD | the /var/lib... |
01:51.49 | plarsen | If the files are in use, then after you have moved the files you need to change the storage reference in the vm |
01:52.06 | GGD | ok |
01:52.42 | GGD | so i do a mv /var/lib/libvirt/images /kvm/images ? |
01:52.55 | plarsen | If that's where you put them yes. |
01:53.09 | GGD | ok |
01:53.12 | plarsen | Make sure you check for selinux contexts (restorecon) etc. too |
01:53.23 | plarsen | It may be easier to edit the location by simply editing /etc/libvirt/qemu/* |
01:53.46 | plarsen | After you have edited the files there, restart libvirtd and things should be working |
01:54.44 | GGD | dang |
01:54.46 | GGD | faild |
01:56.44 | GGD | hold on |
01:57.44 | GGD | its moving |
01:59.58 | GGD | i think |
02:02.09 | GGD | its taking forever to move |
02:02.40 | plarsen | If it's 10s of GB large then yes, it will take time |
02:06.05 | GGD | 21 gig |
02:07.08 | GGD | ok moved |
02:09.15 | GGD | so after i move these to that other location i should be able to load the update from 13 to 14? |
02:09.47 | plarsen | Well if you freed up 21gb that would suffice for the upgrade. But before you do that, make sure that VM is working before you proceed. |
02:12.10 | GGD | ok i am in the xml what do i need to edit.. |
02:12.13 | GGD | location? |
02:16.22 | GGD | permission denied |
02:19.52 | GGD | plarsen: ? |
02:20.18 | plarsen | I told you to verify SeLinux ;) |
02:20.27 | plarsen | Check your audit log |
02:20.52 | plarsen | If you have run virtual machines out of /kvm/images before you should have created a new selinux policy to cover that directory |
02:21.02 | plarsen | Otherwise you'll have to manually set the context of each file to mach |
02:21.04 | plarsen | match* |
02:21.11 | GGD | selinux..... |
02:21.40 | GGD | is it in the xml file? |
02:24.33 | GGD | i looked in the selinux dir |
02:25.02 | GGD | and i looked in both restorecon files and i didn't see anything remotely close to vity |
02:25.06 | GGD | virt |
02:26.24 | plarsen | No. Selinux is not specific to libvirt. There are selinux policies for libvirt though. Check your selinux audit.log file. |
02:33.23 | GGD | i think i found the log.. |
02:33.35 | GGD | gosh i feel like a noobie here |
02:34.04 | GGD | in the /var/log |
02:34.08 | GGD | ? |
02:45.01 | GGD | how can i tell what file type it is? |
02:45.47 | plarsen | ls -Z |
02:48.49 | GGD | permission denied |
02:48.52 | GGD | still |
02:50.52 | GGD | fpaste.org/MbcX/ |
03:05.55 | plarsen | What did you do to try to remmedy the issue? |
03:07.00 | GGD | i did the selinux trouble shooter |
03:07.21 | GGD | the contexs |
03:07.25 | GGD | copntexts |
03:07.35 | GGD | contexts crap i can't type |
03:07.59 | GGD | the restorecon |
03:08.28 | GGD | couldn't restart the virt d thou as it said that it process not found |
03:17.01 | plarsen | restorecon will NOT solve it if your policies aren't setup correctly |
03:17.20 | plarsen | Since you don't seem to know SELinux I don't think you ever created a policy for your custom kvm image location |
03:17.51 | plarsen | if you do ls -Z for the files in /kvm/images do you get security contexts that you see in the audit log that SELinux requires? |
03:19.31 | GGD | it said default_t:s0 |
03:19.47 | GGD | was the file type i don't think had a policy for them |
03:28.43 | plarsen | GGD, that's why I said to check the selinux audit.log - you'll have what it expects in there. |
03:29.14 | plarsen | If you have setroubleshooter installed, you should get an "sealert" token you can use which spells it out easy to read |
03:31.43 | GGD | yea |
03:31.50 | GGD | i have that installed |
03:31.58 | GGD | the setroubleshooter |
03:32.14 | GGD | and i got the alert and i followed it |
03:32.25 | GGD | and still got that error |
04:11.19 | *** join/#fredlug Moe__ (~MJames@c-71-62-116-235.hsd1.va.comcast.net) |
04:35.51 | *** join/#fredlug Moe__ (~MJames@c-71-62-116-235.hsd1.va.comcast.net) |
11:57.53 | GGD | gosh i love that i am not getting anything from my machine |
11:58.49 | GGD | after updating from 13 to 14 |
16:22.17 | *** join/#fredlug RangerBob (~Brian@pool-71-171-98-198.clppva.fios.verizon.net) |
20:06.55 | *** join/#fredlug plarsen (~plarsen@redhat/jboss/pdpc.professional.plarsen) |
23:00.21 | *** join/#fredlug Moe__ (~MJames@c-71-62-116-235.hsd1.va.comcast.net) |