Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problem with install siwft

hello.

there are three question: A, B, C

please answer me:

For install swift on vm:

First: Installing dependencies:

apt-get update

apt-get install curl gcc memcached rsync sqlite3 xfsprogs git-core python-setuptools

apt-get install python-coverage python-dev python-nose python-simplejson python-xattr python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip python-dnspython python-mock

Next, choose either Using a partition for storage or Using a loopback device for storage: 1.Using a partition for storage: If you are going to use a separate partition for Swift data, be sure to add another device when creating the VM, and follow these instructions. 2.Using a loopback device for storage: If you want to use a loopback device instead of another partition, follow these instructions.

A) Which is better?????????????1 or 2????????????????? 1.mkdir /srv 2.truncate -s 1GB /srv/swift-disk (modify size to make a larger or smaller partition) 3.mkfs.xfs /srv/swift-disk 4.Edit /etc/fstab and add /srv/swift-disk /mnt/sdb1 xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0

B) How log and edit and add and store and exit????????????? Vi /etc/fstab????????????????????????? 1.mkdir /mnt/sdb1 2.mount /mnt/sdb1

error: mount can't find in /etc/fstab or /etc/mtab 1.mkdir /mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4 2.chown <your-user-name>:<your-group-name> /mnt/sdb1/*

C) what are your-user-name and your-group-name??????????????????????????????

thanks

problem with install siwftswift

hello.

there are three question: A, B, C

please answer me:

For install swift on vm:

First: Installing dependencies:

apt-get update

apt-get install curl gcc memcached rsync sqlite3 xfsprogs git-core python-setuptools

apt-get install python-coverage python-dev python-nose python-simplejson python-xattr python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip python-dnspython python-mock

Next, choose either Using a partition for storage or Using a loopback device for storage: 1.Using a partition for storage: If you are going to use a separate partition for Swift data, be sure to add another device when creating the VM, and follow these instructions. 2.Using a loopback device for storage: If you want to use a loopback device instead of another partition, follow these instructions.

A) Which is better?????????????1 or 2????????????????? 1.mkdir /srv 2.truncate -s 1GB /srv/swift-disk (modify size to make a larger or smaller partition) 3.mkfs.xfs /srv/swift-disk 4.Edit /etc/fstab and add /srv/swift-disk /mnt/sdb1 xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0

B) How log and edit and add and store and exit????????????? Vi /etc/fstab????????????????????????? 1.mkdir /mnt/sdb1 2.mount /mnt/sdb1

error: mount can't find in /etc/fstab or /etc/mtab 1.mkdir /mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4 2.chown <your-user-name>:<your-group-name> /mnt/sdb1/*

C) what are your-user-name and your-group-name??????????????????????????????

thanks

problem with install swift

hello.

there are three question: A, B, C

please answer me:

For install swift on vm:

First: Installing dependencies:

apt-get update

apt-get install curl gcc memcached rsync sqlite3 xfsprogs git-core python-setuptools

apt-get install python-coverage python-dev python-nose python-simplejson python-xattr python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip python-dnspython python-mock

Next, choose either Using a partition for storage or Using a loopback device for storage: 1.Using a partition for storage: If you are going to use a separate partition for Swift data, be sure to add another device when creating the VM, and follow these instructions. 2.Using a loopback device for storage: If you want to use a loopback device instead of another partition, follow these instructions.

A) Which is better?????????????1 or 2????????????????? 1.mkdir /srv 2.truncate -s 1GB /srv/swift-disk (modify size to make a larger or smaller partition) 3.mkfs.xfs /srv/swift-disk 4.Edit /etc/fstab and add /srv/swift-disk /mnt/sdb1 xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0

B) How log and edit and add and store and exit????????????? Vi /etc/fstab????????????????????????? 1.mkdir /mnt/sdb1 2.mount /mnt/sdb1

error: mount can't find in /etc/fstab or /etc/mtab 1.mkdir /mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4 2.chown <your-user-name>:<your-group-name> /mnt/sdb1/*

C) what are your-user-name and your-group-name??????????????????????????????

thanks