Posts Tagged xen

The importance of having ntpd configured

Ok, not really importance of having it configured, but at least a post to try and get myself to remember to do it. I discovered that the Dreamhost server I’m hosting this blog on has bad clock drift. I’m not sure why it’s happening (I’d imagine that it should be one of the first things […]

, ,

No Comments

Specifying dom0 RAM in Xen – update

Another thing from the xen-users mailing list: Apparently the way to specify the dom0 RAM at boot in Xen has changed. You should now specify the maximum memory – dom0_mem=2G,max:2G instead of dom0_mem=2G. Also, a new addition to the Xen Best Practices suggests preventing Xen from auto-ballooning the dom0 memory down by changing autoballoon in […]

,

No Comments

Defining the dom0 memory limit in GRUB2

Before I upgraded my dom0 to Fedora 16 (and by association Grub2), I had the dom0 memory limit fixed as an argument in grub.conf. When I upgraded to Grub2, I initially added it manually to the Xen boot command line, but eventually stopped doing that. Today while looking through the xen-users list, I found an […]

,

No Comments

Fedora 16 domUs – Update

So, I’ve wiped my test system with the intention of doing a tutorial on installing F16 + Xen. As part of this, I looked into installing a F16 domU with virt-install. When I tried it previously, I ran into this bug, and I ended up having to vnc into the dom0 and use virt-viewer to […]

, ,

No Comments

Revised Fedora virt-install command

I got tired of having to muck around with kpartx and such whenever a domU went down. So I decided to just go with 4 LVs per domU – root, home, swap and boot. The command to create the LVs is just one really long one, the original command replicated 4 times: lvcreate -L10G -n […]

,

No Comments

Win2K8R2 as HVM VM on Xen 4.1

Config file: pastebin.com/ULE1Y49R Also, it’s working fine without the Xen extensions, though there’s (at least) one unknown device in the device manager)

No Comments

Sudo broken on F16?

I haven’t been able to use sudo on F16Beta on both machines that I upgraded – even though I know sudo worked fine before I upgraded. Not sure why/how it broke… Turns out SELinux broke it somehow.

,

No Comments

SELinux, Xen & LVMs

I discovered something new today: SELinux can and does prevent access to logical volumes. This is entirely unexpected for me, because I always thought SELinux only worked on files. I was wondering why my test VM suddenly refused to start with the error “Disk is not accessible” after I upgraded it to F16Beta. I checked […]

,

No Comments

Creating a new RAID 6 drive & attaching it to a Xen VM

I have 4 2TB drives in my NAS. They are split into 2 partitions, 500GB and the remaining ~1.5TB. The 1.5TB partitions were used in a RAID5 for media – music, backups of DVDs, etc. The remaining 500GB partitions were supposed to be for crucial documents, stuff that warranted double protection against disk failure. Except […]

, ,

No Comments