[CentOS-virt] Cannot samba mount a remote windows disk

2011-04-12 Thread Poh Yong Hwang
Hi,

I would like to mount a remote windows disk as samba share drive but unable
to do so on my host node. I tried it on my instances and it works so i am
suspecting that perhaps firewall could be blocking it.

Right now i see that the iptables for the host node with KVM installed :

 iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT udp  --  anywhere anywhereudp dpt:domain
ACCEPT tcp  --  anywhere anywheretcp dpt:domain
ACCEPT udp  --  anywhere anywhereudp dpt:bootps
ACCEPT tcp  --  anywhere anywheretcp dpt:bootps

Chain FORWARD (policy ACCEPT)
target prot opt source   destination
ACCEPT all  --  anywhere 192.168.122.0/24state
RELATED,ESTABLISHED
ACCEPT all  --  192.168.122.0/24 anywhere
ACCEPT all  --  anywhere anywhere
REJECT all  --  anywhere anywherereject-with
icmp-port-unreachable
REJECT all  --  anywhere anywherereject-with
icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

Do i need to add anything to allow samba share to work?

Thanks!
yongsan
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-03-13 Thread Poh Yong Hwang
Hi,

Sorry to bring this up again. Now i am trying the clonezilla method to
downsize one of my VM. I have created a smaller storage volume and added to
the VM. I boot up wih clonezilla but have issue cloning the drive over.
Should I use Disk-Image or Device-Device?

Please advise.

Thanks!

Yongsan

On Mon, Feb 7, 2011 at 3:09 AM, compdoc comp...@hotrodpc.com wrote:

 Well, I can tell you how I do it. Might help…



 1) create a new storage volume of the size you want with Virtual Manager.
 (Host detailsStorage tab)



 2) shut down the VM and add the new volume to the VM ( it now has two
 virtual drives - the original and the new)



 3) boot with clonezilla, clone one drive to the other. Then boot gparted
 and resize as needed



 4) delete both drives from the vm, and then add back the new volume. Boot.



 5) keep the old, smaller volume around for a while as backup.





 When you add a volume, Virtual Manager assigns a device name to it: hda to
 the first drive, hdb to the second, ect.



 So, you have to delete them both to get Virtual Manager to assign hda to
 the new one, otherwise the OS will not be able to boot.





 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-03-13 Thread Poh Yong Hwang
Hi,

Thanks! It works!

:)

Yongsan

On Sun, Mar 13, 2011 at 7:47 PM, compdoc comp...@hotrodpc.com wrote:

  Sorry to bring this up again. Now i am trying

 the clonezilla method to downsize one of my

 VM. I have created a smaller storage volume

 and added to the VM. I boot up wih clonezilla

 but have issue cloning the drive over. Should

 I use Disk-Image or Device-Device?





 To make it smaller, you need to resize your partition(s) first with
 gparted, and then use device-device if you have both 'drives' mounted. This
 clones the drive.



 Use Disk-Image only if you want to store a copy of the drive to local or
 remote storage. This creates a file backup of the disk.





 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi,

I have an issue. I have already resize the partition using Gparted. Now how
can i resize the actual image size in virtual manager? I do not see any
option for me to change the size of the allocated hard disk.

Please advise.

Thanks!

On Wed, Jan 26, 2011 at 6:54 PM, Poh Yong Hwang yong...@gmail.com wrote:

 Hi,

 Great! Thanks for the quick response. I will try it out then. Yes. I do
 have backup for the host as well as the guest nodes. :)

 Regards
 yongsan

 On Wed, Jan 26, 2011 at 6:43 PM, Lorenzo Quatrini 
 lorenzo.quatr...@gmail.com wrote:

 Poh Yong Hwang ha scritto:
  Hi,
 
  I have two guest vm instance running CentOS 5 with ext3 partition. I
  will like to reduce 1 VM harddisk space and using the 'release' harddisk
  space to add onto my second VM. Basically I need to know how can I
  reduce and increase an ext3 partition in CentOS KVM. I did a search and
  basically i can do it by booting the VM using Knoppix and use Gparted to
  reduce and increase the diskspace. I am thinking of the following
 
  1) Boot first VM using Knoppix
  2) Reduce the ext3 partition disk size using Gparted
  3) Shutdown the VM and resize the diskspace using Virtual Manager
  4) Increae the diskspace of the second VM using Virtual Manager
  5) Boot up second VM using Knoppix
  6) Increase the ext3 partition disk size using Gparted
  7) Reboot the second VM
 
  As this is the first time i am doing it, will these work? Anyone has
  experience resiziing their EXT3 partition in KVM environment before?
 
  Thanks!
 
  Regards
  yongsan
 
 I guess it would work, but just in case remember: do backup beforehand :D

 Regards
 Lorenzo
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt



