public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* reserved blocks pool default size
@ 2012-01-27 11:02 Łukasz Oleś
  2012-01-27 11:40 ` Christoph Hellwig
  2012-01-29 22:20 ` Dave Chinner
  0 siblings, 2 replies; 3+ messages in thread
From: Łukasz Oleś @ 2012-01-27 11:02 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 647 bytes --]

Hi,

I updated kernel from 2.6.27 to 2.6.35 and noticed that free size on my 
xfs volume changed. Before update there was 7MB free space, now there is 
none.

After some investigation I found that default size for reserved block 
pool changed [1].
On this volume I have one very big file which is exported as iSCSI disk 
via SCST and one small configuration file. The big file size will never 
change. Small file size can change only by some KB.

With this assumptions, can I revert this change and set reserved blocks 
pool size to 1024 blocks?

[1]. http://kerneltrap.org/mailarchive/git-commits-head/2010/3/6/28671

Reagards,

--
Łukasz Oleś

[-- Attachment #1.2: Type: text/html, Size: 1106 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: reserved blocks pool default size
  2012-01-27 11:02 reserved blocks pool default size Łukasz Oleś
@ 2012-01-27 11:40 ` Christoph Hellwig
  2012-01-29 22:20 ` Dave Chinner
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2012-01-27 11:40 UTC (permalink / raw)
  To: ??ukasz Ole??; +Cc: xfs

On Fri, Jan 27, 2012 at 12:02:22PM +0100, ??ukasz Ole?? wrote:
> Hi,
> 
> I updated kernel from 2.6.27 to 2.6.35 and noticed that free size on
> my xfs volume changed. Before update there was 7MB free space, now
> there is none.
> 
> After some investigation I found that default size for reserved
> block pool changed [1].
> On this volume I have one very big file which is exported as iSCSI
> disk via SCST and one small configuration file. The big file size
> will never change. Small file size can change only by some KB.
> 
> With this assumptions, can I revert this change and set reserved
> blocks pool size to 1024 blocks?

If it worked fine for your workload before it should work fine with
newer kernels, too.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: reserved blocks pool default size
  2012-01-27 11:02 reserved blocks pool default size Łukasz Oleś
  2012-01-27 11:40 ` Christoph Hellwig
@ 2012-01-29 22:20 ` Dave Chinner
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2012-01-29 22:20 UTC (permalink / raw)
  To: Łukasz Oleś; +Cc: xfs

On Fri, Jan 27, 2012 at 12:02:22PM +0100, Łukasz Oleś wrote:
> Hi,
> 
> I updated kernel from 2.6.27 to 2.6.35 and noticed that free size on
> my xfs volume changed. Before update there was 7MB free space, now
> there is none.
> 
> After some investigation I found that default size for reserved
> block pool changed [1].
> On this volume I have one very big file which is exported as iSCSI
> disk via SCST and one small configuration file. The big file size
> will never change. Small file size can change only by some KB.
> 
> With this assumptions, can I revert this change and set reserved
> blocks pool size to 1024 blocks?

xfs_io -c "resblks 1024" <mntpt/one-very-big-file>

after the filesystem is mounted will set the reserve block pool back
to the 1024 blocks you had before.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-29 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 11:02 reserved blocks pool default size Łukasz Oleś
2012-01-27 11:40 ` Christoph Hellwig
2012-01-29 22:20 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox