* [linux-lvm] LVM2 on top of drbd
@ 2003-11-13 5:08 Stefan Majer
2003-11-13 7:35 ` Alasdair G Kergon
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Majer @ 2003-11-13 5:08 UTC (permalink / raw)
To: linux-lvm
Hello,
Im currently testing a new setup for a HA samba fileserver. This setup
is planned like this.
+----------+-------------------+------------------+
| | FS1 | FS2 |
+----------+-------------------+------------------+
| | Pri | Sec |
| reiserfs | /home | |
| lv | /dev/vg00/lv_01 | |
| vg | /dev/vg00 | |
| drbd | /dev/nb0 | /dev/nb0 |
| phys. vol| /dev/sda | /dev/sda |
+----------+-------------------+------------------+
i can mount /home and read and write data.
But when i try to make fs2 primary things got strange.
first i tried to switch the drbd state manually:
fs1:~ # cat /proc/drbd
version: 0.6.6 (api:62/proto:62)
0: cs:Connected st:Primary/Secondary ns:170804 nr:0 dw:65948 dr:170904
pe:0 ua:0
fs1:~ # vgs
VG #PV #LV #SN Attr VSize VFree
vg00 1 2 0 wz-- 100.00M 12.00M
then
fs1:~ # drbdsetup /dev/nb0 secondary
fs2:~ # drbdsetup /dev/nb0 primary
fs1:~ # cat /proc/drbd
version: 0.6.6 (api:62/proto:62)
0: cs:Connected st:Secondary/Primary ns:170804 nr:0 dw:65948 dr:170904
pe:0 ua:0
fs2:~ # cat /proc/drbd
version: 0.6.6 (api:62/proto:62)
0: cs:Connected st:Primary/Secondary ns:0 nr:170804 dw:170804 dr:20 pe:0
ua:0
all seems fine
but
fs2:~ # vgchange -ay
No volume groups found
also
fs2:~ # pvscan -v
Wiping cache of LVM-capable devices
Wiping internal cache
Walking through all physical volumes
No matching physical volumes found
That leeds me in a state, which makes the fs2 unusable.
when i switch back to fs1 all is fine again.
Im using the following software components:
Kernel Suse-Linux-9.0 2.4.21-99
device-mapper-1.00.05
lvm2-2.00.07
drbd-0.6.6
heartbeat-1.0.3
any hints are welcome
greetings
Stefan Majer
--
x-cellent technologies GmbH
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] LVM2 on top of drbd
2003-11-13 5:08 [linux-lvm] LVM2 on top of drbd Stefan Majer
@ 2003-11-13 7:35 ` Alasdair G Kergon
0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2003-11-13 7:35 UTC (permalink / raw)
To: linux-lvm
On Thu, Nov 13, 2003 at 12:06:22PM +0100, Stefan Majer wrote:
> fs2:~ # vgchange -ay
> No volume groups found
> lvm2-2.00.07
What /dev entries should LVM2 on fs2 be using?
Do the filters in your LVM2 config file give access to them?
e.g. Do you need to add
types = [ "drbd", 16 ]
to the devices section?
Alasdair
--
agk@uk.sistina.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-13 7:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-13 5:08 [linux-lvm] LVM2 on top of drbd Stefan Majer
2003-11-13 7:35 ` Alasdair G Kergon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.