Wednesday 26 February 2014

script - for loop script to set the PVID for all hdisks

Mention all the hdisk names in a file ---> disks


for i in `cat disks`
do
chdev -l $i -a pv=yes
done

No comments:

Post a Comment