How To Share Disks In VirtualBox Between Linux Guest OS

Let me show you in this small  tutorial, how to share 1 disk between 2 Linux guests os in Virtualbox.

This tutorial will be very helpful, if you want to Configure and play with GFS or cluster machines.

The the normal screenshot of Virtualbox:

2014-05-28_102225

First, Guest OS Centos1:

2014-05-28_102252

Second Guest OS Centos2:

2014-05-28_102314

Add Extra disk to First machine:

2014-05-28_102459

via File -> Virtual Media manager (Control+D):

2014-05-28_102657

Make the disk Shareable:

2014-05-28_102719

From  Guest Centos 2, you can add existing disk that was created  before Centos1 guest OS:

v2014-05-28_113908

After this restart the 2 Guest os, you can check if the drive is add:

2014-05-28_111903That’s it.