[Ocfs2-tools-devel] [PATCH 0/7] Ocfs2-tools: Add new tool[o2info] to ocfs2-tools: V1.

Tristan tristan.ye at oracle.com
Fri Nov 27 01:07:41 PST 2009


V1 version is a very much preliminary implementation, It fulfill 2 
options from design doc.

1. --volfino
2. --fs-features

It used newly-added ioctls in ocfs2 to gather filesys info from 
none-privileged end-user in a mounted case,
while it also support super user to use libocfs2 to access the same 
info, as in,

#o2info --fs-features /dev/sdax

#o2info --fs-features /storage

Above 2 methods dump the same info we requested.

I posted the patches to get it reviewed early though only 2 options get 
finished.


Regards,
Tristan.

Tristan wrote:
> Hi all,
>
> Inspired by extN's e2freefrag tool, we're going to add a new tool to 
> provide some important information to users which missed from our early 
> ocfs2-tools:
> such as global bitmap free space fragmentation , free inode info, new 
> extended inode information etc. The information it shows should be 
> comprehensive and integrated enough to cover most of the infos in ocfs2 fs.
>
> Refer to http://oss.oracle.com/osswiki/OCFS2/ToolsTasksList for more 
> details.
>
> The v1 implementation is essentially a draft which built a raw framework 
> of the tool ,then implement several operations(such as volinfo, 
> fs-features and filestat), and I do want it get reviewed early before 
> all operations completed.
>
> One of our goals is to modularize the code and make it scalable enough 
> to add new operations.
>
> Work-in-progress:
>
> 1. operations for --freefrag and --freeinode.
>
> 2. o2info.8.in manual file.
>
>
> Regards,
> Tristan.
>
>
>
>
> _______________________________________________
> Ocfs2-tools-devel mailing list
> Ocfs2-tools-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel
>   




More information about the Ocfs2-tools-devel mailing list