Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Attach block volume using ICSCI commands and create mount points in OCI

$
0
0
Attach created storage in new server using ISCSI commands:



Verify storage attachment using fdisk
fdisk –l

Create physical volume
pvcreate /dev/sdb
Create volume group
Vgcreate bvdemo /dev/sdb



Create logical volumes using lvm and verify it using lsblk
lvcreate -n demo1 -L 500G bvdemo
lvcreate -n demo2 -L 500G bvdemo
lsblk –f


Format the disk
mkfs.ext4 /dev/bvdemo/demo1
mkfs.ext4 /dev/bvdemo/demo2


Create directories under root


Mount the volumes
mount /dev/bvdemo/demo1 /demo1mount
mount /dev/bvdemo/demo2 /demo2mount



Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>