[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-discuss
Subject:    [lustre-discuss] What happens if my stripe count is set to more than my number of stripes
From:       oleg.drokin () intel ! com (Drokin, Oleg)
Date:       2015-04-20 18:25:49
Message-ID: B201E88D-3A71-4FDE-A3CB-770915C6966F () intel ! com
[Download RAW message or body]

Hello!

   The allocator is not really playing it's role just yet, this is just code that \
stores your desired striping in the directory for later use.  But if you call into \
allocator (at file creation time) with these parameters, it would just assume you \
want all your current OSTs and that's it.

Bye,
    Oleg
On Apr 20, 2015, at 1:43 PM, Michael Kluge wrote:

> 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
> > 
> 
> 
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic