xfs
[Top] [All Lists]

Re: mounting raid5 with different unit values

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: mounting raid5 with different unit values
From: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Date: Sun, 7 Oct 2007 11:48:14 -0400 (EDT)
Cc: Raz <raziebe@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20071007145213.GA4504@puku.stupidest.org>
References: <5d96567b0710070015j723810aag20dc3e2866868684@mail.gmail.com> <20071007145213.GA4504@puku.stupidest.org>
Sender: xfs-bounce@xxxxxxxxxxx


On Sun, 7 Oct 2007, Chris Wedgwood wrote:

On Sun, Oct 07, 2007 at 09:15:23AM +0200, Raz wrote:

mount -osunit=6144,swidth=18432 /dev/md1 /d1/

those values are set when you make the filesystem, not mount it

see the mkfs.xfs man page



?

man mount :)

       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.

He should be able to specify those option from the command line using mount.

Justin.


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