On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@xxxxxxxxx> wrote: > filesystem resize [+/-]<size>[gkm]|max <filesystem> -filesystem resize [+/-]<size>[gkm]|max <filesystem> +filesystem resize [+/-]<size>[gkm]|max <dev> This command works on devices, not paths. > Resize a filesystem identified by <path>. The <size> parame‐ -Resize a filesystem identified by <path>. The <size> parame‐ +Resize a filesystem identified by <dev>. The <size> parame‐ > ter specifies the new size of the filesystem. If the prefix > + or - is present the size is increased or decreased by the > quantity <size>. If no units are specified, the unit of the > <size> parameter defaults to bytes. Optionally, the size > parameter may be suffixed by one of the following the units > designators: 'K', 'M', or 'G', kilobytes, megabytes, or giga‐ > bytes, respectively. > > If 'max' is passed, the filesystem will occupy all available > space on the volume(s). > > The resize command does not manipulate the size of underlying > partitions. If you wish to enlarge/reduce a filesystem, you -partitions. If you wish to enlarge/reduce a filesystem, you +partition. If you wish to enlarge/reduce a filesystem, you > must make sure you can expand/reduce the size of the parti‐ > tion also. -must make sure you can expand/reduce the size of the parti‐ -tion also. +must make sure you can expand the partition before enlarging +the filesystem and shrink the partition after reducing the size +of the filesystem. > > > filesystem show [<uuid>|<label>] > Show the btrfs filesystem with some additional info. If no > UUID or label is passed, btrfs show info of all the btrfs > filesystem. > > > device balance|-b <path> -device balance|-b <path> +device balance <path> Mike -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
