[lustre-discuss] What happens if my stripe count is set to more than my number of stripes

Michael Kluge michael.kluge at tu-dresden.de
Mon Apr 20 10:43:40 PDT 2015


Hi Oleg,

I tried it and looks like it actually stores the 128 stripe size (at 
least for dirs). lfs getstripe tells me that my dir is now striped over 
128 OSTs (I have 48).

[/scratch/mkluge] lctl dl | grep osc | wc -l
48
[/scratch/mkluge] mkdir  p
[/scratch/mkluge] lfs setstripe -c 128 p
[/scratch/mkluge] lfs getstripe p
p
stripe_count:   128 stripe_size:    1048576 stripe_offset:  -1


Regards, Michael

Am 20.04.2015 um 18:44 schrieb Drokin, Oleg:
> Hello!
>
> Current allocator behaviour is such that when you specify more
> stripes than you have OSTs, it'll treat it the same as if you set
> stripe count to -1 (that is - the maximum possible stripes).
>
> Bye, Oleg On Apr 20, 2015, at 4:47 AM, <Prakrati.Agrawal at shell.com>
> <Prakrati.Agrawal at shell.com> wrote:
>
>> Hi,
>>
>> I have a doubt regarding Lustre file system. If I have a file of
>> size 64 GB and I set stripe size to 1GB, my number of stripes
>> become 64. But if I set my stripe count as 128, what does the
>> Lustre do in that case?
>>
>> Thanks and Regards, Prakrati
>> _______________________________________________ lustre-discuss
>> mailing list lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
> _______________________________________________ lustre-discuss
> mailing list lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5117 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20150420/9b5a99ee/attachment-0001.bin>


More information about the lustre-discuss mailing list