Merge "Revert "suggest fallocate instead of dd in saio""

This commit is contained in:
Jenkins 2012-12-20 23:41:15 +00:00 committed by Gerrit Code Review
commit c1964e5f6a

View File

@ -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`