Re: create metadata from DMRAID

"Darrick J. Wong" <[email protected]>
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
On Mon, Jul 02, 2007 at 11:23:08AM -0700, Kulkarni, Sunil A wrote:
> Is .write being used by any format handlers currently ? If .write is
> used to write the complete metadata, then it can be used to create the
> metadata also, right ? 

Last time I looked, the asr handler uses .write when reconfiguring
RAID1 sets.

And no, create should be in its own function because writing and
creating are orthogonal operations--create happens once; write happens
any time you reconfigure the array.

> Also, instead of 'dmraid -C isw_xxxxxx_raidSet1 .....'
> How about  'dmraid -C VolumeName ...'
> And then isw can prepend isw_xxxxxx to the volume name to make
> isw_xxxxx_VolumeName
> This way, different format handlers can make up their own string and one
> need not give isw specific string from the command line (since isw_xxxxx
> is generated internally by isw anyway).

How do you specify which handler format you want?  Separate switch, or
embedded in the volume name?  Also, some raids let you specify a
volumename; others only provide for a bunch of hex numbers.

--D

_______________________________________________
Ataraid-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ataraid-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGiU+Wa6vRYYgWQuURAkQNAJ9uFRX5q0P/aKnl9rRuzoLxjYAFlQCfciqn
Vc2CtxP4fwEsc5r0qxN/loo=
=6bPh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.