Guest User

btrfs

a guest
Nov 8th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1. btrfs df
  2. btrfs: unknown token 'df'
  3. usage: btrfs [--help] [--version] <group> [<group>...] <command> [<args>]
  4.  
  5. btrfs subvolume create [-i <qgroupid>] [<dest>/]<name>
  6. Create a subvolume
  7. btrfs subvolume delete [options] <subvolume> [<subvolume>...]
  8. Delete subvolume(s)
  9. btrfs subvolume list [options] [-G [+|-]value] [-C [+|-]value] [--sort=gen,ogen,rootid,path] <path>
  10. List subvolumes (and snapshots)
  11. btrfs subvolume snapshot [-r] [-i <qgroupid>] <source> <dest>|[<dest>/]<name>
  12. Create a snapshot of the subvolume
  13. btrfs subvolume get-default <path>
  14. Get the default subvolume of a filesystem
  15. btrfs subvolume set-default <subvolid> <path>
  16. Set the default subvolume of a filesystem
  17. btrfs subvolume find-new <path> <lastgen>
  18. List the recently modified files in a filesystem
  19. btrfs subvolume show <subvol-path>
  20. Show more information of the subvolume
  21. btrfs subvolume sync <path> [<subvol-id>...]
  22. Wait until given subvolume(s) are completely removed from the filesystem.
  23.  
  24. btrfs filesystem df [options] <path>
  25. Show space usage information for a mount point
  26. btrfs filesystem show [options] [<path>|<uuid>|<device>|label]
  27. Show the structure of a filesystem
  28. btrfs filesystem sync <path>
  29. Force a sync on a filesystem
  30. btrfs filesystem defragment [options] <file>|<dir> [<file>|<dir>...]
  31. Defragment a file or a directory
  32. btrfs filesystem resize [devid:][+/-]<newsize>[kKmMgGtTpPeE]|[devid:]max <path>
  33. Resize a filesystem
  34. btrfs filesystem label [<device>|<mount_point>] [<newlabel>]
  35. Get or change the label of a filesystem
  36. btrfs filesystem usage [options] <path> [<path>..]
  37. Show detailed information about internal filesystem usage .
  38.  
  39. btrfs balance start [options] <path>
  40. Balance chunks across the devices
  41. btrfs balance pause <path>
  42. Pause running balance
  43. btrfs balance cancel <path>
  44. Cancel running or paused balance
  45. btrfs balance resume <path>
  46. Resume interrupted balance
  47. btrfs balance status [-v] <path>
  48. Show status of running or paused balance
  49.  
  50. btrfs device add [options] <device> [<device>...] <path>
  51. Add a device to a filesystem
  52. btrfs device delete <device> [<device>...] <path> btrfs device remove <device> [<device>...] <path>
  53. Remove a device from a filesystem
  54. btrfs device scan [(-d|--all-devices)|<device> [<device>...]]
  55. Scan devices for a btrfs filesystem
  56. btrfs device ready <device>
  57. Check device to see if it has all of its devices in cache for mounting
  58. btrfs device stats [-z] <path>|<device>
  59. Show current device IO stats. -z to reset stats afterwards.
  60. btrfs device usage [options] <path> [<path>..]
  61. Show detailed information about internal allocations in devices.
  62.  
  63. btrfs scrub start [-BdqrRf] [-c ioprio_class -n ioprio_classdata] <path>|<device>
  64. Start a new scrub. If a scrub is already running, the new one fails.
  65. btrfs scrub cancel <path>|<device>
  66. Cancel a running scrub
  67. btrfs scrub resume [-BdqrR] [-c ioprio_class -n ioprio_classdata] <path>|<device>
  68. Resume previously canceled or interrupted scrub
  69. btrfs scrub status [-dR] <path>|<device>
  70. Show status of running or finished scrub
  71.  
  72. btrfs check [options] <device>
  73. Check an unmounted btrfs filesystem.
  74.  
  75. btrfs rescue chunk-recover [options] <device>
  76. Recover the chunk tree by scanning the devices one by one.
  77. btrfs rescue super-recover [options] <device>
  78. Recover bad superblocks from good copies
  79. btrfs rescue zero-log <device>
  80. Clear the tree log. Usable if it's corrupted and prevents mount.
  81.  
  82. btrfs restore [options] <device> <path> | -l <device>
  83. Try to restore files from a damaged filesystem (unmounted)
  84.  
  85. btrfs inspect-internal inode-resolve [-v] <inode> <path>
  86. Get file system paths for the given inode
  87. btrfs inspect-internal logical-resolve [-Pv] [-s bufsize] <logical> <path>
  88. Get file system paths for the given logical address
  89. btrfs inspect-internal subvolid-resolve <subvolid> <path>
  90. Get file system paths for the given subvolume ID.
  91. btrfs inspect-internal rootid <path>
  92. Get tree ID of the containing subvolume of path.
  93. btrfs inspect-internal min-dev-size [options] <path>
  94. Get the minimum size the device can be shrunk to. The
  95.  
  96. btrfs property get [-t <type>] <object> [<name>]
  97. Gets a property from a btrfs object.
  98. btrfs property set [-t <type>] <object> <name> <value>
  99. Sets a property on a btrfs object.
  100. btrfs property list [-t <type>] <object>
  101. Lists available properties with their descriptions for the given object.
  102.  
  103. btrfs send [-ve] [-p <parent>] [-c <clone-src>] [-f <outfile>] <subvol> [<subvol>...]
  104. Send the subvolume(s) to stdout.
  105. btrfs receive [-ve] [-f <infile>] [--max-errors <N>] <mount>
  106. Receive subvolumes from stdin.
  107.  
  108. btrfs quota enable <path>
  109. Enable subvolume quota support for a filesystem.
  110. btrfs quota disable <path>
  111. Disable subvolume quota support for a filesystem.
  112. btrfs quota rescan [-sw] <path>
  113. Trash all qgroup numbers and scan the metadata again with the current config.
  114.  
  115. btrfs qgroup assign <src> <dst> <path>
  116. Enable subvolume qgroup support for a filesystem.
  117. btrfs qgroup remove <src> <dst> <path>
  118. Remove a subvol from a quota group.
  119. btrfs qgroup create <qgroupid> <path>
  120. Create a subvolume quota group.
  121. btrfs qgroup destroy <qgroupid> <path>
  122. Destroy a subvolume quota group.
  123. btrfs qgroup show -pcreFf [--sort=qgroupid,rfer,excl,max_rfer,max_excl] <path>
  124. Show subvolume quota groups.
  125. btrfs qgroup limit [options] <size>|none [<qgroupid>] <path>
  126. Limit the size of a subvolume quota group.
  127.  
  128. btrfs replace start [-Bfr] <srcdev>|<devid> <targetdev> <mount_point>
  129. Replace device of a btrfs filesystem.
  130. btrfs replace status [-1] <mount_point>
  131. Print status and progress information of a running device replace
  132. btrfs replace cancel <mount_point>
  133. Cancel a running device replace operation.
  134.  
  135. btrfs help [--full]
  136. Display help information
  137. btrfs version
  138. Display btrfs-progs version
  139.  
  140. Use --help as an argument for information on a specific group or command.
Advertisement
Add Comment
Please, Sign In to add comment