[dm-devel] dm-devel Digest, Vol 175, Issue 9

Tommy Cumberland tcumberland77 at gmail.com
Wed Sep 12 21:03:16 UTC 2018


Hi I am very new to this and am trying to learn because I'm very interested
in this. Is there anyway someone would help someone like me. Thank you

On Wed, Sep 12, 2018, 12:01 PM <dm-devel-request at redhat.com> wrote:

> Send dm-devel mailing list submissions to
>         dm-devel at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.redhat.com/mailman/listinfo/dm-devel
> or, via email, send a message with subject or body 'help' to
>         dm-devel-request at redhat.com
>
> You can reach the person managing the list at
>         dm-devel-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of dm-devel digest..."
>
>
> Today's Topics:
>
>    1. Re: [PATCH] libmultipath: Increase SERIAL_SIZE to 256 bytes
>       (Martin Wilck)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 12 Sep 2018 15:36:02 +0200
> From: Martin Wilck <mwilck at suse.com>
> To: KyleMahlkuch <kmahlkuc at linux.vnet.ibm.com>, dm-devel at redhat.com
> Subject: Re: [dm-devel] [PATCH] libmultipath: Increase SERIAL_SIZE to
>         256 bytes
> Message-ID: <f9c5e7fbc2136573a098b8aed475ce4eb7c0bf2a.camel at suse.com>
> Content-Type: text/plain; charset="UTF-8"
>
> On Tue, 2018-08-28 at 16:34 -0500, KyleMahlkuch wrote:
> > Certain IBM FlashSystem LUNs can return up to 85 bytes of serial
> > number in the Unit Serial Number VPD page, which is larger than
> > the current SERIAL_SIZE definition of 65 bytes. Since the max
> > size of this field does not appear to be defined in SPC, increasing
> > to 256 bytes should hopefully prevent us from hitting this
> > in future.
> >
>
> I'm not against it, but would 128 be enough, too? That's what we use
> for WWID.
>
> > This is an example of a serial number from a FlashSystem:
> > Unit serial number VPD page:
> > Unit serial number:
> > 3321360050764008101AB300000000000012204214503IBMfcp
>
> $ echo 3321360050764008101AB300000000000012204214503IBMfcp | wc -c
> 52
>
> It looks as if 65 bytes would be sufficient for _this_ serial number.
> Is there excessive space padding at the end, maybe? Run
>
> sg_vpd -p sn -r $DEV | hexdump -C
>
> >
> > Before this patch multipath returns the error:
> > Jul 17 11:24:58 | vpd pg80 overflow, 85/65 bytes required
> >
> > After the patch is applied the error no longer occur.
> >
> > Signed-off-by: Kyle Mahlkuch <kmahlkuc at linux.vnet.ibm.com>
> > ---
> >  libmultipath/structs.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Thanks,
> Martin
>
> --
> Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
> SUSE Linux GmbH, GF: Felix Imend?rffer, Jane Smithard, Graham Norton
> HRB 21284 (AG N?rnberg)
>
>
>
>
> ------------------------------
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
> End of dm-devel Digest, Vol 175, Issue 9
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20180912/9025f640/attachment.htm>


More information about the dm-devel mailing list