Hi.<div><br></div><div>I have my DRBD device setup with:</div><div><br></div><div><div>resource dirvish01-data {</div><div> device /dev/drbd11;</div><div> disk /dev/datavg/dirvish01-data;</div><div> flexible-meta-disk internal;</div>
<div><br></div><div>on [insert "on" clauses"]</div><div>}</div><div><br></div><div>I added 20GB to the LVM LV with:</div><div><br></div><div> lvextend -L +20G /dev/datavg/dirvish01-data</div><div><br></div>
<div>on both hosts. On the primary host:</div><div><br></div><div> drbdadm adjust dirvish01-data</div><div><br></div><div>Then, I mounted /dev/drbd11 on /mnt and did:</div><div><br></div><div> xfs_growfs /mnt</div><div>
<br></div><div>First problem: The xfs_growfs only grew the filesystem by about 10GB, not the full 20GB.</div><div><br></div><div>Second problem: Upon doing a "drbdadm down dirvish01-data ; drbdadm up dirvish01-data", I get:</div>
<div><br></div><div><div>/dev/drbd11: Failure: (119) No valid meta-data signature found.</div><div><br></div><div> ==> Use 'drbdadm create-md res' to initialize meta-data area. <==</div><div><br></div>
<div>Command 'drbdsetup /dev/drbd11 disk /dev/datavg/dirvish01-data /dev/datavg/dirvish01-data internal --set-defaults --create-device --on-io-error=detach' terminated with exit code 10</div><div><br></div><div>Obviously, this is bad ... Now I can't start my device and get access to my data.</div>
<div><br></div><div>This is on Ubuntu 8.04LTS (Hardy) with kernel 2.6.18.8-xen-x64-20080924 (custom build, but growing the DRBD devices has worked previously). DRBD version version: 8.2.6 (api:88/proto:86-88) GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root@xen-80-31-00, 2008-09-25 01:10:05.</div>
<div><br></div><div>How can I convince DRBD to get my data back? I was under the impression that the "flexible-meta-disk internal" would handle the "drbdadm adjust" properly. Doing the suggested "drbdadm create-md dirvish01-data" indicates I will loose my data, so I have not run that command as of yet.</div>
<div><br></div><div>Thanks,</div><div>Sam</div></div></div>