___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi,

Thanks but my issue is i do not have enough diskspace to create another
partition of the size that i needed. Is there a way for me to reduce the
actual image size?

Thanks!

On Mon, Feb 7, 2011 at 3:09 AM, compdoc comp...@hotrodpc.com wrote:

 Well, I can tell you how I do it. Might help…



 1) create a new storage volume of the size you want with Virtual Manager.
 (Host detailsStorage tab)



 2) shut down the VM and add the new volume to the VM ( it now has two
 virtual drives - the original and the new)



 3) boot with clonezilla, clone one drive to the other. Then boot gparted
 and resize as needed



 4) delete both drives from the vm, and then add back the new volume. Boot.



 5) keep the old, smaller volume around for a while as backup.





 When you add a volume, Virtual Manager assigns a device name to it: hda to
 the first drive, hdb to the second, ect.



 So, you have to delete them both to get Virtual Manager to assign hda to
 the new one, otherwise the OS will not be able to boot.





 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi Kenni,

Sorry i might have miss it but if i do a man of qemu-img, i do not see
resize option. I only see create, convert, commit and info.

Thanks

On Mon, Feb 7, 2011 at 3:18 AM, Kenni Lund ke...@kelu.dk wrote:

 2011/2/6 Poh Yong Hwang yong...@gmail.com:
  Hi,
  Thanks but my issue is i do not have enough diskspace to create another
  partition of the size that i needed. Is there a way for me to reduce the
  actual image size?

 Yes, like I wrote 10 minutes ago: qemu-img resize

 Best regards
 Kenni
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi,

Apologies for the late reply. Here is the result of the command:

qemu-img info staging.img
image: staging.img
file format: raw
virtual size: 195G (20971520 bytes)
disk size: 196G

Yes. I am looking to reduce this size to 100G.

Thanks!

On Mon, Feb 7, 2011 at 7:35 AM, Thomas Smith theitsm...@gmail.com wrote:

 I see. So we are looking to decrease the size, not increase it. (I also
 assumed we were talking about a disk image.)

 OP, what are you using as the backing storage device? That is, are you
 using a disk image or a block device?

 If you are using a disk image, what format is the image? QCOW2? RAW?
 Something else?
 * Use qemu-img info disk.img to determine this. Execute this command on
 the host.

 If you are using a block device, knowledge of your file system structure
 (on the host) will be necessary.

 On Sun, Feb 6, 2011 at 1:14 PM, Kenni Lund ke...@kelu.dk wrote:

 2011/2/6 Thomas Smith theitsm...@gmail.com:
  I am coming into this discussion a little late, so apologies if I ask
 for
  any information previously provided.
  I can help you with this, but I'll need to know the domU's file system
  layout to do so. Can you send the output of the following commands?
  * fdisk -l
  * mount
  * df -h
  And if you're using LVM:
  * vgdisplay
  * lvdisplay

 KVM not Xen according to original post - and the partition in the
 guest has already been resized with gparted, so no reason to perform
 any more actions within the guest - only thing missing is to resize
 the qemu image on the host (I assume the OP is using regular
 file-based images in virt-manager as nothing has been mentioned about
 this, eg. not iSCSI, NFS, LVM, etc.).

 Best regards
 Kenni
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt




 --
 Thomas Smith
 Cell: 602-882-2917


 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-01-26 Thread Poh Yong Hwang
Hi,

