All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Nikhil Kulkarni <nikhil_kulkarni@symantec.com>
Cc: David Chinner <dgc@sgi.com>, xfs@oss.sgi.com
Subject: Re: xfs_read_buf error 5.
Date: Fri, 22 Sep 2006 12:14:01 +1000	[thread overview]
Message-ID: <20060922021401.GA3034@melbourne.sgi.com> (raw)
In-Reply-To: <43FB1967D03EC7449A77FA91322E364802A9AB91@SVL1XCHCLUPIN01.enterprise.veritas.com>

On Thu, Sep 21, 2006 at 05:45:32PM -0700, Nikhil Kulkarni wrote:
> Hi David,
> 
> Hi David,
> 
> Thanks for your prompt response, I really appreciate it!!! I made a
> major tying mistake in describing the initial size of the partitions. We
> are having issues when we assign a size > 2TB and not 2GB. I'm sorry
> about the typo.

I was wondering about that ;)

> Here are the 2 /proc/partition files:
> 
> This is the one where the partition size is 3.5T
> 
> [nikhil@nkulkarni tmp]$ more xfs-log-3.5T
> [root@ssimppi7 log]# cat /proc/partitions
> major minor  #blocks  name
> 
>    8     0 4093902848 sda
>    8     1 1436513398 sda1

That says it's only 1.4TB...

> This is the one where the partition size is 2TB:
> 
> [nikhil@nkulkarni tmp]$ more xfs-log-2T
> root@ssimppi7 log]# cat /proc/partitions
> major minor  #blocks  name
> 
>    8     0 4093902848 sda
>    8     1 2047998298 sda1

And that is 2TB.

> I think you are right. The partitions are not set up correctly.
> 
> Do you know on a 2.5 kernel on a 32 bit operating system, which tool can
> be used to setup partitions for sizes up to 4TB or 8TB?
> fdisk on a 32 bit os does not work correctly. I thought parted worked
> but apparently it does not either.

Did you build your kernel with CONFIG_LBD=y? (Block layer option)
This is the option that allows >2TB block devices on 32 bit kernels...

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2006-09-22  2:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21 22:52 xfs_read_buf error 5 Nikhil Kulkarni
2006-09-22  0:16 ` David Chinner
2006-09-22  0:45   ` Nikhil Kulkarni
2006-09-22  2:14     ` David Chinner [this message]
2006-09-22 17:02       ` Nikhil Kulkarni

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=20060922021401.GA3034@melbourne.sgi.com \
    --to=dgc@sgi.com \
    --cc=nikhil_kulkarni@symantec.com \
    --cc=xfs@oss.sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.