VOLINFO(8)

πŸ’– volinfo(8) β€” bestie edition πŸ’–

okay so real talk, this is volinfo from the AFS Command Reference, and it is the tool for peeking inside volume headers. no cap.


✨ NAME ✨

volinfo β€” produces detailed statistics about AFS volume headers πŸŽ€


🌸 SYNOPSIS 🌸

volinfo [-checkout] [-vnode] [-date] [-inode] [-itime]
    [-part <AFS partition name (default current partition)>+]
    [-volumeid <volume id>+] [-header] [-sizeonly]
    [-fixheader] [-saveinodes] [-orphaned] [-filenames] [-help]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: volinfo displays detailed statistics about one or more volume headers and the partition that houses them. πŸ’…

big important thing bestie β€” this command must be issued on a file server machine. periodt. and by default? it goes feral and produces output for every volume on every AFS server partition on the machine. every single one. it's giving overachiever.

want it to chill out and only do one partition? include the -part argument. want it to do literally one volume? include the -volumeid argument. slay.


πŸ’… OPTIONS πŸ’…

  • -checkout β€” checks out the specified volume from the running fileserver. the way this matters: it makes sure the fileserver (or other processes) aren't out here modifying volume metadata at the same time we're trying to read it, which would give you invalid or incorrect results. so basically it's a "let me look bestie, hold still" flag. 🫢
  • -vnode β€” displays a table for each volume listing the large (directory) and small (file) vnodes in it, on top of the default output.
  • -date β€” when combined with the -vnode flag, adds the "ServerModTime" field to each vnode entry in the large vnode and small vnode tables, reporting its most recent modification time. ⏰
  • -inode β€” when combined with the -vnode flag, adds the "inode" field to each vnode entry in the large vnode and small vnode tables, reporting the associated inode number.
  • -itime β€” when combined with the -vnode flag, displays a change, modification, and access timestamp for each of the large vnode and small vnode tables. three timestamps. it's giving receipts. 🧾
  • -part <partition name or id>+ β€” specifies the partition that houses each volume you want output for. use the format /vicepxx or xx, where xx is one or two lowercase letters. this argument can be omitted if the current working directory is the mount location for an AFS server partition. if it is not the mount location for an AFS server partition, the command produces output for every volume on all local AFS server partitions. (yes, it goes wide again. it contains multitudes.)
  • -volumeid <volume id>+ β€” specifies the ID number of one volume to produce output for. heads up bestie: the -part argument must be provided along with this one, unless the current working directory is the mount location for the AFS server partition that houses the volume. 🌈
  • -header β€” displays statistics about the volume header of each volume, on top of the default output. the main character of the show, honestly.
  • -sizeonly β€” displays a single line of output for each volume, reporting the size of various structures associated with it. the default output is suppressed and any flags that modify it (such as -vnode) are ignored. minimalism era. ✨
  • -fixheader β€” repairs damaged inodes in each volume if possible. if there are any, it reports the action it's taking to repair them. otherwise it produces no output in addition to the default output. it's giving medic energy. 🩹
  • -saveinodes β€” creates a file in the current working directory for each inode in each volume. each file is called TmpInode.vnode_number and contains the inode's contents. the default output is suppressed and any flags that modify it (such as -vnode) are ignored. it's literally dumping files on your floor bestie, be ready. πŸ“
  • -orphaned β€” displays a large vnode and small vnode table for each volume, listing only orphaned vnodes (vnodes that have no parent 😭). if there are none, the tables are empty β€” only the headers appear. sad little empty tables. πŸ₯Ί
  • -filenames β€” when combined with the -vnode flag, adds the full path and file name of the "namei" file which stores the vnode data to each vnode entry in the large vnode and small vnode tables. heads up: this option is only available on fileservers which use the "namei" storage format for storing data. no namei? no filenames. iykyk. πŸ’œ
  • -help β€” prints the online help for this command. all other valid options are ignored. it said "i'm the only one talking rn." πŸ‘‘

πŸ”₯ OUTPUT πŸ”₯

by default, the command produces several line of statistics for each volume. adding other options produces or substitutes additional information as described in "OPTIONS".

okay real talk β€” the output is intended for debugging purposes and is meaningful to someone familiar with the internal structure of volume headers. if that's not you yet, it's gonna look like alphabet soup in a cute font. no shade, just facts. πŸ“

πŸ‘‘ PRIVILEGE REQUIRED πŸ‘‘

the issuer must be logged in as the local superuser "root". root energy only. πŸ’€


🌈 SEE ALSO 🌈

volscan(8), vldb.DB0(5), volserver(8)

go read those next bestie, they're part of the same friend group.


IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. absolute legends, the whole group chat. 🫢✨


and that's the whole thing!! this page is from the OpenAFS fam, dated 2026-07-27, and it still says VOLINFO(8) at the top where it belongs. mwah. πŸ’– byeee βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from