Hi, Ulrich > 1) how big must the block device (partition) used for SFEX be?
Usually, 1MByte is enough. It depends on how many resource groups are under the control of sfex. Size of the sfex partition is calculated by the following formula. (sfex control data) + (sfex lock data) * (number of resource groups) (sfex control data) and (sfex lock data) size is depends on blocksize of the your block device.(Default 512Bytes) For example, If you have 10 resource groups under control of sfex, then (512Bytes) + (512Bytes) * 10 = 5.5KBytes is minimum required. > 2) Is there a better documentation that the usage summary?: > # sfex_init -h > usage: sfex_init [-n<numlocks>]<device> > # sfex_stat -h > usage: sfex_stat [-i<index>]<device> More detailed usage is written in the following README. (Chapter 3.2.2 sfex_init and 3.2.3 sfex_stat) https://github.com/ClusterLabs/resource-agents/blob/master/tools/README.sfex This readme written for sfex-1.3(not for sfex_daemon), but sfex_init and sfex_stat usage are not changed. > 3) If I want to protect an MD-RAID1, would it work if I partition the leg > devices, put SFEX data in those partitions, and then require both SFEX > resources before assembling the raid? > > Something like: group raid sfex_1 sfex_2 md_raid ... No. You don't put SFEX data in raid partitions. Make a sfex partition individually on the shared storage that can be accessible from Active and Standby node. And grouping one sfex resource and md_raid resources. group raid sfex_1 md_raid ... Best Regards, NAKAHIRA Kazutomo (2011/05/18 23:20), Ulrich Windl wrote: > Sorry, this bounced due to a typo in the address: > >>>> "Ulrich Windl"<[email protected]> schrieb am 18.05.2011 um > 16:04 in Nachricht<4DD3D1DE.D17 : 150 : 19735>: >> Hi! >> >> I have some SFEX questions: >> >> 1) how big must the block device (partition) used for SFEX be? >> >> 2) Is there a better documentation that the usage summary?: >> # sfex_init -h >> usage: sfex_init [-n<numlocks>]<device> >> # sfex_stat -h >> usage: sfex_stat [-i<index>]<device> >> >> 3) If I want to protect an MD-RAID1, would it work if I partition the leg >> devices, put SFEX data in those partitions, and then require both SFEX >> resources before assembling the raid? >> >> Something like: group raid sfex_1 sfex_2 md_raid ... >> >> Regards, >> Ulrich > > > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > -- NAKAHIRA Kazutomo Infrastructure Software Technology Unit NTT Open Source Software Center _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
