suggest fallocate instead of dd in saio

Change-Id: I4d5ba8e58216749c2858dc1c0b8225b3619a7287
This commit is contained in:
Michael Barton
2012年12月19日 14:10:07 -08:00
parent 97f79b9dda
commit e81ca8daf3

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`
#. `dd if=/dev/zero of=/srv/swift-disk bs=1024 count=0 seek=1000000`
(modify seek to make a larger or smaller partition)
#. `fallocate /srv/swift-disk -l 100MB`
(modify length 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`
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.