From 5d5b262be85f81d9a35c5be1f4e176bdffd20acc Mon Sep 17 00:00:00 2001 From: Michael Barton Date: Thu, 20 Dec 2012 13:35:19 -0800 Subject: [PATCH] Revert "suggest fallocate instead of dd in saio" Change-Id: I3742c4580d920e09de434e86b75b134c62f1732e --- doc/source/development_saio.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/development_saio.rst b/doc/source/development_saio.rst index 4a73094bc2..18de01c105 100755 --- a/doc/source/development_saio.rst +++ b/doc/source/development_saio.rst @@ -89,8 +89,8 @@ Using a loopback device for storage If you want to use a loopback device instead of another partition, follow these instructions. #. `mkdir /srv` - #. `fallocate /srv/swift-disk -l 100MB` - (modify length to make a larger or smaller partition) + #. `dd if=/dev/zero of=/srv/swift-disk bs=1024 count=0 seek=1000000` + (modify seek to make a larger or smaller partition) #. `mkfs.xfs -i size=1024 /srv/swift-disk` #. Edit `/etc/fstab` and add `/srv/swift-disk /mnt/sdb1 xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0`