Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- volume_names="random random1"
- ## Edit on the node
- ## brick_dir=
- for volume in ${volume_names}; do
- afr_xattr="trusted.afr.${volume}-client-"
- for dir in $(cat ${volume}_unique_dir.txt); do
- for i in $(seq 0 31); do
- setfattr -x $afr_xattr$i $brick_dir$dir
- done
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement