GFARM2FS(1)
π GFARM2FS(1) π
okay bestie, so gfarm2fs is a thing in the manual, and it's literally the cutest little mount tool for the Gfarm file system. pull up a chair, grab a boba, we're doing this π§β¨
πΈ NAME πΈ
gfarm2fs β mount a Gfarm file system
β¨ SYNOPSIS β¨
gfarm2fs mount_point [ options ]
π¦ DESCRIPTION π¦
gfarm2fs mounts the Gfarm file system at the mount point you point it at. that's it. that's the whole vibe. you give it a spot, it puts a whole file system there. iconic behavior honestly π
π GENERAL OPTIONS π
-hβ shows you a whole list of command options. like a menu but for flags.-Vβ displays the version. gotta know which one you're running, no cap.-o opt,[opt...]β lets you specify mount options. you can stack them with commas, one after another, go off.
π GFARM2FS OPTIONS π
-o syslog=facilityβ pick which syslog facility to use. the default islocal0.-o loglevel=priorityβ pick the syslog priority level. the default isnotice.-E Tβ sets the timeout of the attribute cache. the default is1.0seconds.-o gfs_stat_timeout=Tβ literally the same thing as the-Eoption. same girl, different name π-o ncopy=Nβ how many copies get automatically created when a file is created. the default is0, which means the automatic replication mechanism is off. so like, no copies, no drama.-o copy_limit=Nβ the max number of copy creations happening at the same time. this only matters if automatic replication is turned on. the default is0.-o disable_genuine_nlinkβ uses a fakedst_nlink(that's32000) ofstruct statfor directories. fake it till you make it, fr fr.-o directory_quota_rename_error_exdevβ turns on client-side directory moves between directories that belong to different directory quota.
β οΈ CAUTION bestie: a client-side move like this will be really slow, because every single file under the directory gets copied from the source filesystem nodes to the client, and then copied back to the destination filesystem nodes. and because this operation is essentially the same as copy-and-remove, file owner settings may not be preserved, and it's possible some directories just cannot be correctly moved due to permission problems. so likeβ¦ heads up π
-o auto_uid_min=Nβ the minimum UID that gets automatically assigned.-o auto_uid_max=Nβ the maximum UID that gets automatically assigned.-o auto_gid_min=Nβ the minimum GID that gets automatically assigned.-o auto_gid_max=Nβ the maximum GID that gets automatically assigned.
π FUSE OPTIONS π
go check gfarm2fs -h. the options are all in there, iykyk π«
π ENVIRONMENT VARIABLE π
GFARM_CONFIG_FILEβ specifies the Gfarm configuration file.
π NOTES π
when there's no local account name that matches the Gfarm global user name, a temporal UID gets assigned somewhere between auto_uid_min and auto_uid_max.
when there's no local group name that matches the Gfarm global group name, a temporal GID gets assigned somewhere between auto_gid_min and auto_gid_max.
and when a temporal UID/GID cannot be assigned? setfacl(1) fails with EPERM. not great, not terrible, just how it is π
π₯ SECURITY NOTES π₯
okay this part is serious, pay attention bestie:
when untrusted users are registered in the gfarmroot group, or in the gfarm_root.{user,group} extended attributes of any files or directories, then a Security Hole exists on the mount point of gfarm2fs when it's run with the -o suid,allow_other option executed by root β and yes, that's true even if either the -o ro option or the -o default_permissions option is also specified. π
so basically: do not use both the-o suid,allow_otheroption and thegfarm_root.{user,group}extended attributes together. periodt. π«
π SEE ALSO π
fusermount(1), gfarm_attr(5), gfarm2.conf(5), mount(8)
that's the whole page babes, you're officially fluent in gfarm2fs π«Άπ this little manual came from Gfarm and it's dated 2 April 2011 β vintage queen behavior, we love her, mwah πβ¨π
π¦ where this page comes from
- debian bookworm: gfarm2fs 1.2.16-1 Β· BSD-like
- debian trixie: gfarm2fs 1.2.16-1+b1 Β· BSD-like
- ubuntu jammy: gfarm2fs 1.2.14-1 Β· BSD-like
- ubuntu noble: gfarm2fs 1.2.16-1build2 Β· BSD-like
- ubuntu questing: gfarm2fs 1.2.16-1.1
- ubuntu resolute: gfarm2fs 1.2.16-1.1build1 Β· BSD-like
- ubuntu stonking: gfarm2fs 1.2.16-1.1build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms