Skip to contentSkip to conversation

reserved space

DISCUSSION Gergely Gábor 2 participants 2 messages Jan 15, 2008 – Jan 16, 2008 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hello!

i'm migrating to nilfs on one of my machjines right now, and when I was creating the filesystem, i met an option of mkfs.nilfs, "-m" that controls the reserved segment percentage. can this amount be adjusted later? this space is virtually lost, as this is kept always free for the GC to be able to work?

My 2nd question is: what is /usr/bin/lssu supposewd to do?

Thanks: Gábor Gergely

Signature · 5 lines
Gergely Gábor <[email protected]>

 * random fortune:
If he should ever change his faith, it'll be because he no longer thinks
he's God.

_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

#1 lore raw

Hi!

Quoted 6 lines · Gergely Gábor

Hello!

i'm migrating to nilfs on one of my machjines right now, and when I was creating the filesystem, i met an option of mkfs.nilfs, "-m" that controls the reserved segment percentage. can this amount be adjusted later? this space is virtually lost, as this is kept always free for the GC to be able to work?

Thanks for your interest.

As you mentioned, the -m option of mkfs.nilfs2 is to set a ratio of reserved disk space primary for the GC.
To be precise, it works as a margin rather than a fixed work space for the GC.

In this meaning, it is similar to those of ordinary Unix filesystems including ext3 and others; it makes previledged or removal operations possible in near disk full conditions.

Unfortunately, it cannot be adjusted later at this point. (The tool like "tune.nilfs2" that changes parameters written in a
superblock, is not yet implemented.)

Quoted 1 line

My 2nd question is: what is /usr/bin/lssu supposewd to do?

lssu is an administrative tool to display usage state of segments. In nilfs, disk space is divided into multiple segments with an equal size. (We call them "full segments" for convenience).

Each line in lssu output corresponds to a (full) segment, and shows its index number, state, usage, and a last modified time.

Usually you don't have to use the tool, but it is convenient to view broadly how the disk space is used as a log.

Enjoy,

Signature · 3 lines
Ryusuke Konishi
NILFS team NTT
http://www.nilfs.org/