Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2006-09-27 14:18:52 +0100 \ Mark Olliver: > Hi All, > > > > I stopped my primary device last night and turned it off, then made the > secondary device primary. After which I mounted as normal and started using > it. > > This morning I noticed that something went wrong over night and I had lots > of file corruptions. Upon checking the logs I found the message bellow: > > > > Sep 27 01:04:48 ie-openvz1 kernel: attempt to access beyond end of device > > Sep 27 01:04:48 ie-openvz1 kernel: drbd0: rw=0, want=2148540848, > limit=533449216 it is just an educated guess, but: you created your file system on the lower level device. you put drbd on top of that, using "meta-disk internal". you did not shrink your file system before that. oops. recover: secondary# heartbeat stop primary# heartbeat stop verify drbd is Secondary/Secondary both# drbdadm down all verify drbd is Unconfigured good-data# fsck /dev/lower-level shrink the file system. good-date# "whatever-resize" /dev/lower-level minus-130MB both# start drbd. other-node# drbdadm invalidate all wait for full sync both# start heartbeat. or, since you are in openvz, maybe you just want to redeploy? -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.