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


Groups > linux.debian.user > #171177

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-19@gated-at.bofh.it> (permalink)
References <s73LP-6q3-3@gated-at.bofh.it> <s78BQ-19e-27@gated-at.bofh.it> <s79ey-1DG-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 17 August 2016 09:12:40 Brian wrote:

> On Wed 17 Aug 2016 at 08:54:47 -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 of 1TB in order
> > > to increase the second partition by that very same 1TB. Any ideas
> > > how to do that? My partition table is using GPT and I have parted
> > > installed.
> > >
> > > Regards
> > > ML
> >
> > I think this is a job for gparted. But since the amount of data that
>
> You would advise using gparted to shrink an XFS partition in spite of
>
>  
> http://xfs.org/index.php/XFS_FAQ#Q:_Is_there_a_way_to_make_a_XFS_files
>ystem_larger_or_smaller.3F
>
> saying it is not possible?
>
> Is this advice based on experience?

No, I just assumed, incorrectly it seems, that zfs had a command 
structure similar to ext2-3-4. The above link says you can't without a 
full backup, repartition and restore.

So I stand corrected.  And better educated.

And yes, I have used gparted to adjust ext3-4 systems.  Its a rather 
arduous, time consuming task but it worked.  And its dangerous to do on 
a live filesystem so I boot gparted from optical media.

But the size of my data has not grown as fast as the size of a commodity 
drive, a 1T drive is now $50 in my mailbox, so space is not, and has not 
been a problem for me for 4 or 5 years. 

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