* Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem [not found] <201002211740.13074.kreijack@libero.it> @ 2010-02-22 5:33 ` Mike Fedyk 2010-02-22 18:47 ` Goffredo Baroncelli 0 siblings, 1 reply; 4+ messages in thread From: Mike Fedyk @ 2010-02-22 5:33 UTC (permalink / raw) To: Goffredo Baroncelli Cc: linux-btrfs, Chris Mason, Thomas Kupper, Dipl.-Ing. Michael Niederle, rk On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gmail.co= m> wrote: > =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. > =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 > =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 > =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 > =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 > =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 > =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 > =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 > =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 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0space on the volume(s= ). > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The resize command do= es not manipulate the size of underlying > =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 > =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 > =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. > > > =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 > =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 > =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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem 2010-02-22 5:33 ` [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem Mike Fedyk @ 2010-02-22 18:47 ` Goffredo Baroncelli 2010-02-24 23:35 ` Chris Mason 0 siblings, 1 reply; 4+ messages in thread From: Goffredo Baroncelli @ 2010-02-22 18:47 UTC (permalink / raw) To: Mike Fedyk; +Cc: linux-btrfs On Monday 22 February 2010, Mike Fedyk wrote: > On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gmail.= com>=20 wrote: > > filesystem resize [+/-]<size>[gkm]|max <filesystem> >=20 > -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. >=20 > > Resize a filesystem identified by <path>. The <size> = parame=E2=80=90 >=20 > -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 > > 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, th= e size > > parameter may be suffixed by one of the following th= e units > > designators: 'K', 'M', or 'G', kilobytes, megabytes, o= r giga=E2=80=90 > > bytes, respectively. > > > > If 'max' is passed, the filesystem will occupy all av= ailable > > space on the volume(s). > > > > The resize command does not manipulate the size of und= erlying > > partitions. If you wish to enlarge/reduce a filesyst= em, you >=20 > -partitions. If you wish to enlarge/reduce a filesystem, you > +partition. If you wish to enlarge/reduce a filesystem, you ok > > must make sure you can expand/reduce the size of the = parti=E2=80=90 > > tion also. >=20 > -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 > > > > > > filesystem show [<uuid>|<label>] > > Show the btrfs filesystem with some additional info= =2E If no > > UUID or label is passed, btrfs show info of all the= btrfs > > filesystem. > > > > > > device balance|-b <path> >=20 > -device balance|-b <path> > +device balance <path> ok > Mike > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs= " in > the body of a message to majordomo@vger.kernel.org > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem 2010-02-22 18:47 ` Goffredo Baroncelli @ 2010-02-24 23:35 ` Chris Mason 2010-02-25 3:25 ` Mike Fedyk 0 siblings, 1 reply; 4+ messages in thread From: Chris Mason @ 2010-02-24 23:35 UTC (permalink / raw) To: kreijack; +Cc: Mike Fedyk, linux-btrfs On Mon, Feb 22, 2010 at 07:47:40PM +0100, Goffredo Baroncelli wrote: > On Monday 22 February 2010, Mike Fedyk wrote: > > On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gmai= l.com>=20 > wrote: > > > filesystem resize [+/-]<size>[gkm]|max <filesystem> > >=20 > > -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. >=20 > >=20 > > > Resize a filesystem identified by <path>. The <size= > parame=E2=80=90 > >=20 > > -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 > > > ter specifies the new size of the filesystem. If t= he prefix > > > + or - is present the size is increased or decreased= by the > > > quantity <size>. If no units are specified, the un= it 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=E2=80=90 > > > 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 u= nderlying > > > partitions. If you wish to enlarge/reduce a filesy= stem, you > >=20 > > -partitions. If you wish to enlarge/reduce a filesystem, you > > +partition. If you wish to enlarge/reduce a filesystem, you > ok >=20 > > > must make sure you can expand/reduce the size of th= e parti=E2=80=90 > > > tion also. > >=20 > > -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 >=20 > > > > > > > > > filesystem show [<uuid>|<label>] > > > Show the btrfs filesystem with some additional in= fo. If no > > > UUID or label is passed, btrfs show info of all t= he btrfs > > > filesystem. > > > > > > > > > device balance|-b <path> > >=20 > > -device balance|-b <path> > > +device balance <path> >=20 > ok >=20 > > Mike > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-btr= fs" in > > the body of a message to majordomo@vger.kernel.org > > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem 2010-02-24 23:35 ` Chris Mason @ 2010-02-25 3:25 ` Mike Fedyk 0 siblings, 0 replies; 4+ messages in thread From: Mike Fedyk @ 2010-02-25 3:25 UTC (permalink / raw) To: Chris Mason, kreijack, Mike Fedyk, linux-btrfs On Wed, Feb 24, 2010 at 3:35 PM, Chris Mason <chris.mason@oracle.com> w= rote: > On Mon, Feb 22, 2010 at 07:47:40PM +0100, Goffredo Baroncelli wrote: >> On Monday 22 February 2010, Mike Fedyk wrote: >> > On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gma= il.com> >> wrote: >> > > =C2=A0 =C2=A0 =C2=A0 filesystem resize [+/-]<size>[gkm]|max <fil= esystem> >> > >> > -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. > > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-25 3:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201002211740.13074.kreijack@libero.it>
2010-02-22 5:33 ` [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem Mike Fedyk
2010-02-22 18:47 ` Goffredo Baroncelli
2010-02-24 23:35 ` Chris Mason
2010-02-25 3:25 ` Mike Fedyk
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.