2 Jul 2007 08:41
RE: create metadata from DMRAID
Fang, Ying <ying.fang <at> intel.com>
2007-07-02 06:41:34 GMT
2007-07-02 06:41:34 GMT
>> 2. A metadata handler needs build metadata based on several data such as >> raid set name, raid level, size, etc. Can they be carried into as a >> string argument or a field in "struct lib_context"? It's possible to >> build disk sets, raid device sets, and raid set sets too. > >No, a create_set() function needs adding to the library, which can >be called with a struct holding the respective parameters and lists of >devices involved. > >That function will derive properties of raid_dev arguments >for the metadata format handler .create method. > >commands.[ch] need the respective extensions to support >the "-C/--create" command line option. > >> 3. Can I design my own option format to create metadata by DMRAID such >> as:"dmraid -ms isw_xxxxxx_raidSet1" (d and D have been used.) to delete >> a raid set and "dmraid -f isw -w "isw_xxxx_raidNewSet device-mapper >> format" where device-mapper format is "0 1028160 striped 2 256 /dev/sdb >> 0 /dev/sdc 0". But I have trouble for nested raid setup and try to use >> raid10 or raid51 to identify it. > >To create a RAID set: >dmraid -C isw_xxxxxx_raidSet1 [--layout LAYOUT] [--size X[kmgt]] >[DevicePath...](Continue reading)
RSS Feed