Skip to contentSkip to conversation

lscp - what's NBLKINC and ICNT? (and the i FLG)

DISCUSSION Piotr Szymaniak 2 participants 3 messages Aug 23, 2011 – Aug 25, 2011 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hi.

I just started (~2 weeks ago) to use nilfs2 on my / and i'm missing some information about those last two attritubes of lscp. Looking back at the list it seems that the first one (NBLKINC) is changed blocks between checkpoints, but i'm unable to find what's the last one (ICNT).

wloczykij ~ # lscp

            CNO        DATE     TIME  MODE  FLG   NBLKINC       ICNT
          27193  2011-08-19 15:25:38   cp    -         87      37613
          27194  2011-08-19 15:27:39   cp    -         20      37612
          27195  2011-08-19 15:30:09   cp    -         58      37615
          27196  2011-08-19 15:32:09   cp    -         38      37612

(...)

Some checkpoints also are marked with "i" FLG. I think this also was answered on the list before, but i cant dig the answer.

Is there some doc on nilfs homepage about those attributes that i'm missing? (or man?) I would appreciate if someone could point me to some answers. Thanks. (-:

Piotr Szymaniak.

Signature · 5 lines
 - Żona? Idź się pan leczyć!
 - A żona, gnido. Twoja pewnie trzyma cię za pysk, gdera, psuje krew i 
to ty, frajerze, wkrótce będziesz musiał się leczyć. A moja jest z gumy 
i nic nie mówi.
  -- Andrzej Stępniewski, "Ojciec"
#1 lore raw

Hi,

Quoted 6 lines · Piotr Szymaniak

Hi.

I just started (~2 weeks ago) to use nilfs2 on my / and i'm missing some information about those last two attritubes of lscp. Looking back at the list it seems that the first one (NBLKINC) is changed blocks between checkpoints, but i'm unable to find what's the last one (ICNT).

ICNT field shows the number of inodes existing in the filesystem.

Quoted 10 lines

wloczykij ~ # lscp

            CNO        DATE     TIME  MODE  FLG   NBLKINC       ICNT
          27193  2011-08-19 15:25:38   cp    -         87      37613
          27194  2011-08-19 15:27:39   cp    -         20      37612
          27195  2011-08-19 15:30:09   cp    -         58      37615
          27196  2011-08-19 15:32:09   cp    -         38      37612

(...)

Some checkpoints also are marked with "i" FLG. I think this also was answered on the list before, but i cant dig the answer.

This flag shows that the checkpoint was created by a garbage collection or some kind of metadata change (usually snapshot operation).

Quoted 5 lines

Is there some doc on nilfs homepage about those attributes that i'm missing? (or man?) I would appreciate if someone could point me to some answers. Thanks. (-:

Piotr Szymaniak.

Yes, try "man lscp".

If the man page is deficient or confusing for you, then it should be rewritten well :)

Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 7 lines · Ryusuke Konishi
Quoted 5 lines

Is there some doc on nilfs homepage about those attributes that i'm missing? (or man?) I would appreciate if someone could point me to some answers. Thanks. (-:

Piotr Szymaniak.

Yes, try "man lscp".

Doh! Thanks a lot! I even tried to find this in Linux nilfs documentation... don't know how i missed that manpage.

Piotr Szymaniak.

Signature · 2 lines
Stajesz sie odpowiedzialny na zawsze za to, co oswoiles.
  -- Antoine De Saint-Exupery, "Le Petit Prince"