Great! Thanks for the quick response. I will try it out then. Yes. I do have
backup for the host as well as the guest nodes. :)

Regards
yongsan

On Wed, Jan 26, 2011 at 6:43 PM, Lorenzo Quatrini 
lorenzo.quatr...@gmail.com wrote:

 Poh Yong Hwang ha scritto:
  Hi,
 
  I have two guest vm instance running CentOS 5 with ext3 partition. I
  will like to reduce 1 VM harddisk space and using the 'release' harddisk
  space to add onto my second VM. Basically I need to know how can I
  reduce and increase an ext3 partition in CentOS KVM. I did a search and
  basically i can do it by booting the VM using Knoppix and use Gparted to
  reduce and increase the diskspace. I am thinking of the following
 
  1) Boot first VM using Knoppix
  2) Reduce the ext3 partition disk size using Gparted
  3) Shutdown the VM and resize the diskspace using Virtual Manager
  4) Increae the diskspace of the second VM using Virtual Manager
  5) Boot up second VM using Knoppix
  6) Increase the ext3 partition disk size using Gparted
  7) Reboot the second VM
 
  As this is the first time i am doing it, will these work? Anyone has
  experience resiziing their EXT3 partition in KVM environment before?
 
  Thanks!
 
  Regards
  yongsan
 
 I guess it would work, but just in case remember: do backup beforehand :D

 Regards
 Lorenzo
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] KVM instance keep crashing

2010-10-14 Thread Poh Yong Hwang
Hi,

I have one KVM instance (centos 5) that keeps crashing and i see the message
log with the following:

Oct 14 16:24:48 localhost kernel: psmouse.c: Explorer Mouse at
isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Oct 14 16:24:49 localhost kernel: BUG: soft lockup - CPU#0 stuck for 12s!
[ntpd:2363]
Oct 14 16:24:49 localhost kernel: CPU 0:
Oct 14 16:24:49 localhost kernel: Modules linked in: backupdriver(PU) ipv6
xfrm_nalgo crypto_api autofs4 hidp rfcomm l2cap bluetooth lockd sunrpc
talpa_pedevice(U) dm_mirror dm_multipath scsi_dh video backlight sbs
power_meter hwmon i2c_ec dell_wmi wmi button battery asus_acpi
acpi_memhotplug ac parport_pc lp parport floppy virtio_balloon virtio_pci
ide_cd i2c_piix4 virtio_ring 8139too cdrom 8139cp pcspkr i2c_core virtio mii
serio_raw dm_raid45 dm_message dm_region_hash dm_log dm_mod dm_mem_cache
ata_piix libata sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Oct 14 16:24:49 localhost kernel: Pid: 2363, comm: ntpd Tainted: P
 2.6.18-194.3.1.el5 #1
Oct 14 16:24:49 localhost kernel: RIP: 0010:[80064b50]
 [80064b50] _spin_unlock_irqrestore+0x8/0x9
Oct 14 16:24:49 localhost kernel: RSP: 0018:80446ee0  EFLAGS:
0296
Oct 14 16:24:49 localhost kernel: RAX: 02fd RBX:
81007cb46b40 RCX: 81006975b978
Oct 14 16:24:49 localhost kernel: RDX: 0060 RSI:
0296 RDI: 80348e58
Oct 14 16:24:49 localhost kernel: RBP: 80446e60 R08:
81007cb46a70 R09: 0020
Oct 14 16:24:49 localhost kernel: R10:  R11:
 R12: 8005dc8e
