![]() |
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... :confused:
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/vmBut because DRBD is set at hda6 (see drbd.conf) and I enter Code:
mount-t ext3 /dev/drbd0 /var/vmMy 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 bytesCode:
Filesystem Size Used Avail Use% Mounted onCode:
resource vm1 { |
81 views and no answer? Come on I really need your help :(
|
I haven't tried the VMware replication howto, but have you tried to contact the author?
|
Thank you for your reply Falko, I'll follow your suggestion right now! :)
Greetings from The Netherlands! |
Hi Bart,
It seems that your DRBD device is not started. Did you start DRBD ? You should not be able to see /dev/hda6. Please let me know at what point of the tutorial you are, as I think you have skipped some steps. Grtz from Belgica :) Groeten uit Antwerpen. |
Thank you for taking your time thanis, and others who reading this reply right now! I've followed your how to (step for step) again and again with a new installation on both servers. But whatever I do after a reboot of the two servers drbd0 isn't mounted. Not even when I run /etc/init.d/drbd stop/start/restart.
When I try to mount it again (mount -t ext3 /dev/drbd0 /var/vm) I get the following: mount: block device /dev/drbd0 is write-protected, mounting read-only mount: /dev/drbd0 already mounted or /var/vm busy I have no idea what I'm doing wrong, I hope you do!! Friendly greetings, Bart van Kleef |
Bart, your main issue is the not starting of the DRBD volume. What error do you get when running /etc/init.d/drbd start ? Can you post your drbd.conf for both servers ?
thanks, Thanis |
Thanis, thanks again! :) The rare thing is, I get no error when I run "/etc/init.d/drbd start"
Code:
sproetjuh:~# /etc/init.d/drbd startCode:
kimmetjuh:~# /etc/init.d/drbd startCode:
sproetjuh:~# cat /etc/drbd.confCode:
kimmetjuh:~# cat /etc/drbd.confCode:
sproetjuh:~# cat /proc/drbdCode:
kimmetjuh:~# cat /proc/drbdCode:
sproetjuh:~# df -hCode:
kimmetjuh:~# df -hCode:
sproetjuh:~# fdisk -lCode:
kimmetjuh:~# fdisk -lIsn't this the problem: Code:
sproetjuh:~# cat /proc/drbdCordial greetings and thanks for your help, Bart van Kleef |
Hi Bart,
I'm guessing you skipped a part of the howto :) Please review this: Code:
Now we define "server1" as the primary/master server:Grtz, Thanis |
Thanis,
No that's not the point where I went wrong. :( If I can believe google secondary/secondary is normal. Heartbeat makes one primary. But you're right when I run on sproetjuh: Code:
drbdsetup /dev/drbd0 primary --do-what-I-sayBut after a reboot the status of drbd is again secondary/secondary and drbd0 is gone in df -h.. So I guess its hearbeat, here are my configs: Code:
sproetjuh:~# cat /etc/ha.d/ha.cfCode:
kimmetjuh:~# cat /etc/ha.d/ha.cfCode:
sproetjuh:~# cat /etc/ha.d/authkeysCode:
kimmetjuh:~# cat /etc/ha.d/authkeysCode:
sproetjuh:~# cat /etc/ha.d/haresourcesCode:
kimmetjuh:~# cat /etc/ha.d/haresourcesCode:
sproetjuh:~# ifconfig |moreCode:
kimmetjuh:~# ifconfig |more |
| All times are GMT +2. The time now is 00:26. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.