about – free_capacity_bytes

4 views
Skip to first unread message

fanbreeze

unread,
Nov 1, 2009, 9:43:41 PM11/1/09
to XtreemFS
If the space of one osd is lower than free_capacity_bytes, can I
think that a new file or a new replica will not be written in this
osd, but I can still read these data which are stored in this osd .

Jan Stender

unread,
Nov 2, 2009, 9:19:43 AM11/2/09
to xtre...@googlegroups.com
Hi,

> If the space of one osd is lower than free_capacity_bytes, can I
> think that a new file or a new replica will not be written in this
> osd, but I can still read these data which are stored in this osd .

The policy attribute only affects files and replicas that will be
created in the future. Any existing file can be read, and any
non-replicated file can be written, regardless of the attribute.

Best regards,
Jan

fanbreeze

unread,
Nov 3, 2009, 2:13:53 AM11/3/09
to XtreemFS
if one of osds' space is full, what will happen to xtreemfs

Jan Stender

unread,
Nov 3, 2009, 8:19:09 AM11/3/09
to xtre...@googlegroups.com
> if one of osds' space is full, what will happen to xtreemfs

Append-writes to a file are only possible as long as sufficient disk
space is available. If one OSD runs out of free space, you will probably
get an I/O error. One of the reasons for the 'free_capacity_bytes'
attribute is to mitigate this problem, as the attribute ensures that at
least newly created files won't consume any of the remaining disk space.

Best regards,
Jan

Reply all
Reply to author
Forward
0 new messages