Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mfsmetadump(8)		    This is part of MooseFS		mfsmetadump(8)

NAME
       mfsmetadump - dump MooseFS metadata info	in human readable format

SYNOPSIS
       mfsmetadump [-d]	[-s section_name] metadata_file

DESCRIPTION
       mfsmetadump dumps MooseFS metadata info in human	readable format.  Out-
       put consists of several sections	with different types  of  information.
       Every section consist of	header data - rows starting with hash (#) sign
       - and content data (may be empty). If option -s is specified then  only
       given  section  of  the	file will be dumped. If	option -d is specified
       then all	non-printable characters (codes	< 32 and > 126)	 are  replaced
       with '.'	(it was	default	behaviour in version < 3.0.110).

FILE HEADER
       header		   MooseFS version

       version		   metadata file version

       fileid		   metadata file id

SECTION	HEADER
       section header	   section header (section type	+ version)

       length		   length of section

       section type	   name	of section

       version		   hexadecimal representation of section version

SESS SECTION
       nextsessionid	   first free session id

       statscount	   number of stats remembered in each session

       SESSION	 line describing a single session

		 s	session	id

		 p	IP address

		 r	root inode number

		 f	session	flags

		 g	mingoal	and maxgoal

		 t	mintrashtime and maxtrashtime

		 m	maproot	uid,gid	and mapall uid,gid

		 d	disconnection time (optional)

		 c	current	hour stats data

		 l	last hour stats	data

		 i	session	name (usually local mount point)

LABELS SECTION
       section header	   section header (section type	+ version)

       length		   length of section

       section type	   name	of section (always LABS	for labels)

       version		   hexadecimal representation of section version

       LABELDESC line with label description

		 l	label letter

		 n	label description

       LABELSET	line with one labels set used in system

		 #	labelset number

		 m	creation mode

		 d	arch delay

		 c	create labels

		 k	keep labels

		 a	archive	labels

NODES SECTION
       maxinode		   maximum inode number	used by	system

       hashelements	   number of inodes in hash tabble

       NODE	 line with node	(inode)	description

		 k	node type (-,D,S,F,B,C,L,T,R)

			-      file

			D      directory

			S      socket

			F      fifo

			B      block device

			C      character device

			L      symbolic	link

			T      trash file

			R      sustained file (removed open file)

		 i	inode number

		 #	labelset number	(10+) or goal (1-9)

		 e	flags

		 m	mode

		 u	uid

		 g	gid

		 a,m,c	atime, mtime and ctime timestamps

		 t	trashtime

		 d	rdevhi,rdevlo (only block and character	devices)

		 p	path (only symbolic links)

		 l	file length (only files)

		 c	chunk list (only files)

		 r	sessions that have this	file open (only	files)

EDGES SECTION
       nextedgeid	   next	available edge id (descending)

       EDGE	 line with edge	description

		 p	parent inode number

		 c	child inode number

		 i	edge id

		 n	edge name

FREE SECTION
       free nodes	   number of free (reusable) nodes

       FREEID	 line with free	inode description

		 i	inode number

		 f	deletion timestamp

QUOTA SECTION
       quota nodes	   number of nodes with	quota

       QUOTA	 line with quota description

		 i	inode number

		 g	grace period

		 e	exceeded

		 f	flags

		 s	soft quota exceeded timestamp

		 si	soft inode quota

		 hi	hard inode quota

		 sl	soft length quota

		 hl	hard length quota

		 ss	soft size quota

		 hs	hard size quota

		 sr	soft real size quota

		 hr	hard real size quota

XATR SECTION
       XATTR	 line with xattr description

		 i	inode number

		 n	xattr name

		 v	xattr value

POSIX ACL SECTION
       POSIXACL	 line with acl description

		 i	inode number

		 t	acl type

		 u	user (file owner) permissions

		 g	group permissions

		 o	other permissions

		 m	permission mask

		 n	named permissions - list of objects:

			u(U):P permissions P for user with uid U

			g(G):P permissions P for group with gid	G

OPEN SECTION
       OPENFILE	 line with open	file description

		 s	session	id

		 i	inode number

FLOCK SECTION
       FLOCK	 line with flock-lock description

		 i	inode number

		 s	session	id

		 o	lock owner (FUSE lock owner)

		 t	lock type ('R' - shared	lock, 'W' - exclusive lock)

POSIX LOCK SECTION
       POSIXLOCK line with posix-lock description

		 i	inode number

		 s	session	id

		 o	lock owner (FUSE lock owner)

		 p	local process id (owner	pid)

		 r	lock range in format <START,END)

		 t	lock type ('R' - shared	lock, 'W' - exclusive lock)

CHUNKSERVERS SECTION
       chunk servers	   number of chunkservers

       CHUNCKSERVER
		 line with chunk server	description

		 i	server ip

		 p	server port

		 #	server id

		 m	maintenance mode

CHUNKS SECTION
       nextchunkid	   first available chunk number

       CHUNK	 line with chunk description

		 i	chunk number

		 v	chunk version

		 t	"locked	to" timestamp

		 a	archive	flag

REPORTING BUGS
       Report bugs to <bugs@moosefs.com>.

COPYRIGHT
       Copyright (C) 2020 Jakub	Kruszona-Zawadzki, Core	Technology Sp. z o.o.

       This file is part of MooseFS.

       MooseFS	is free	software; you can redistribute it and/or modify	it un-
       der the terms of	the GNU	General	Public License	as  published  by  the
       Free Software Foundation, version 2 (only).

       MooseFS	is distributed in the hope that	it will	be useful, but WITHOUT
       ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY  or
       FITNESS	FOR  A	PARTICULAR PURPOSE. See	the GNU	General	Public License
       for more	details.

       You should have received	a copy of the GNU General Public License along
       with  MooseFS;  if not, write to	the Free Software Foundation, Inc., 51
       Franklin	 St,  Fifth  Floor,  Boston,  MA  02111-1301,  USA  or	 visit
       http://www.gnu.org/licenses/gpl-2.0.html

SEE ALSO
       mfsmaster(8)

MooseFS	3.0.113-1		   May 2020			mfsmetadump(8)

NAME | SYNOPSIS | DESCRIPTION | FILE HEADER | SECTION HEADER | SESS SECTION | LABELS SECTION | NODES SECTION | EDGES SECTION | FREE SECTION | QUOTA SECTION | XATR SECTION | POSIX ACL SECTION | OPEN SECTION | FLOCK SECTION | POSIX LOCK SECTION | CHUNKSERVERS SECTION | CHUNKS SECTION | REPORTING BUGS | COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mfsmetadump&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help