geom stripe/concat metadata suggestion

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Aug 9 04:33:24 PDT 2004


On Fri, Aug 06, 2004 at 09:38:21PM +1000, Sam Lawrance wrote:
+> Would it be a good idea to store the device name, or something similar,
+> in the metadata?
+> 
+> For example, if I have a disk divided like this:
+> 
+>  |--------------ad0--------------|
+>  |-------------ad0s1-------------|
+>  |----ad0s1g-----|-----ad0s1d----|
+> 
+> The metadata is written into the last sector, so when the stripe/concat
+> classes are tasting they can't work out whether it belongs to ad0s1d,
+> ad0s1 or ad0.
+> 
+> I've had problems creating stripes and concats with this configuration.

I added '-h' option for 'label' command in gconcat(8), gstripe(8) and
gmirror(8), which hardcode providers' names into metadata.

Thank you.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040809/2ca176fc/attachment.bin


More information about the freebsd-current mailing list