-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathscript-06.sh
More file actions
31 lines (22 loc) · 839 Bytes
/
script-06.sh
File metadata and controls
31 lines (22 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/bash
TASK="Create Storage Scale filesystems"
source /vagrant/install/common-preamble.sh
# Show Storage Scale filesystem specification
echo "===> Show filesystem specification"
sudo /usr/lpp/mmfs/$VERSION/ansible-toolkit/spectrumscale filesystem list
# Create Storage Scale filesystems
echo "===> Create Storage Scale filesystems"
sudo /usr/lpp/mmfs/$VERSION/ansible-toolkit/spectrumscale deploy
# Enable quotas
echo "===> Enable quotas"
echo "===> Note: Capacity reports in the GUI depend on enabled quotas"
sudo mmchfs fs1 -Q yes
# Show Storage Scale filesystem configuration
echo "===> Show Storage Scale filesystem configuration"
sudo mmlsfs all
# Show Storage Scale filesystem usage
echo "===> Show Storage Scale filesystem usage"
sudo mmdf fs1
# Exit successfully
echo "===> Script completed successfully!"
exit 0