[root@localhost ~]# lsblk /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 223.4G 0 disk
├─sdb1 8:17 1 50G 0 part
├─sdb2 8:18 1 1K 0 part
├─sdb5 8:21 1 80G 0 part
└─sdb6 8:22 1 93.4G 0 part
[root@localhost ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 239.9 GB, 239902654464 bytes, 468559872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x93de47a2
Device Boot Start End Blocks Id System
/dev/sdb1 2048 104859647 52428800 83 Linux
/dev/sdb2 104859648 468559871 181850112 5 Extended
/dev/sdb5 104861696 272633855 83886080 83 Linux
/dev/sdb6 272635904 468559871 97961984 83 Linux
[root@localhost ~]# mkfs.xfs -f -i attr=2 -l lazy-count=1,sectsize=4096 -b size=4096 -d sectsize=4096 -n ftype=1 /dev/sdb1
[root@localhost ~]# mkdir /data1
[root@localhost ~]# mount /dev/sdb1 /data1
[root@localhost ~]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 xfs 50G 7.8G 43G 16% /
devtmpfs devtmpfs 63G 0 63G 0% /dev
tmpfs tmpfs 63G 0 63G 0% /dev/shm
tmpfs tmpfs 63G 18M 63G 1% /run
tmpfs tmpfs 63G 0 63G 0% /sys/fs/cgroup
tmpfs tmpfs 13G 40K 13G 1% /run/user/0
/dev/sdb1 xfs 50G 33M 50G 1% /data1
/dev/sdb1 /data1 xfs defaults 0 0