
sharpe at example
Jul 6, 2000, 2:58 AM
Post #1 of 2
(374 views)
Permalink
|
Hi Philipp, I am looking at using drbd at a site of mine where I have two SMP machines with the second backing up the first. I eventually will use Linux-HA with drbd and perhaps ReiserFS ... It all looks good. I wanted a simple command to allow me to see the current drbd config, and I thought that is easy, I will hack an ioctl into drbd that reads back the config and then I will modify drbdsetup to print the info out if you do: drbdsetup /dev/nb0 I have modified the driver and I get the config info back OK, but I find that I have a problem ... The lower device is recorded as the file descriptor of the caller, which appears to be irrelevant when drbdsetup runs again next time to list this stuff out. What I would like to do is modify the drbd_ioctl_struct or whatever to contain this info. I would then like to contribute back all my changes, and perhaps contribute a short how-to on using this tool. I will also fix up some English problems in the messages :-) Who should I contact on this? Are you happy to have me do this? Regards ------- Richard Sharpe, sharpe [at] example Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org) Co-author, SAMS Teach Yourself Samba in 24 Hours Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course Author: First Australian 2-day, intensive, hands-on Samba course
|