xfs
[Top] [All Lists]

Re: changing xfs file system tunnings(sunit,swidth) after mkfs.xfs

To: nscott@xxxxxxxxxx
Subject: Re: changing xfs file system tunnings(sunit,swidth) after mkfs.xfs
From: "Raz Ben-Jehuda(caro)" <raziebe@xxxxxxxxx>
Date: Tue, 27 Mar 2007 09:04:33 +0200
Cc: xfs@xxxxxxxxxxx
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PyZClNIvZQBUfqtOX/Zl7JN+BPez4RIUt6/sJkTR81h6IiOlrX9XsnlXlnRakQd1Aq2G7HET0TZhqx7PegO8KHA3c1nV2GAZpmJ9PpG5vPsfhV3Yjy4htdCOHfTAss8wIuL0fw2psV43hR5Ac4XnDgR3SJSkS6CFes+/q9YpMtI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RBsbGf78Citi+ud1cyFYdUTQh+1Z+2ljrCtKkG71DSXMS95ixWtU6BpUXpTkszPL3DA8eaNprP13ssWGqPrzhDZut5cmPKkhkrAV68AzasgqsOk5rwlUlvQx8jnYtYokwLpQKF2AE3tpTssogvyFswtl0Uq6Vu6m/GQd1MxnJt8=
In-reply-to: <1174947030.5051.586.camel@edge>
References: <5d96567b0703261325m8f17b2eg55e04264fee4832a@mail.gmail.com> <1174947030.5051.586.camel@edge>
Sender: xfs-bounce@xxxxxxxxxxx
ahha...
but did you ever tried to set an sunit value bigger than the one
set during the mkfs.xfs ?

On 3/27/07, Nathan Scott <nscott@xxxxxxxxxx> wrote:
On Mon, 2007-03-26 at 22:25 +0200, Raz Ben-Jehuda(caro) wrote:
> I want to change the sunit,swidth of a file system which
> was already created with a different tunnings, or at least
> mount it with a different values.
> Is it possible ?

>From the XFS section in mount(8) ...

   sunit=value and swidth=value
       Used to specify the stripe unit and width for a RAID device or a
       stripe volume.  value must be specified in 512-byte block units.
       If this option is not specified and the filesystem was made on a
       stripe volume or the stripe width or unit were specified for the
       RAID device at mkfs  time,  then  the  mount  system  call  will
       restore the value from the superblock.  For filesystems that are
       made directly on RAID devices, these  options  can  be  used  to
       override  the  information  in  the superblock if the underlying
       disk layout changes after the filesystem has been created.   The
       swidth  option  is  required if the sunit option has been speci‐
       fied, and must be a multiple of the sunit value.


cheers.

--
Nathan




--
Raz


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