xfs
[Top] [All Lists]

RE: xfs_growfs(?)

To: "'Justin Piszcz'" <jpiszcz@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>
Subject: RE: xfs_growfs(?)
From: "Barry Naujok" <bnaujok@xxxxxxxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 11:04:14 +1100
In-reply-to: <Pine.LNX.4.64.0702071431300.29324@xxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
Thread-index: AcdK70DpJT6F9SinSSm13lL+gpvWbAAJQSFQ
Hi Justin, 

> -----Original Message-----
> From: xfs-bounce@xxxxxxxxxxx [mailto:xfs-bounce@xxxxxxxxxxx] 
> On Behalf Of Justin Piszcz
> Sent: Thursday, 8 February 2007 6:32 AM
> To: xfs@xxxxxxxxxxx
> Subject: xfs_growfs(?)
> 
> Anyone know the answer to this one?


You can change the sunit/swidth for XFS at any time by modifying the
mount options:

From the mount(8) man page:

-o sunit=<value>,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 specified, and must be a multiple of the sunit
value.

Barry.
 
> I have wondered the same thing.
> 
> ---------- Forwarded message ----------
> Date: Wed, 7 Feb 2007 12:16:55 -0600
> From: "Discussion@SR" <webmaster@xxxxxxxxxxxxxxxxx>
> To: jpiszcz@xxxxxxxxxxxxxxx
> Subject: Topic Subscription Reply Notification ( Discussion@SR )
> 
> jpiszcz,
> 
> poodel has just posted a reply to a topic that you have 
> subscribed to titled "RAID5 fileserver recommendations".
> 
> ----------------------------------------------------------------------
> QUOTE(jpiszcz @ Jan 3 2007, 12:08 PM) [snapback]237616[/snapback]
> 
> Growing the XFS filesystem is a breeze:
> 
> # xfs_growfs /raid5
> 
> 
> -----------------------------
> 
> 
> 
> Just thought of one thing... when you add another disk to the 
> set, doesn't that mess with the XFS parameters. Ideally, they 
> would be tuned to your number of hard disks at creation time, 
> but now they won't be?
> 
> Is there a way to tune the XFS after creation?
> ----------------------------------------------------------------------
> 
> The topic can be found here:
> http://forums.storagereview.net/index.php?showtopic=24099&view
=getnewpost
> 
> 
> 
> If you have configured in your control panel to recieve 
> immediate topic reply notifications, you may receive an
> email for each reply made to this topic.  Otherwise, only 1 
> email is sent per board visit for each subscribed topic.
> This is to limit the amount of mail that is sent to your inbox.
> 
> Unsubscribing:
> --------------
> 
> You can unsubscribe at any time by logging into your control 
> panel and clicking on the "View Subscriptions" link.
> 
> Regards,
> 
> The Discussion@SR team.
> http://forums.storagereview.net/index.php
> 
> 


<Prev in Thread] Current Thread [Next in Thread>
  • xfs_growfs(?), Justin Piszcz
    • RE: xfs_growfs(?), Barry Naujok <=