Add newly added luns to /etc/multipath.conf file to make MD devices...
# vgcreate -s 128M SANvg11 /dev/mapper/MDDISK05p1 /dev/mapper/MDDISK06p1 /dev/mapper/MDDISK07p1 /dev/mapper/MDDISK08p1
# lvcreate -i4 -I128 -L402G -n DATA11 SANvg11 /dev/mapper/MDDISK05p1 /dev/mapper/MDDISK06p1 /dev/mapper/MDDISK07p1 /dev/mapper/MDDISK08p1
# mkfs.ext4 /dev/SANvg11/DATA11
Add entry to fstab
# mount -a
# chown obdata:obgrp /opt/data11
# ls -ld /opt/data11
# lvs -a -o +devices | grep SANvg
# vgdisplay SANvg11
# vgcreate -s 128M SANvg11 /dev/mapper/MDDISK05p1 /dev/mapper/MDDISK06p1 /dev/mapper/MDDISK07p1 /dev/mapper/MDDISK08p1
# lvcreate -i4 -I128 -L402G -n DATA11 SANvg11 /dev/mapper/MDDISK05p1 /dev/mapper/MDDISK06p1 /dev/mapper/MDDISK07p1 /dev/mapper/MDDISK08p1
# mkfs.ext4 /dev/SANvg11/DATA11
Add entry to fstab
# mount -a
# chown obdata:obgrp /opt/data11
# ls -ld /opt/data11
# lvs -a -o +devices | grep SANvg
# vgdisplay SANvg11
No comments:
Post a Comment