In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the Redhat Linux 7 hard disk operation example analysis, has a certain reference value, interested friends can refer to, I hope you read this article after a lot of gains, the following let Xiaobian take you to understand.
1. View hard drives Add hard drives. [Take 10 GB disk as an example]
#fidisk -l
We can see that sdb is our new 10G disk.
2. Make sure the sdb disk is not our added hard disk.
#lsblk -f
We can see that the sdb disk is unallocated.
3. Create a new disk partition for sdb.
#fdisk /dev/sdb
(1) Press the M key to access the operation menu.
(2) Press the n key to select New Partition.
(3) p Select default
(4) Divide into 1 partition according to 1. [Can be selected according to actual situation]
4. Format the new partition.
#mkfs -t ext4 /dev/sdb1
5. Mount the new partition. [I mount the new partition under var directory]
#mount /dev/sdb1 /var
6. View mounted partitions.
#df -h
7. Set partition auto mount.
#vi /etc/fstab
8.init 6. [Restart the system and check the suspended disks again]
Thank you for reading this article carefully. I hope that the article "Example Analysis of Hard Disk Operation in Redhat Linux 7" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support it a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.