Centos 7 无法使用 fdisk 找到

Centos 7 无法使用 fdisk 找到

我可以找到 /dev/vda1fdisk/dev/vdb未找到。发生了什么?我该如何解决?

谢谢

[root@tp-gpdb-ku05 master]# fdisk -l                           

Disk /dev/vda: 107.4 GB, 107374182400 bytes, 209715200 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: 0x000b1ef9                                    

   Device Boot      Start         End      Blocks   Id  System 
/dev/vda1   *        2048   209715166   104856559+  83  Linux  

Disk /dev/vdb: 107.4 GB, 107374182400 bytes, 209715200 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              

[root@tp master]# fdisk -l /dev/vdb

Disk /dev/vdb: 107.4 GB, 107374182400 bytes, 209715200 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

[root@tp master]#
[root@tp master]#df
/dev/vda1      104846316 5513836  99332480   6% /
devtmpfs         3984412       0   3984412   0% /dev
tmpfs            4005084   16768   3988316   1% /run
tmpfs            4005084       0   4005084   0% /sys/fs/cgroup
/dev/vdb       104806400  156308 104650092   1% /data

答案1

似乎已找到 /dev/vdb,该数据库可用且正在使用中,并且已作为 /data 安装。

/dev/vdb       104806400  156308 104650092   1% /data

相关内容