Oct 14 16:24:49 localhost kernel: R13: 003d R14:
8007820e R15: 80446e60
Oct 14 16:24:49 localhost kernel: FS:  2b3519a1c030()
GS:803ca000() knlGS:
Oct 14 16:25:06 localhost kernel: CS:  0010 DS:  ES:  CR0:
8005003b
Oct 14 16:25:06 localhost kernel: CR2: 2b4f3abac3d8 CR3:
69726000 CR4: 06e0
Oct 14 16:25:06 localhost kernel:
Oct 14 16:25:06 localhost kernel: Call Trace:
Oct 14 16:25:06 localhost kernel:  IRQ  [80209e43]
i8042_interrupt+0x92/0x1e9
Oct 14 16:25:06 localhost kernel:  [80010bd1]
handle_IRQ_event+0x51/0xa6
Oct 14 16:25:07 localhost kernel:  [800baec9] __do_IRQ+0xa4/0x103
Oct 14 16:25:07 localhost kernel:  [8006ca11] do_IRQ+0xe7/0xf5
Oct 14 16:25:07 localhost kernel:  [8005d615]
ret_from_intr+0x0/0xa
Oct 14 16:25:07 localhost kernel:  EOI  [8002f73b]
dev_queue_xmit+0x0/0x271
Oct 14 16:25:07 localhost kernel:  [881987c6]
:8139cp:cp_start_xmit+0x4ef/0x511
Oct 14 16:25:07 localhost kernel:  [8819842d]
:8139cp:cp_start_xmit+0x156/0x511
Oct 14 16:25:07 localhost kernel:  [8022eede]
dev_hard_start_xmit+0x1b7/0x28a
Oct 14 16:25:08 localhost kernel:  [8023f0b8]
__qdisc_run+0x136/0x1f9
Oct 14 16:25:08 localhost kernel:  [8002f88b]
dev_queue_xmit+0x150/0x271
Oct 14 16:25:08 localhost kernel:  [80031f87]
ip_output+0x2ae/0x2dd
Oct 14 16:25:08 localhost kernel:  [8024d651]
ip_push_pending_frames+0x37d/0x465
Oct 14 16:25:08 localhost kernel:  [8025daad]
udp_push_pending_frames+0x21e/0x243
Oct 14 16:25:08 localhost kernel:  [8005297d]
udp_sendmsg+0x4d8/0x5ef
Oct 14 16:25:08 localhost kernel:  [80055336]
sock_sendmsg+0xf8/0x14a
Oct 14 16:25:09 localhost kernel:  [800a0abe]
autoremove_wake_function+0x0/0x2e
Oct 14 16:25:09 localhost kernel:  [80098f3b]
__dequeue_signal+0x12d/0x193
Oct 14 16:25:09 localhost kernel:  [8009899d]
recalc_sigpending+0xe/0x25
Oct 14 16:25:09 localhost kernel:  [8009a0db]
dequeue_signal+0x47/0xcd
Oct 14 16:25:09 localhost kernel:  [80070b89] init_fpu+0x62/0x7f
Oct 14 16:25:09 localhost kernel:  [8006beee]
math_state_restore+0x23/0x4c
Oct 14 16:25:09 localhost kernel:  [8005dde9] error_exit+0x0/0x84
Oct 14 16:25:09 localhost kernel:  [802264ac]
sys_sendto+0x11c/0x14f
Oct 14 16:25:10 localhost kernel:  [8006b011]
__switch_to+0xfe/0x22f
Oct 14 16:25:10 localhost kernel:  [80062ff8]
thread_return+0x62/0xfe
Oct 14 16:25:10 localhost kernel:  [80043b84]
sys_rt_sigreturn+0x323/0x356
Oct 14 16:25:10 localhost kernel:  [8005d28d] tracesys+0xd5/0xe0
Oct 14 16:25:10 localhost kernel:

Afterwhich the instance become very sluggish and unresponsive. Please advise
what could be the issue.

Thanks

YongSan
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] How do I reduce a disk size of a particular VM?

2010-09-20 Thread Poh Yong Hwang
Hi,

Thanks. Yes I am also using gnome and using VNC to access it. But I could
not find a simple way to connect the guest's CD to the ISO file. The option
under boot option is only either harddisk, CD or PXE. So how can I connect
the guest CD to the ISO file?

Thanks!

YongSan

