Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> Original Message -----
> From: "glennv" <apnea at glennvenghaus.com>
> To: drbd-user at lists.linbit.com
> Sent: Thursday, November 10, 2011 10:40:23 AM
> Subject: Re: [DRBD-user] mkfs on /dev/drbd0 crashes host
>
>
>
> Andreas Kurz-3 wrote:
> >
> > On 11/10/2011 08:49 AM, glennv wrote:
> >>
> >> Dear drbd experts,
> >>
> >> Please some help for a newbie. Checked the complete internet and
> >> found
> >> only
> >> one similar post but without any solution or hints.
> >>
> >> 2 Linux 32bits server nodes 11.10 (in VMware Fusion)
> >> A 30GB device setup on both nodes and initial sync is fine. Can
> >> switch
> >> from
> >> primary to secondary etc.
> >> But the moment i want to create a filesystem on the primary
> >> (mkfs.ext3
> >> /dev/drdb0) the node crashes every time half way in the mkfs.
> >>
> >> Any ideas/ hints ?
> >
> > drbd version+config? kernel version? kernel logs? ... any
> > information?
> >
> > Regards,
> > Andreas
> >
> > --
> > Need help with DRBD?
> > http://www.hastexo.com/now
> >
> >
> >
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
> >
>
> Some more info. Nothing on the console or in any logs as the server
> freezes
> in its track. Nothing in dmesg/system/kern logs. Have to reboot the
> (virtual) machine.
>
> drbd : 8.3.11 (api:88/proto 86-96)
> Kernel : 20-Ubuntu SMP Fri Oct 7, 3.0.0-12-generic-pae
> Pacemaker 1.1.5
> Heartbeat 3.0.5
>
> Config :
>
> root at tc-clust-node1:/etc# cat drbd.conf
> ## generated by drbd-gui
>
> include "drbd.d/global_common.conf";
> include "drbd.d/*.res";
> root at tc-clust-node1:/etc# cat drbd.d/global_common.conf
> ## generated by drbd-gui
>
> global {
> usage-count yes;
> }
>
> common {
> startup {
> degr-wfc-timeout 0;
> }
>
> net {
> cram-hmac-alg sha1;
> shared-secret MVK8JXspPUMMUIgQjfPIApzRGRfCAYxF;
> }
>
> disk {
> on-io-error detach;
> }
>
> }
> root at tc-clust-node1:/etc# cat drbd.d/*.res
> resource r0 {
> protocol C;
>
> syncer {
> rate 20M;
> }
>
> on tc-clust-node1 {
> device /dev/drbd0;
> disk /dev/sdb1;
> flexible-meta-disk internal;
> address 10.10.10.20:7788;
> }
> on tc-clust-node2 {
> device /dev/drbd0;
> disk /dev/sdb;
Maybe just a typo but are you missing the partition number of the disk on node2? Should be something like /dev/sdb1?
> flexible-meta-disk internal;
> address 10.10.10.21:7788;
> }
> }
>
>
>
>
> Freeze moment info :
>
> # mkfs.ext4 /dev/drbd0
> mke2fs 1.41.14 (22-Dec-2010)
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> Stride=0 blocks, Stripe width=0 blocks
> 1525920 inodes, 6103319 blocks
> 305165 blocks (5.00%) reserved for the super user
> First data block=0
> Maximum filesystem blocks=0
> 187 block groups
> 32768 blocks per group, 32768 fragments per group
> 8160 inodes per group
> Superblock backups stored on blocks:
> 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
> 2654208,
> 4096000
>
> Writing inode tables: done
> Creating journal (32768 blocks): done
> Writing superblocks and filesystem accounting information:
>
> (server crash at this last line)
>
>
>
> --
> View this message in context:
> http://old.nabble.com/mkfs-on--dev-drbd0-crashes-host-tp32816720p32819473.html
> Sent from the DRBD - User mailing list archive at Nabble.com.
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
Jake