[CentOS-virt] Enabling KSM with ksmctl under Centos 5.4

2010-02-10 Thread Steven Ellis
Are their any good guides out there on how to use ksmctl to enable and tune KSM performance on Centos/RedHat At the moment the only guidelines I can find are from the following OLS paper, plus the Linux Kernel Docs.  * http://www.kernel.org/doc/ols/2009/ols2009-pages-19-28.pdf  * http://www.ke

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Lucas Timm LH
Let your backup array of hard drives falling down in the floor and try to restore something later... :p I haven't this problem with my LTO/DAT tapes. I don't like backups in hard drives too. 2010/2/10 Benjamin Franz > Christopher G. Stach II wrote: > > - "compdoc" wrote: > > > > > >> Combi

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Benjamin Franz
Christopher G. Stach II wrote: > - "compdoc" wrote: > > >> Combined with disk based network storage, tapes have a place >> in IT. >> > > Yes, archival storage. > Concur. You can buy 1TB RAID rated SATA drives (with a 7 year warranty) for $150 US from Newegg. The strategy I use is

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Christopher G. Stach II
- "compdoc" wrote: > The tape is easily replaceable, without > having to worry about bad connectors that can plague hot > swap drive bay equipment. I really worry about your staff if you have damaged hot swap anything. How many insertions are they rated for? According to its data sheet, a

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Ben Chobot
On Feb 10, 2010, at 11:43 AM, compdoc wrote: > At $45 per tape for 320G of storage, it competes with hard > drives. In case of tape drive failure, the tapes still work > with the new drive. And with scsi or sata based tape drives, > speed is not a problem. ...or, with 750GB drives today, you cou

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread compdoc
>Christopher G. Stach II >There is little argument for tapes at all in modern backup systems unless you need archival storage and you have money to burn on media, time (backup/restore time as well as time lost during restore on the requesting side), staff, etc. We think of our 320G Quantum Sata D

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Christopher G. Stach II
- "Ben Chobot" wrote: > We used bacula to hotswap SATA disks. It worked great. There is little argument for tapes at all in modern backup systems unless you need archival storage and you have money to burn on media, time (backup/restore time as well as time lost during restore on the reque

Re: [CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Ben Chobot
We used bacula to hotswap SATA disks. It worked great. On Feb 10, 2010, at 8:39 AM, Lee Doran wrote: > How does everyone feel about using Quantum LTO 3 and 4 tapes with > Bacula for backing up both the VM’s, Host, as well as from within the VM’s. > > What are know good backup solut

[CentOS-virt] LTO tape drives and Bacula for Backups?

2010-02-10 Thread Lee Doran
How does everyone feel about using Quantum LTO 3 and 4 tapes with Bacula for backing up both the VM's, Host, as well as from within the VM's. What are know good backup solutions? Can anyone name specific tape drives / software that is working. Lee _

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
Got it! As per: http://www.linux-kvm.org/page/Hotadd_pci_devices You need to load the acpiphp kernel module: [r...@localhost ~]# modprobe acpiphp (I could not find pci_hotplug, but it worked without it) If you then add a new disk from virsh: virsh # attach-disk 9 /dev/mapper/vg_alma_fast-lv_te

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
> something along > >          echo - - - > /sys/class/scsi_host/hostX/scan  // yes, the "-" > must be there ! Unfortunately there is nothing under scsi: [r...@localhost ~]# ll /sys/class/scsi_* /sys/class/scsi_device: total 0 /sys/class/scsi_disk: total 0 /sys/class/scsi_host: total 0 I also

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Manuel Wolfshant
Mathieu Baudier wrote: >> You also need to tell the guest that a new device exists... Unless it >> (the guest) has some hotswap abilities >> > > Do you know how I can do that? > something along echo - - - > /sys/class/scsi_host/hostX/scan // yes, the "-" must be there ! mi

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
> You also need to tell the guest that a new device exists... Unless it > (the guest) has some hotswap abilities Do you know how I can do that? I reinstalled the guest (CentOS 5.4 x86_64, just as the host) with the default non-desktop groups, but it still doesn't see when I attach a disk. I

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Manuel Wolfshant
Mathieu Baudier wrote: >> yes, you can add / remove disks to a VM without restarting the guest. >> look at the xm block-attach / block-detach commands >> > > My understanding is that xm is Xen specific (I'm using Qemu/KVM) > > I tried with virsh: > > virsh # attach-disk 6 /dev/mapper/vg_alma_

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
> yes, you can add / remove disks to a VM without restarting the guest. > look at the xm block-attach  / block-detach commands My understanding is that xm is Xen specific (I'm using Qemu/KVM) I tried with virsh: virsh # attach-disk 6 /dev/mapper/vg_alma_fast-lv_test_virtlvm2 vdb Disk attached su

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Manuel Wolfshant
Mathieu Baudier wrote: >>> 3. On both host and guest >>> >> This is what I always use and recommend. It doesn't have any side effects >> with modern software versions, except with layered >> > > Thanks! > > I have tried this, but I don't see how to grow the guest file system > without

Re: [CentOS-virt] Best practices for LVM and virtualization

2010-02-10 Thread Mathieu Baudier
>> 3. On both host and guest > This is what I always use and recommend. It doesn't have any side effects > with modern software versions, except with layered Thanks! I have tried this, but I don't see how to grow the guest file system without restarting the guest: - if I grow the underlying logi