On Mon, Sep 20, 2010 at 7:18 PM, compdoc comp...@hotrodpc.com wrote:

 Place the gparted iso file somewhere you can access it from the VM. I would
 recommend placing it on the Centos server that hosts the VM. I keep all my
 ISO files in a folder named ISOs.



 I run the gnome desktop on my servers, so I use VNC to remote control the
 server. I would run the virt-manager gui to shut down the VM guest, connect
 the guest’s CD to the iso file, and change the boot options to boot from the
 CD. Of course, you can do all this from the command line, and I’m sure you
 can google information of how to do it that way.



 With gparted, I think you can backup the VM over the network to a share.
 So, I would first backup the VM, then resize the VM disk with gparted and
 make sure it boots, then backup the VM again, create a new smaller disk for
 the guest, and restore the smaller backup image.









 *From:* centos-virt-boun...@centos.org [mailto:
 centos-virt-boun...@centos.org] *On Behalf Of *Poh Yong Hwang
 *Sent:* Monday, September 20, 2010 1:25 AM
 *To:* Discussion about the virtualization on CentOS
 *Subject:* Re: [CentOS-virt] How do I reduce a disk size of a particular
 VM?



 Hi,



 I am trying to boot that particular VM which I want to resize using gparted
 ISO. May I know how can I boot a VM using a ISO file?



 Thanks!



 YongSan

 
  On Fri, Aug 27, 2010 at 5:30 PM, Victor Padro vpa...@gmail.com wrote:
 
  On Fri, Aug 27, 2010 at 4:10 AM, Poh Yong Hwang yong...@gmail.com
 wrote:
   Hi,
   But I would like the diskspace to be release to the hardware node so
   that i
   can create another VM as my hardware node is running out of diskspace.
 I
   presume that using Gpart only reduce the diskspace on the VM but it
 will
   not
   be release to the hardware node?
   Thanks!
   YongSan
  
   On Fri, Aug 27, 2010 at 4:58 PM, Victor Padro vpa...@gmail.com
 wrote:
  
   On Fri, Aug 27, 2010 at 3:51 AM, Poh Yong Hwang yong...@gmail.com
   wrote:
Hi,
As per subject, is there a way to reduce diskspace for a VM. I have
 a
VM
with 200GB but would like to reduce the diskspace to 100GB.
Please advise.
Thanks!
Yongsan
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt
   
   
  
   Perhaps shriking the partition using gparted inside the VM?
  
   Otherwise I can't figure out how to shrink a raw, qcow file under KVM
   for example...
  
  
   --
   Linux User #452368
   http://twitter.com/vpadro
  
   Everything that irritates us about others can lead us to an
   understanding of ourselves
   ___
   CentOS-virt mailing list
   CentOS-virt@centos.org
   http://lists.centos.org/mailman/listinfo/centos-virt
  
  
   ___
   CentOS-virt mailing list
   CentOS-virt@centos.org
   http://lists.centos.org/mailman/listinfo/centos-virt
  
  
 
  What are you using to virtualize those VMs?
 
  --
  Linux User #452368
  http://twitter.com/vpadro
 
  Everything that irritates us about others can lead us to an
  understanding of ourselves
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 

 I can only think of creating a smaller qcow file, clonning using dd
 the contents of the oversized qcow/raw HD to that newly qcow
 file...although is not the best solution.

 Maybe someone else could bring a better solution because there's no
 much info on KVM just a little under Xen... :(



 --

 Linux User #452368
 http://twitter.com/vpadro

 Everything that irritates us about others can lead us to an
 understanding of ourselves
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt



 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] How do I reduce a disk size of a particular VM?

2010-08-27 Thread Poh Yong Hwang
Hi,

Using KVM, qemu.

Thanks!

Yongsan

