System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we add new VMDK (Vmware disk) to Suse 9 running on VMware with out restarting the server

 
SOLVED
Go to solution
Highlighted
Regular Advisor

Can we add new VMDK (Vmware disk) to Suse 9 running on VMware with out restarting the server

Hi All,

How Can we add new VMDK (Vmware disk) to Suse 9 running on VMware with out restarting the server?
3 REPLIES 3
Highlighted
Honored Contributor
Solution

Re: Can we add new VMDK (Vmware disk) to Suse 9 running on VMware with out restarting the server

Sometimes even for physical machines the only option to recognize a new disk is to restart the OS.

http://malaysiavm.com/blog/tips-add-disk-in-sles-online/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Highlighted
Honored Contributor

Re: Can we add new VMDK (Vmware disk) to Suse 9 running on VMware with out restarting the server

If vmware allows you to select different drivers for vdisks try scsi vs ide.. ( i believe "auto" defaults to ide)

The ide driver does not have a capacity for hot swap / rescan ..

( this works in Oracle VM, which is Xen, which i believe is the grand parent of VMWare )

best of luck....
Highlighted
Regular Advisor

Re: Can we add new VMDK (Vmware disk) to Suse 9 running on VMware with out restarting the server

Hi All,

Ivan's suggestion is working fine.

Follow these steps:

1)Create a new LUN and assign to the ESX
2)Server Storage Group on SAN.
3)Rescan Storage Adaptors on ESX Server
4)Virtual Infrastructure Console.
5)Add new Hard Disk into VM by Edit Setting.
6)Open VM Console(SSH will work as well).
7)Detect new disk command
# rescan-scsi-bus.sh
8)Find new disk command
#cat /proc/partitions
10)Create new partition on the disk command # fdisk /dev/sdx
11)Format new disk partition
# mkfs.ext3 /dev/sdx1
12)Edit /etc/fstab to add in permanent mount point for new disk and partition.
13)Mount new disk
# mount -a