summaryrefslogtreecommitdiff
path: root/cmd_device.c
AgeCommit message (Collapse)Author
2021-02-20Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enumsKent Overstreet
2021-01-05Fix bcachefs device remove --by-idKent Overstreet
That's not how you parse an integer in C... Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-11-17Add a subcommand for resizing the journalKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-05-08Add --offline to device set-stateKent Overstreet
2020-04-25Set device read-only if necessary before evacuateKent Overstreet
2019-08-16cmd_device_remove: allow removal by device idStijn Tintel
If a disk is absent, there is no way to remove it from the filesystem. Add the possibility to remove devices by id, to allow removal of missing disks. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-03-24check if fs is mounted before running fsckKent Overstreet
2018-12-19Use opts.h for format optionsKent Overstreet
2018-10-08cmd_device_add: replace tier with group in usageStijn Tintel
Tiering has been replaced by disk groups, but the usage message for cmd_device_add was never updated to reflect this change. Replace the tier option with group to fix the usage message. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-10-08cmd_device: add missing short options to usageStijn Tintel
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-02-19disk groupsKent Overstreet
2018-02-09device add: support --helpLeah Neukirchen
2018-02-08New data rereplicate commandKent Overstreet
2018-01-11Update bcachefs sources to 02ae70070a bcachefs: Allocate new btree roots lazilyKent Overstreet
2017-12-29show-super can now print more stuffKent Overstreet
2017-12-28ResizingKent Overstreet
2017-12-10build: require explicit include paths for libbcachefs/Austin Seipp
This removes the implicit `-I libbcachefs` argument to $(CC), which in turn requires a set of minor changes throughout the tools. There are two advantages to this setup: 1) It is (arguably) easier to read, since the location of bcachefs includes are easier to understand at a glance ("where does util.h live?") 2) It removes the need for a hack to include glibc's copy of dirent.h explicitly via '/usr/include/dirent.h', because libbcachefs/ *also* has a dirent.h file and the compiler cannot disambiguate them. This has some ramifications on systems where /usr/include may not exist, such as NixOS. Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-10-08Update for new superblock options; makefile improvementsKent Overstreet
2017-06-13Update for sysfs changesKent Overstreet
2017-04-14cmd_list improvements; use %mKent Overstreet
2017-04-05Allow disk commands to specify member by indexKent Overstreet
2017-04-02More cmd_migrate improvementsKent Overstreet
Factor out bch2_pick_bucket_size() from the format code, and pick the bucket size before picking the superblock location - that way we can ensure the superblock gets its own bucket and doesn't trigger warnings due to the allocation code noticing different types of data in the same bucket.
2017-03-19Rename from bcache-tools to bcachefs-toolsKent Overstreet
2017-03-12Refactoring for device specific commandsKent Overstreet
2017-03-09cmd_device_add improvementsKent Overstreet
2017-03-09cmd_device_failKent Overstreet
Add a comamnd for setting a device as failed, update bcache sources
2017-03-09cmd_migrateKent Overstreet
2017-02-28New on disk format - encryptionKent Overstreet
2017-02-06update bcache code, fsck improvementsKent Overstreet