added cleaning up of logs in resetswift for saio

This commit is contained in:
Chuck Thier 2011-03-15 15:28:29 +00:00
parent 975094cb57
commit 6f46664ed1

View File

@ -584,6 +584,7 @@ Setting up scripts for running Swift
#!/bin/bash
swift-init all stop
find /var/log/swift -type f -exec rm -f {} \;
sudo umount /mnt/sdb1
sudo mkfs.xfs -f -i size=1024 /dev/sdb1
sudo mount /mnt/sdb1