Similar to all other computing platforms such as Windows,UNIX,Mac, Linux
is capable of working with most of the storage technologies that are
available in the market today. Common Storage devices:-
#lsblk
#mkdir /mnt/Linux1
#mount /dev/nvme0n1 /mnt/Linux1
#cd /mnt/Linux1
#touch file1 file2 file3
# ls –l
#fdisk /dev/sdb
Command (m for help): m <enter>
Command action
a toggle a bootable flag
b edit bsd disklable
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a empty sun disklable
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help) :
Command action
e extended
p primary partition (1-4)
partition number (1-4)
#partprobe /dev/sdb
#fdisk –l
#mkfs.xfs -f /dev/sdb1
#mkdir /mnt/aitvolume
#mount /dev/sdb1 /mnt/aitvolume
#cd /mnt/aitvolume
#touch file1 file2 file3 file4
#ls –l