On Fri, Aug 27, 2010 at 5:30 PM, Victor Padro vpa...@gmail.com wrote:

 On Fri, Aug 27, 2010 at 4:10 AM, Poh Yong Hwang yong...@gmail.com wrote:
  Hi,
  But I would like the diskspace to be release to the hardware node so that
 i
  can create another VM as my hardware node is running out of diskspace. I
  presume that using Gpart only reduce the diskspace on the VM but it will
 not
  be release to the hardware node?
  Thanks!
  YongSan
 
  On Fri, Aug 27, 2010 at 4:58 PM, Victor Padro vpa...@gmail.com wrote:
 
  On Fri, Aug 27, 2010 at 3:51 AM, Poh Yong Hwang yong...@gmail.com
 wrote:
   Hi,
   As per subject, is there a way to reduce diskspace for a VM. I have a
 VM
   with 200GB but would like to reduce the diskspace to 100GB.
   Please advise.
   Thanks!
   Yongsan
   ___
   CentOS-virt mailing list
   CentOS-virt@centos.org
   http://lists.centos.org/mailman/listinfo/centos-virt
  
  
 
  Perhaps shriking the partition using gparted inside the VM?
 
  Otherwise I can't figure out how to shrink a raw, qcow file under KVM
  for example...
 
 
  --
  Linux User #452368
  http://twitter.com/vpadro
 
  Everything that irritates us about others can lead us to an
  understanding of ourselves
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 

 What are you using to virtualize those VMs?

 --
 Linux User #452368
 http://twitter.com/vpadro

 Everything that irritates us about others can lead us to an
 understanding of ourselves
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] (KVM) How can I migrate VM in a non shared storage environment?

2010-07-05 Thread Poh Yong Hwang
Hi All,

Thanks for all your suggestion. Just a check, if i have a full backup on the
server but due to the different specs of the hardware so i am unable to do a
bare metal restore, can i just dump all the folders under /var/lib/libvirt
which also includes the images folder? Will it work that way?

Here is the folders in libvirt:

[r...@pop-kvm-web libvirt]# ls
boot  images  iptables  network  qemu

Thanks!

yongsan

On Tue, Jun 29, 2010 at 12:27 AM, C.J. Adams-Collier
c...@colliertech.orgwrote:

 If you do it often, you might consider listening for ssh connections on
 a separate port and using tc to keep things from getting out of hand:

 http://linux.die.net/man/8/tc

 Cheers,

 C.J.

 On Mon, 2010-06-28 at 09:17 -0700, Christopher Hunt wrote:
  +1 for dd + nc over ssh if necessary.
 
This process can and probably will saturate your ethernet
 interface, so
  depending upon the amount of traffic the box pushes on the public
  interface the size of the partition and other factors, sometimes i add a
  crossover cable between unused interfaces on the 2 boxes and run the
  process over that interface, so it doesn't impact the running vms.
 
  Cheers
  -Chris
 
  On 6/24/2010 9:00 AM, centos-virt-requ...@centos.org wrote:
 
   Message: 3
   Date: Thu, 24 Jun 2010 10:52:57 -0400
   From: Kelvin Edmisonkel...@kindsight.net
   Subject: Re: [CentOS-virt] (KVM) How can I migrate VM in a non shared
   storage environment?
   To: Discussion about the virtualization on CentOS
   centos-virt@centos.org
   Message-ID:c848e989.30d95%kel...@kindsight.netc848e989.30d95%25kel...@kindsight.net
 
   Content-Type: text/plain;   charset=US-ASCII
  
  
  
  
   On 24/06/10 7:17 AM, Poh Yong Hwangyong...@gmail.com  wrote:
  
   I have a server running CentOS 5.5 with KVM capabilities. I need to
 migrate
   all the VMs to another server with the exact same hardware specs. The
 problem
   is it is running on individual harddisks, not shared storage. What is
 the best
   way to migrate to minimise downtime?
  
   I've had good success using dd and nc (netcat) to copy the contents of
 a
   disk or disk image from one machine to another, and verifying the copy
 was
   successful with a md5sum or sha1sum of both the original and copied
 disk.
  
   Kelvin
  
  
  
   --
  
   ___
   CentOS-virt mailing list
   CentOS-virt@centos.org
   http://lists.centos.org/mailman/listinfo/centos-virt
  
  
   End of CentOS-virt Digest, Vol 34, Issue 13
   ***
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt


 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] (KVM) How can I migrate VM in a non shared storage environment?

2010-06-24 Thread Poh Yong Hwang
Hi,

I have a server running CentOS 5.5 with KVM capabilities. I need to migrate
all the VMs to another server with the exact same hardware specs. The
problem is it is running on individual harddisks, not shared storage. What
is the best way to migrate to minimise downtime?

Thanks!

YongSan
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt