Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171176

Re: Decrease/increase XFS partitions

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: Decrease/increase XFS partitions
Date 2016-08-17 16:00 +0200
Message-ID <s79xT-1My-1@gated-at.bofh.it> (permalink)
References <s73LP-6q3-3@gated-at.bofh.it> <s78BQ-19e-27@gated-at.bofh.it> <s78Vb-1vG-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 17 August 2016 09:16:01 tomas@tuxteam.de wrote:

> On Wed, Aug 17, 2016 at 08:54:47AM -0400, Gene Heskett wrote:
> > On Wednesday 17 August 2016 03:43:36 ML mail wrote:
> > > Hello
> > >
> > > On my Debian 8 machine I have two XFS data partitions on my disk:
> > >
> > > - /dev/sdb1 of 4TB
> > > - /dev/sdb2 of 9TB
> > >
> > > Now I would like to decrease the first partition [...]
> >
> > I think this is a job for gparted [...]
>
> Gparted will grow (or shrink) the partition. Not the file system.
> The file system has to play along, otherwise you'll get a train
> wreck.
>
>  - Shrinking:
>    - first, shrink the file system (make sure FS has no data
>      beyond some block [1]
>    - then, shrink the partition accordingly
>
>  - Growing
>    - first, grow the partition
>    - then, grow the filesystem accordingly (i.e. tell the file
>      system it can use the extra space [2]
>
> [1] Ext2/3/4 supports shrinking. XFS not, according to the FAQ
> [2] XFS (and Ext*) support growing
>
> regards
>
> -- t
And I sit here with egg on my face. :(

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Decrease/increase XFS partitions ML mail <mlnospam@yahoo.com> - 2016-08-17 09:50 +0200
  Re: Decrease/increase XFS partitions Igor Cicimov <icicimov@gmail.com> - 2016-08-17 10:00 +0200
    Re: Decrease/increase XFS partitions <tomas@tuxteam.de> - 2016-08-17 10:10 +0200
      Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 15:40 +0200
        Re: Decrease/increase XFS partitions Dan Ritter <dsr@randomstring.org> - 2016-08-17 21:10 +0200
    Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 15:00 +0200
  Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 15:00 +0200
    Re: Decrease/increase XFS partitions <tomas@tuxteam.de> - 2016-08-17 15:20 +0200
      Re: Decrease/increase XFS partitions Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-17 15:30 +0200
        Re: Decrease/increase XFS partitions <tomas@tuxteam.de> - 2016-08-17 15:40 +0200
          Re: Decrease/increase XFS partitions Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-17 16:20 +0200
      Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 16:00 +0200
        Re: Decrease/increase XFS partitions <tomas@tuxteam.de> - 2016-08-17 16:10 +0200
          Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 16:30 +0200
          Re: Decrease/increase XFS partitions deloptes <deloptes@gmail.com> - 2016-08-17 21:20 +0200
    Re: Decrease/increase XFS partitions Brian <ad44@cityscape.co.uk> - 2016-08-17 15:40 +0200
      Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 16:00 +0200
        Re: Decrease/increase XFS partitions Greg Wooledge <wooledg@eeg.ccf.org> - 2016-08-17 16:10 +0200
          Re: Decrease/increase XFS partitions Gene Heskett <gheskett@shentel.net> - 2016-08-17 16:30 +0200
            Re: Decrease/increase XFS partitions Darac Marjal <mailinglist@darac.org.uk> - 2016-08-17 17:00 +0200
          Re: Decrease/increase XFS partitions <tomas@tuxteam.de> - 2016-08-17 17:00 +0200
        Re: Decrease/increase XFS partitions Brian <ad44@cityscape.co.uk> - 2016-08-17 16:30 +0200
      Re: Decrease/increase XFS partitions deloptes <deloptes@gmail.com> - 2016-08-17 21:10 +0200

csiph-web