The following is assuming that the server can already see the disk
Scan on linux box
ls
/sys/class/scsi_host/ | while read host ; do echo "- - -" >
/sys/class/scsi_host/$host/scan ; done
vgcreate
vg_data2 /dev/sdd
To
view the volume group
vgdisplay
4.
Create the logical volume
lvcreate
-n lv_data2 vg_data2 -l 100%VG
To
view the logical volume
lvdisplay
5.
Make the filesystem
mkfs
-t ext4 /dev/vg_data2/lv_data2
6.
Create the mount point and mount
mkdir
/data2
mount
-t ext4 /dev/vg_data2/lv_data2 /data2
7.
Make permanent by adding to /etc/fstab
/dev/mapper/vg_data2-lv_data2
/data2 ext4 defaults 1 2