Skip to contentSkip to conversation

reserved blocks pool default size

DISCUSSION Łukasz Oleś 3 participants 3 messages Jan 27, 2012 – Jan 29, 2012

lore
Share & tools
lore
#0 lore raw

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ś

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 6 lines · ??ukasz Ole??

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.

Quoted 8 lines

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
In reply to Łukasz Oleś
Quoted 6 lines · Łukasz Oleś

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.

Quoted 8 lines

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.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs