for i in /sys/class/scsi_host/*; do echo “- - -“ > $i/scan; done
pvcreate /dev/sdb
vgcreate datavg /dev/sdb
lvcreate -n datalv -l 100%free datavg
mkfs.ext4 /dev/mapper/datavg-datalv
mkdir -p /data
/dev/datavg/datalv /data ext4 defaults 0 0
mount -a
df -Th