xfs
[Top] [All Lists]

Re: Unsupported sector size

To: johann.lombardi@xxxxxxx, Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Unsupported sector size
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 30 Apr 2004 11:14:12 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1083269720.22208.30.camel@stout.americas.sgi.com>; from sandeen@sgi.com on Thu, Apr 29, 2004 at 03:15:21PM -0500
References: <200404292134.23178.johann.lombardi@free.fr> <1083269720.22208.30.camel@stout.americas.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Apr 29, 2004 at 03:15:21PM -0500, Eric Sandeen wrote:
> Hm, sector_size is gleaned from the underlying block device, via
> xfs_getsize_buftarg, which calls block_size, which gets
> bdev->bd_block_size.
> 
> so, the message you got is correct I think - the filesystem was made

The message is indeed correct.  You should have got a warning
from mkfs.xfs when you created the filesystem flagging this as
a problem too - did you?  (cos if not, thats a driver bug that
should be fixed).

> with 512b sectors, your device supports only 4k sectors.  hence:
> 
> XFS: device supports only 4096 byte sectors (not 512)

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>