xfs
[Top] [All Lists]

Re: question about repartitioning/resizing XFS

To: Thomas Duffy <tduffy@xxxxxxxxx>
Subject: Re: question about repartitioning/resizing XFS
From: Steve Lord <lord@xxxxxxx>
Date: Fri, 06 Jul 2001 12:33:37 -0500
Cc: Deniz Akkus Kanca <akkus@xxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: Message from Thomas Duffy <tduffy@afara.com> of "06 Jul 2001 10:28:00 PDT." <994440480.10317.7.camel@tduffy-lnx.afara.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> On 06 Jul 2001 11:11:22 +0300, Deniz Akkus Kanca wrote:
> 
> > Due to performance issues I need to increase RAM to 2 Gig and consequently
> > increase the swap space to 4 Gig.
> 
> your best bet is probably to just create a SWAP file on the xfs partition.  i
> n
> order to do this, dd if=/dev/zero of=/SWAP bs=1k count=2147483648.  then mksw
> ap
> it and add an entry to your /etc/fstab.
> 
> that way, you do not need to move any partitions around.
> 
> -tduffy

Good idea, and if you use a big dd block size on an idle system, and type
sync afterwards, there is a good chance XFS will lay out the swap file
almost contiguous on disk.

Steve



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