lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 930.3G 0 part
├─rhel_r01edge-root 253:0 0 50G 0 lvm /
├─rhel_r01edge-swap 253:1 0 15.7G 0 lvm [SWAP]
└─rhel_r01edge-home 253:5 0 864.6G 0 lvm /home
sdb 8:16 0 931.5G 0 disk
└─sdb1 8:17 0 931.5G 0 part /app
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 200M 0 part /data1
├─sdc2 8:34 0 1G 0 part
└─sdc3 8:35 0 930.3G 0 part
├─rhel_r01edge00-swap 253:2 0 15.7G 0 lvm
├─rhel_r01edge00-home 253:3 0 864.6G 0 lvm
└─rhel_r01edge00-root 253:4 0 50G 0 lvm
sdd 8:48 0 1.8T 0 disk
sr0 11:0 1 1024M 0 rom
create a partition, with gpt
fdisk /dev/sdd
g --→this creates a new empty GPT partition table
n --→ this creates a new partition
w -→ this writes the changes to disk
create an ext3 file system on the newly created partition:
mkfs -t ext3 /dev/sdd1
create a directory to mount the filesystem
mkdir /data2
create an entry in /etc/fstab, so the filesystem is mounted on boot
vi /etc/fstab
/dev/sdd1 /data2 ext3 defaults 0 0
mount the file system:
mount /data2