Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On two Centos 5.2 (2.6.18-92.1.10.el5) servers, I did the following: created logical partition /dev/sda5 created PV, volume group VG01, and logical volume LV01 created drbd resource with the following options: device /dev/drbd0; disk /dev/vg01/lv01; This worked fine. Server 1 is now primary, server 2 is secondary, both are up to date. When trying to prepare my DRBD resource for use as a PV, I issued the command: pvcreate /dev/drbd0 And got: Failed to write physical volume "/dev/drbd0" I ran: parted -l And got: Number Start End Size Type File system Flags 1 32.3kB 83.9GB 83.9GB primary ext3 2 83.9GB 92.5GB 8587MB primary linux-swap 3 92.5GB 92.6GB 123MB primary ext3 boot 4 92.6GB 1198GB 1105GB extended lba 5 92.6GB 1198GB 1105GB logical Error: Unable to open /dev/md0 - unrecognised disk label. I ran fdisk, looked at the partition tables, and quit without saving changes. Then I tried parted again and got: Number Start End Size Type File system Flags 1 32.3kB 83.9GB 83.9GB primary ext3 2 83.9GB 92.5GB 8587MB primary linux-swap 3 92.5GB 92.6GB 123MB primary ext3 boot 4 92.6GB 1198GB 1105GB extended lba 5 92.6GB 1198GB 1105GB logical Error: Unable to open /dev/drbd0 - unrecognised disk label. Error: Unable to open /dev/md0 - unrecognised disk label. NOTE: Now there's two unrocognized disk labels, one of which is drbd0. So then I tried the command again: pvcreate /dev/drbd0 And got: Physical volume "/dev/drbd0" successfully created What the heck? -- Eric Robinson Director of Information Technology Physician Select Management, LLC 775.885.2211 x 111 Disclaimer - October 12, 2008 This email and any files transmitted with it are confidential and intended solely for drbd-user at lists.linbit.com. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of . Warning: Although has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. This disclaimer was added by Policy Patrol: http://www.policypatrol.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081012/99424e63/attachment.htm>