Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 5th August 2008, 11:48
Bart van Kleef Bart van Kleef is offline
Junior Member
 
Join Date: Aug 2008
Posts: 15
Thanks: 4
Thanked 0 Times in 0 Posts
Default VMware use hda5 instade of hda6 for the VM's

Firstly, I'll try to make my question as clearly as possible, despite my poor English and thanks for making the great howto's! After strictly follow this and this howto, saves VMware Server (2.0 Release Candidate 1) the VM's on hda5 as I set hda6. And I see nowhere (with fdisk-l or df -h) /dev/drbd0...

Here what I've done:
Befor the installation of VMware, I have created a new directory as in the aforementioned how to was described by:
Code:
mkdir /var/vm
To save the VM's on that location. During the installation of VMware Server I also changed the Datastore default in /var/vm. (So from here it is obvious that the VM's to be saved on hda5.)
But because DRBD is set at hda6 (see drbd.conf) and I enter
Code:
mount-t ext3 /dev/drbd0 /var/vm
what the location changes from /var/vm on hda5 to /var/vm on hda6, right?

My partition scheme is as follows:
/dev/hda1 | 0.01 GB | boot (primary, ext3, bootable flag: on)
/dev/hda5 | 3.80 GB | / (logical, ext3)
/dev/hda6 | 25.4 GB | unmounted (logical, ext3, will contain the /var/vm directory)
/dev/hda7 | 1.00 GB | swap (logical, swap)

But hda6 should be well formatted with ext3 or just created?

The output from fdisk -l shows:
Code:
Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          12       96358+  83  Linux
/dev/hda2              13        3738    29929095    5  Extended
/dev/hda5              13         474     3710983+  83  Linux
/dev/hda6             475        3611    25197921   83  Linux
/dev/hda7            3612        3738     1020096   82  Linux swap / Solaris
And df -h:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             3.5G  3.2G  197M  95% /
tmpfs                 380M     0  380M   0% /lib/init/rw
udev                   10M   44K   10M   1% /dev
tmpfs                 380M     0  380M   0% /dev/shm
/dev/hda1              92M   12M   75M  14% /boot
My drbd.conf:
Code:
resource vm1 {
  protocol C;
  incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";
  startup {
    wfc-timeout 10;             # 10 seconds
    degr-wfc-timeout 30;        # 30 seconds
  }
  disk {
    on-io-error detach;
  }
  net {
    max-buffers 20000;          # Play with this setting to achieve highest possible performance
    unplug-watermark 12000;     # Play with this setting to achieve highest possible performance
    max-epoch-size 20000;       # Should be the same as max-buffers
  }
  syncer {
    rate 10M;           # Use more if you have a Gigabit network, speed is in Kylobytes. e.g.: 10M = 10Megabytes
    group 1;
    al-extents 257;
  }
  on server1.home {                   # Use the exact hostname of your server as give by the command "uname -n"
    device     /dev/drbd0;              # Drbd device ID
    disk       /dev/hda6;               # physical disk device, check your partitioning scheme!
    address    192.168.1.15:7789;       # Fixed IP address of Sproetjuh.home
    meta-disk  internal;                # I use internal metadata storage
  }
  on server2.home {
    device     /dev/drbd0;
    disk       /dev/hda6;
    address    192.168.1.17:7789;
    meta-disk  internal;
  }
}
I hope you can help me because I really do not know where I should start right now..

Last edited by Bart van Kleef; 5th August 2008 at 17:48. Reason: To clarify my problem
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 Server LTS and VMware Server 1.05 Ken Lee Suggest HOWTO 3 10th June 2008 17:03
VMware Server and Linux Mint 5 waellerbe HOWTO-Related Questions 1 2nd June 2008 11:42
VMWARE server 1.0.3 from 1.0.1 gone bad rjn456 Installation/Configuration 2 13th June 2007 09:13
vmware server setup with multiple users handband2 HOWTO-Related Questions 3 19th April 2007 15:44
VMWare Server Free License - Invalid bardgd HOWTO-Related Questions 6 19th November 2006 18:50


All times are GMT +2. The time now is 09:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.