Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Thanks for your information. vgchange -ay is done in initrd during the booting. Do you have some exercise with the script which should be written? What should be written in this script? Thank you in advance regards / S pozdravem Petr Hráček ________________________________ From: Alireza Nematollahi [mailto:alirezan at redback.com] Sent: Wednesday, October 15, 2008 7:25 PM To: Hracek, Petr; drbd-user at lists.linbit.com Subject: RE: [DRBD-user] Problem with drbd and lvm I think it's because LVM volumes don't get activated on start up automatically. If you do lvscan after restart, you'll see that all volumes are inactive. I don't know if there's any way to activate them automatically, but you can do: vgchange -ay Then you can use your DRBD. One more thing. If you want, you can write a small BASH script to do the initializations for DRBD and LVM and put it as part of your Linux startup programs... Hope this helps ________________________________ From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Hracek, Petr Sent: Wednesday, October 15, 2008 3:05 AM To: drbd-user at lists.linbit.com Subject: [DRBD-user] Problem with drbd and lvm Hello *, on my system I've partition which is called /DBS (used for database) I would like to activate DRBD with LVM for online replication. HDD-> LVM-> DRBD is layout of usage LVM together with DRBD Problem is that after restart drbd is not started automatically Output from /proc/drbd is: david:~ # cat /proc/drbd version: 0.7.22 (api:79/proto:74) SVN Revision: 2572 build by lmb at dale, 2006-10-25 18:17:21 0: cs:Unconfigured 1: cs:Unconfigured david:~ # Could you please help me what can I do? regards Petr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081016/9f8bc973/attachment.htm>