linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Davidson <Paul.Davidson@anu.edu.au>
To: linux-raid@vger.kernel.org
Subject: Is shrinking raid5 possible?
Date: Mon, 19 Jun 2006 12:30:29 +1000	[thread overview]
Message-ID: <44960C45.9050407@anu.edu.au> (raw)

Hi,

I'd like to shrink the size of a RAID5 array - is this
possible? My first attempt shrinking 1.4Tb to 600Gb,

mdadm --grow /dev/md5 --size=629145600

gives

mdadm: Cannot set device size/shape for /dev/md5: No space left on device

which is true but not particularly relevant :). If mdadm
doesn't support this for online arrays, can I do it offline
somehow?

I'd like to retain the ext3 filesystem on this device,
which I have already shrunk to 400Gb with resize2fs.

Thanks for any help,
Paul

             reply	other threads:[~2006-06-19  2:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19  2:30 Paul Davidson [this message]
2006-06-19  4:39 ` Is shrinking raid5 possible? Neil Brown
2006-06-19  5:07   ` Paul Davidson
2006-06-23  0:49   ` Bill Davidsen
2006-06-23  1:26     ` Neil Brown
2006-06-23  2:17       ` Paul Davidson
2006-06-23  8:34       ` Henrik Holst
2006-06-23 18:16       ` Christian Pernegger
2006-06-26  7:41         ` Neil Brown
2006-06-26 11:33           ` Christian Pernegger
2006-11-22 20:40             ` Henrik Holst
2009-11-06 13:17               ` Thomas Arthur Oehser
2009-11-06 15:04                 ` Asdo
2009-11-06 15:26                   ` Thomas Arthur Oehser
2009-11-06 17:00                     ` Goswin von Brederlow
2009-11-06 18:32                 ` John Robinson
2009-11-06 18:38                   ` Thomas Arthur Oehser
2009-11-06 19:30                     ` Goswin von Brederlow
2009-11-06 19:38                       ` John Robinson

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=44960C45.9050407@anu.edu.au \
    --to=paul.davidson@anu.edu.au \
    --cc=linux-raid@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).