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


Groups > linux.debian.user > #171175

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 15:40 +0200
Message-ID <s79ex-1DG-27@gated-at.bofh.it> (permalink)
References <s73LP-6q3-3@gated-at.bofh.it> <s73Vw-6tw-13@gated-at.bofh.it> <s745c-6M0-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 17 August 2016 04:05:03 tomas@tuxteam.de wrote:

> On Wed, Aug 17, 2016 at 05:49:39PM +1000, Igor Cicimov wrote:
> > On 17 Aug 2016 5:43 pm, "ML mail" <mlnospam@yahoo.com> wrote:
> > > Hello
> > >
> > > On my Debian 8 machine I have two XFS data partitions on my disk:
> >
> > Afaik you cant shrink xfs file systems.
>
> Right. See [1]. There seems to be some ongoing work towards that goal
> [2].
>
> [1]
> http://xfs.org/index.php/XFS_FAQ#Q:_Is_there_a_way_to_make_a_XFS_files
>ystem_larger_or_smaller.3F [2]
> http://www.xfs.org/index.php/Shrinking_Support
>
This last link is from 2008.  It does seem to be difficult, and only 
accomplishable by a full dump, repartition and recovery. The latter 
would not be a problem if a regular backup is being done. But I've no 
knowldge about how tar handles an xfs filesystem. Ack the man page, its 
agnostic as there is zero mention of the filesytem in use.

I use amanda as the tar manager here but my nightly backups are rather 
tiny compared to 13Tb, rarely exceeding 20 gigabytes for 4 machines. 

With my wrapper script, I can lose the main drive, and put in a new one, 
and have it recovered to its state as of about 3am this morning in 4 or 
5 hours. Any transactions after that time would be lost but 98% of that 
is email traffic.  Non-commercial IOW. Using commodity 1T drives, I have 
the last 30 days worth of amanda backups on one of them using virtual 
tapes. Unlike a tape drive that always has to spend the winter holidays 
in Oklahoma City getting rebuilt, I have random (fast) access to my 
data. That drive is now about 4 years old, has had 25 re-allocated 
sectors for much of that time, less than 50 power ups, and shows 45% 
usage in a df -h report right now.  Whats not to like? :)

What does zfs do for one that ext4 can't that makes it attractive to use?

> -- t


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