Adding new disk to Oracle Linux in vmware

Considering the OS is Oracle Enterprise Linux running on vmware and need to add an additional storage of 100GB to it, here is how to do it in.. of course in detail...

 1.Go to the VM tab , select settings.



2.Select Add the option



3. Select hard disk and click next




4. Select the option , Create a new virtual disk


5. Leave things as below



6. Create 100GB disk , DO NOT check allocate space now, select split disk.


 7. Browse and make sure the path given is correct and give an appropriate name.



8. Now you can see the new disk added




9. Login to the server with root credential and check fdisk -l to see the current disks.


 

10.Run the below queries to re scan the target and get it added.


Query1 : grep mpt /sys/class/scst_host/host?/proc_name

Output would be like : /sys/class/scst_host/host2/proc_name:mptspi <host2 will be variable>

Query 2 : echo "- - -" > /sys/class/scst_host/host2/scan

Then check the disk status using : fdisk -l.

In the below example you can see new disk as /dev/sdb

 


Wola. .you have added 100 GB successfully to the server....

Thank you






No comments:

Post a Comment