In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Disk format, hanging disk
[root@k10148008056 ~] # fdisk-l
[root@k10148008071 ~] # df-Th
Filesystem Type Size Used Avail Use% Mounted on
/ dev/vdb1 xfs 500G 33m 500G 1% / oradata
[root@k10148008056 ~] # mkfs.xfs / dev/vdb
[root@k10138002151 u01] # cd / mnt
[root@k10138002151 mnt] # mkdir u01
[root@k10138002151 mnt] # cd u01/
[root@k10138002151 u01] # pwd
/ mnt/u01
[root@k10138002151 u01] # mount / dev/vdb / mnt/u01
[root@k10138002151 U01] # df-h
/ dev/mapper/ol-u01 27G 9.1G 18G 34% / U01
/ dev/vdb 4.0T 33M 4.0T 1% / mnt/u01
[root@k10138002151 U01] # cp-a / u01 / mnt/u01/
[root@k10138002151 U01] # rm-rf / U01 Universe *
[root@k10138002151 u01] # umount / dev/vdb
[root@k10138002151 U01] # df-h
/ dev/mapper/ol-u01 27G 347M 27G 2% / U01
Tmpfs 797M 0 797m 0% / run/user/1001
[root@k10138002151 u01] # vi / etc/fstab
# / dev/mapper/ol-u01 / u01 xfs defaults 0 0
/ dev/vdb / u01 xfs defaults 0 0
[root@k10138002151 /] # df-h
/ dev/mapper/ol-u01 27G 347M 27G 2% / U01
Tmpfs 797M 0 797m 0% / run/user/1001
[root@k10138002151 /] # mount-a
[root@k10138002151 /] # df-h
/ dev/vdb 4.0T 9.1G 3.9T 1% / U01
Tmpfs 797M 0 797m 0% / run/user/1001
[root@k10138002151 /] # cd / u01
[root@k10138002151 u01] # ll
Total 4
Drwxr-xr-x. 4 oracle oinstall 52 May 30 06:58 app
Drwxr-xr-x. 3 oracle oinstall 4096 May 30 06:41 source
[root@k10138002151 u01] # pwd
/ u01
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.