xfs
[Top] [All Lists]

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

To: "Raz Ben-Jehuda(caro)" <raziebe@xxxxxxxxx>
Subject: Re: changing xfs file system tunnings(sunit,swidth) after mkfs.xfs
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Tue, 27 Mar 2007 08:10:30 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <5d96567b0703261325m8f17b2eg55e04264fee4832a@xxxxxxxxxxxxxx>
Organization: Aconex
References: <5d96567b0703261325m8f17b2eg55e04264fee4832a@xxxxxxxxxxxxxx>
Reply-to: nscott@xxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
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


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