btrfs: a new tool to manage a btrfs filesystem
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Goffredo Baroncelli
=C2=A0 =C2=A0 =C2=A0 filesystem resize [+/-]<size>[gkm]|max <filesyst=
em>
-filesystem resize [+/-]<size>[gkm]|max <filesystem> +filesystem resize [+/-]<size>[gkm]|max <dev>
This command works on devices, not paths.
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Resize a filesystem i=
dentified by <path>. =C2=A0The <size> parame=E2=80=90
-Resize a filesystem identified by <path>. The <size> parame=E2=80=90 +Resize a filesystem identified by <dev>. The <size> parame=E2=80=90
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ter =C2=A0specifies t=
he new size of the filesystem. =C2=A0If the prefix
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+ or - is present the=
size is increased or decreased =C2=A0by =C2=A0the
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0quantity =C2=A0<size>=
=2E =C2=A0If no units are specified, the unit of the
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<size> parameter defa=
ults =C2=A0to =C2=A0bytes. =C2=A0Optionally, =C2=A0the =C2=A0size
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0parameter =C2=A0may =C2=
=A0be suffixed by one of the following the units
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0designators: 'K', 'M'=
, or 'G', kilobytes, megabytes, or giga=E2=80=90
Quoted 3 lines
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bytes, respectively.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If =C2=A0'max' is pas=
sed, the filesystem will occupy all available
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0space on the volume(s=
).
Quoted 2 lines
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The resize command do=
es not manipulate the size of underlying
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0partitions. =C2=A0 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
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0must make sure you ca=
n expand/reduce the size of =C2=A0the =C2=A0parti=E2=80=90
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tion also.
-must make sure you can expand/reduce the size of the parti=E2=80=90 -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.
Quoted 4 lines
=C2=A0 =C2=A0 =C2=A0 filesystem show [<uuid>|<label>] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Show =C2=A0the =C2=A0=
btrfs =C2=A0filesystem with some additional info. If no
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0UUID or label is pass=
ed, btrfs show info =C2=A0of =C2=A0all =C2=A0the =C2=A0btrfs
Quoted 4 lines
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0filesystem.
=C2=A0 =C2=A0 =C2=A0 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Mike Fedyk
On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gmail.=
com>=20
Quoted 6 lines · wrote:
Quoted 1 line
filesystem resize [+/-]<size>[gkm]|max <filesystem>
=20
(quoted diff) +1
-1-filesystem resize [+/-]<size>[gkm]|max <filesystem> +filesystem resize [+/-]<size>[gkm]|max <dev>=20
This command works on devices, not paths.
Are you sure ? To me it results (test and code inspection) to work on p= ath.
Quoted 2 lines
=20
Quoted 1 line
Resize a filesystem identified by <path>. The <size> =
parame=E2=80=90
Quoted 5 lines
=20
(quoted diff) +1
-1-Resize a filesystem identified by <path>. The <size> parame=E2=80=90 +Resize a filesystem identified by <dev>. The <size> parame=E2=80=90=20
Quoted 1 line
ter specifies the new size of the filesystem. If the=
prefix
Quoted 1 line
Quoted 1 line
+ or - is present the size is increased or decreased =
by the
Quoted 1 line
Quoted 1 line
quantity <size>. If no units are specified, the unit=
of the
Quoted 1 line
Quoted 1 line
<size> parameter defaults to bytes. Optionally, th=
e size
Quoted 1 line
Quoted 1 line
parameter may be suffixed by one of the following th=
e units
Quoted 1 line
Quoted 1 line
designators: 'K', 'M', or 'G', kilobytes, megabytes, o=
r giga=E2=80=90
Quoted 3 lines
Quoted 3 lines
bytes, respectively.
If 'max' is passed, the filesystem will occupy all av=
ailable
Quoted 3 lines
Quoted 3 lines
space on the volume(s).
The resize command does not manipulate the size of und=
erlying
Quoted 1 line
Quoted 1 line
partitions. If you wish to enlarge/reduce a filesyst=
em, you
Review
Quoted 3 lines
=20
(quoted diff) +1
-1-partitions. If you wish to enlarge/reduce a filesystem, you +partition. If you wish to enlarge/reduce a filesystem, you
ok
Quoted 1 line
Quoted 1 line
must make sure you can expand/reduce the size of the =
parti=E2=80=90
Review
Quoted 7 lines
Quoted 1 line
tion also.
=20
(quoted diff) +3
-2-must make sure you can expand/reduce the size of the parti=E2=80=90 -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.
ok
Quoted 4 lines
Quoted 4 lines
filesystem show [<uuid>|<label>]
Show the btrfs filesystem with some additional info=
=2E If no
Quoted 1 line
Quoted 1 line
UUID or label is passed, btrfs show info of all the=
btrfs
Review
Quoted 7 lines
Quoted 4 lines
filesystem.
device balance|-b <path>
=20
(quoted diff) +1
-1-device balance|-b <path> +device balance <path>
ok
Quoted 3 lines
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs=
" in
Quoted 3 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
=20
I will update my repo
BR
Goffredo
--=20
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwi= nd.it>
Key fingerprint =3D 4769 7E51 5293 D36C 814E C054 BF04 F161 3DC5 0512 --
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Goffredo Baroncelli
Quoted 1 line · Mike Fedyk
On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gmai=
l.com>=20
Quoted 9 lines
Quoted 6 lines · wrote:
Quoted 1 line
filesystem resize [+/-]<size>[gkm]|max <filesystem>
=20
(quoted diff) +1
-1-filesystem resize [+/-]<size>[gkm]|max <filesystem> +filesystem resize [+/-]<size>[gkm]|max <dev>=20
This command works on devices, not paths.=20
Are you sure ? To me it results (test and code inspection) to work on=
path.
The ioctl takes a path so that it knows which btrfs filesystem to change.
Quoted 6 lines
=20
Quoted 2 lines
=20
Quoted 1 line
Resize a filesystem identified by <path>. The <size=
parame=E2=80=90
Quoted 2 lines
=20
-Resize a filesystem identified by <path>. The <size> parame=E2=80=
=90
Quoted 3 lines
Quoted 3 lines
+Resize a filesystem identified by <dev>. The <size> parame=E2=80=90 =20
Quoted 1 line
ter specifies the new size of the filesystem. If t=
he prefix
Quoted 1 line
Quoted 1 line
Quoted 1 line
+ or - is present the size is increased or decreased=
by the
Quoted 1 line
Quoted 1 line
Quoted 1 line
quantity <size>. If no units are specified, the un=
it of the
Quoted 1 line
Quoted 1 line
Quoted 1 line
<size> parameter defaults to bytes. Optionally, =
the size
Quoted 1 line
Quoted 1 line
Quoted 1 line
parameter may be suffixed by one of the following =
the units
Quoted 1 line
Quoted 1 line
Quoted 1 line
designators: 'K', 'M', or 'G', kilobytes, megabytes,=
or giga=E2=80=90
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
bytes, respectively.
If 'max' is passed, the filesystem will occupy all =
available
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
space on the volume(s).
The resize command does not manipulate the size of u=
nderlying
Quoted 1 line
Quoted 1 line
Quoted 1 line
partitions. If you wish to enlarge/reduce a filesy=
stem, you
Quoted 6 lines
Review
Quoted 3 lines
=20
(quoted diff) +1
-1-partitions. If you wish to enlarge/reduce a filesystem, you +partition. If you wish to enlarge/reduce a filesystem, youok
=20Quoted 1 line
Quoted 1 line
must make sure you can expand/reduce the size of th=
e parti=E2=80=90
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
tion also.
=20
-must make sure you can expand/reduce the size of the parti=E2=80=
=90
Quoted 10 lines
Review
Quoted 4 lines
(quoted diff) +3
-1-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.ok
=20Quoted 4 lines
Quoted 4 lines
filesystem show [<uuid>|<label>]
Show the btrfs filesystem with some additional in=
fo. If no
Quoted 1 line
Quoted 1 line
Quoted 1 line
UUID or label is passed, btrfs show info of all t=
he btrfs
Quoted 13 lines
Review
Quoted 7 lines
Quoted 4 lines
filesystem.
device balance|-b <path>
=20
(quoted diff) +1
-1-device balance|-b <path> +device balance <path>=20
ok
=20Quoted 3 lines
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-btr=
fs" in
Quoted 5 lines
Quoted 3 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
=20=20
I will update my repo
Thanks!
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Feb 24, 2010 at 3:35 PM, Chris Mason <[email protected]> w= rote:
Quoted 3 lines · Goffredo Baroncelli
Quoted 2 lines · Mike Fedyk
Quoted 1 line
On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gma=
il.com>
Quoted 2 lines
Quoted 2 lines
Quoted 1 line · wrote:
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 filesystem resize [+/-]<size>[gkm]|max <fil=
esystem>
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
(quoted diff) +1
-1-filesystem resize [+/-]<size>[gkm]|max <filesystem> +filesystem resize [+/-]<size>[gkm]|max <dev>This command works on devices, not paths.
Are you sure ? To me it results (test and code inspection) to work o=
n path.
Quoted 4 lines
The ioctl takes a path so that it knows which btrfs filesystem to change.
Then how does it know which device to shrink in a multi-device filesyst= em?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html