FSSYNC-DEBUG_MODE(8)

πŸ’… FSSYNC-DEBUG_MODE πŸ’…

okay bestie, so this is a page from the AFS Command Reference β€” it's the fssync-debug_mode command, and honestly? it's giving "tiny command, big consequences." let's get into it 🫢


✨ NAME ✨

fssync-debug_mode β€” changes volume attach mode (the FSYNC_VOL_NEEDVOLUME opcode, iykyk)


πŸŽ€ SYNOPSIS πŸŽ€

like, here's every single way you're allowed to call it. all of these are the same command wearing different outfits πŸ’…

fssync-debug mode -volumeid <volume ID>
    [-partition <exact partition name>]
    [-reason <sync protocol reason code>]
    [-programtype <program type code>]
    [-help]

fssync-debug mod -v <volume ID>
    [-pa <exact partition name>]
    [-r <sync protocol reason code>]
    [-pr <program type code>]
    [-h]

fssync-debug needvolume -v <volume ID>
    [-pa <exact partition name>]
    [-r <sync protocol reason code>]
    [-pr <program type code>]
    [-h]

fssync-debug n -v <volume ID>
    [-pa <exact partition name>]
    [-r <sync protocol reason code>]
    [-pr <program type code>]
    [-h]

so mode, mod, needvolume and n are all nickname-nicknames of each other, and the flags have short forms too. slay. πŸ‘‘


🌸 DESCRIPTION 🌸

the fssync-debug mode command changes volume attach mode. that's the whole vibe. short, iconic, does exactly one thing. ✨


πŸ’– OPTIONS πŸ’–

  • -volumeid <volume ID> β€” gives the numeric volume ID. and no, bestie, volume names are not permitted here. numbers only, it's very strict about it. πŸ”’
  • -partition <exact partition name> β€” the exact partition name, like /vicepa. abbreviations are not permitted, so don't try to be cute and shorten it, it will not work. πŸ™ˆ
  • -reason <sync protocol reason code> β€” the numeric sync protocol reason code. the available codes are listed in the OpenAFS source file src/vol/fssync_inline.h. and for SYNC_REASON_NONE, you use -reason 0. noted. πŸ“
  • -programtype <program type code> β€” the program type code. permitted values are fileServer, volumeUtility, salvager, salvageServer, volumeServer and volumeSalvager. like, all six of them, pick one. 🌈
  • -help β€” prints the online help for this command. and listen, all other valid options get ignored when you do this, so don't bother stacking them. πŸ’…

πŸ‘‘ PRIVILEGE REQUIRED πŸ‘‘

whoever's running this must have write access to the file server. usually that means the issuer has to be the local superuser root on the file server machine. so like… bestie. be careful. main character energy comes with main character responsibility. 😭


πŸ¦‹ SEE ALSO πŸ¦‹

fssync-debug_attach(8), fssync-debug_detach(8), fssync-debug_callback(8), fssync-debug_online(8), fssync-debug_offline(8), fssync-debug_error(8)

go read those too, the whole little friend group is cute. 🫢


Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com>

This documentation is covered by the IBM Public License Version 1.0. this man page was written by Davor Ocelic for OpenAFS, based on documentation from Steven Jenkins, Tom Keiser and Simon Wilkinson.


and that's the whole page, bestie!! πŸŒˆπŸ’– this came out of OpenAFS, dated 2026-07-27, and if you ever forget a flag just run -help and let the docs carry you. periodt. βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from