linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: cwillu <cwillu@cwillu.com>
To: Jordan Windsor <jordanw2@gmail.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: What's the minimum size I can shrink my FS to?
Date: Fri, 2 Nov 2012 22:13:26 -0600	[thread overview]
Message-ID: <CAE5mzvj38wxYWgcV+77hB-YmCS7ZKH_4sigf3ybcyMY9NB==zg@mail.gmail.com> (raw)
In-Reply-To: <CACCfv7pVYHCb_rO-ZefogCrvvvO0C3PN2BOArk4O2sRScWWTxg@mail.gmail.com>

Run "btrfs balance start -musage=1 -dusage=1", and then try it again.
This may require update btrfs tools however.

On Fri, Nov 2, 2012 at 10:09 PM, Jordan Windsor <jordanw2@gmail.com> wrote:
> Hello,
> I'm trying to shrink my Btrfs filesystem to the smallest size it can
> go, here's the information:
>
> failed to read /dev/sr0
> Label: 'Storage'  uuid: 717d4a43-38b3-495f-841b-d223068584de
> Total devices 1 FS bytes used 491.86GB
> devid    1 size 612.04GB used 605.98GB path /dev/sda6
>
> Btrfs Btrfs v0.19
>
> Data: total=580.90GB, used=490.88GB
> System, DUP: total=32.00MB, used=76.00KB
> System: total=4.00MB, used=0.00
> Metadata, DUP: total=12.51GB, used=1001.61MB
>
> Here's the command I use to resize:
>
> [root@archpc ~]# btrfs file res 500g /home/jordan/Storage/
> Resize '/home/jordan/Storage/' of '500g'
> ERROR: unable to resize '/home/jordan/Storage/' - No space left on device
>
> I was wondering if that size doesn't work then what's the minimum I
> can shrink to?
>
> Thanks.
> --
> 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

  reply	other threads:[~2012-11-03  4:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03  4:09 What's the minimum size I can shrink my FS to? Jordan Windsor
2012-11-03  4:13 ` cwillu [this message]
     [not found]   ` <CACCfv7rQ4Gqiaf8r7XRMDQnXe_xT0-eJPoLCFTFneWOYwkuaEQ@mail.gmail.com>
2012-11-03  4:40     ` Jordan Windsor
2012-11-05 23:15       ` David Sterba
2012-11-06 15:34         ` Jordan Windsor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE5mzvj38wxYWgcV+77hB-YmCS7ZKH_4sigf3ybcyMY9NB==zg@mail.gmail.com' \
    --to=cwillu@cwillu.com \
    --cc=jordanw2@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).