linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Campbell <brad@wasp.net.au>
To: Jeff Morrow <jmorrow@jmorrow.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: Missing capacity in a RAID 5 array?
Date: Thu, 06 May 2004 10:12:26 +0400	[thread overview]
Message-ID: <4099D74A.20103@wasp.net.au> (raw)
In-Reply-To: <4099D554.808@jmorrow.org>

Jeff Morrow wrote:
> I've created a software RAID 5 array consisting of 8 160 GB drives.  One 
> of the drives had prior data I wanted to keep, so I first created a 
> 7-drive array, copied the data from the original drive to the array, 
> then added the 8th drive using raidreconf.  Worked like a charm (took 
> about 27 hours, though!)
> 
> The OS now reports that the total capacity on /dev/md0 is about 920 GB:
> 
> /dev/md0             923029884 172872252 750157632  19% /mnt/store
> 
> Now, even if we take into account that the drives are 160 decimal GB, 
> which equates to 149 binary GB, my array should still have a total 
> capacity somewhere around 7 x 149 = 1043 GB.
> 
> Am I really losing 120 GB to reserved space for RAID and/or filesystem 
> accounting?  I feel like I'm missing something obvious here.  Can I get 
> my full terabyte somehow?

What filesystem are you using and how much space does it reserve for Root?
Plus, how much space does the filesystem metadata take up? Perhaps reduce the number of inodes to 
reclaim some space (Can't do that once there is data on there though)


On my 2.1TB I told mke2fs not to reserve any space for root as I was going to lose about 105MB.

Regards,
Brad

  reply	other threads:[~2004-05-06  6:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  6:04 Missing capacity in a RAID 5 array? Jeff Morrow
2004-05-06  6:12 ` Brad Campbell [this message]
2004-05-06 14:30   ` Derek Vadala
2004-05-06  6:47 ` Mikael Abrahamsson
2004-05-06 17:10   ` Jeff Morrow
2004-05-06 10:18 ` Juri Haberland

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=4099D74A.20103@wasp.net.au \
    --to=brad@wasp.net.au \
    --cc=jmorrow@jmorrow.org \
    --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).