xfs
[Top] [All Lists]

Re: Invalid argument when trying to set the blocksize.

To: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Subject: Re: Invalid argument when trying to set the blocksize.
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 5 Jun 2002 11:08:16 +1000
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1023219336.7927.25.camel@UberGeek>; from austin@xxxxxxxxxxxxxxx on Tue, Jun 04, 2002 at 02:35:36PM -0500
References: <1023219336.7927.25.camel@UberGeek>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Tue, Jun 04, 2002 at 02:35:36PM -0500, Austin Gonyou wrote:
> I try to perform the following:
> 
> mkfs.xfs -b size=8192 /dev/data/datavol1
> 
> The fs is made on the volume, but I get the following message:
> 
> mkfs.xfs: warning - cannot set blocksize on block device 
> /dev/data/datavol1: Invalid argument
> 
> 
> I'm using LVM 1.1rc2 tools, and have a 2.4.19-pre9-aa2 kernel. 
> 
> Is this another one of those ioctl() things that's depricated or is it
> something else. TIA

This block device doesn't support the BLKBSZSET ioctl - it's missing
functionality, not something that's deprecated.  It also returns the
wrong errno for an unrecognised ioctl (should be ENOTTY apparently).

cheers.

-- 
Nathan


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