[Ocfs2-users] indexed tree failed while enable indexed-dirs

Florin Andrei florin at andrei.myip.org
Mon Oct 17 12:28:19 PDT 2011


OCFS2 1.6

tunefs.ocfs2 -v --fs-features 
backup-super,discontig-bg,sparse,inline-data,unwritten,indexed-dirs ${vol}

Enabling feature "sparse_files"
Enabling feature "backup_super"
Enabling feature "unwritten_extents"
Enabling feature "inline_data"
Enabling feature "indexed_dirs"
Enabling feature "discontig_bg"
Sat Oct 15 18:28:14 PDT 2011
Sat Oct 15 18:33:14 PDT 2011
Sat Oct 15 18:38:14 PDT 2011
Sat Oct 15 18:43:14 PDT 2011
Backup superblock feature is already enabled; nothing to enable
tunefs.ocfs2: Build directory indexed tree failed while enable indexed-dirs
tunefs.ocfs2: Build directory indexed tree failed while building indexed 
trees

But, strangely, indexed-dirs is reported as enabled, whereas 
discontig-bg, which did not send any warning, is not:

tunefs.ocfs2 -Q "Compat: %M\nIncompat: %H\nRO Compat: %O\n" ${vol}
Compat: backup-super
Incompat: sparse inline-data indexed-dirs
RO Compat: unwritten

On the same volume, I re-run the same command without indexed-dirs. This 
was the output:

tunefs.ocfs2 -v --fs-features 
backup-super,discontig-bg,sparse,inline-data,unwritten ${vol}
Enabling feature "sparse_files"
Enabling feature "backup_super"
Enabling feature "unwritten_extents"
Enabling feature "inline_data"
Enabling feature "discontig_bg"
Sparse file feature is already enabled; nothing to enable Backup 
superblock feature is already enabled; nothing to enable Unwritten 
extents feature is already enabled; nothing to enable The inline data 
feature is already enabled; nothing to enable

And here's the status report:

Compat: backup-super
Incompat: sparse inline-data indexed-dirs discontig-bg
RO Compat: unwritten

indexed-dirs is still reported even though it was not included in the 
last reconfig command, and discontig-bg is finally enabled.

Could someone help me make sense out of this? Was indexed-dirs enabled 
the first time around, even though it reported failure? Why was 
discontig-bg not enabled the first time, yet it did not report anything 
wrong? And then, second attempt, why indexed-dirs remained "enabled" 
even though I did not specify it? And is it truly enabled now?

-- 
Florin Andrei
http://florin.myip.org/



More information about the Ocfs2-users mailing list