Linux下动态加载硬盘,不用重启系统(linux不重启加硬盘)

the linux system has many advantages such as stability, strong execution ability and so on. With the development of the Internet, Linux has been widely used by people. Recently, many people have encountered the problem of dynamic loading hard disk. This paper mainly introduces the steps of using Linux system to dynamically load hard disks without restarting the system.

创新互联始终坚持【策划先行,效果至上】的经营理念,通过多达10余年累计超上千家客户的网站建设总结了一套系统有效的推广解决方案,现已广泛运用于各行各业的客户,其中包括:成都VR全景等企业,备受客户赞美。

1. First of all, enter the Linux system and press the “Ctrl+Alt+T” shortcut to open the terminal. Enter the command line “sudo dmseg” to learn the connection information of the hard disk, including the manufacturer and model;

2. Use the command line “sudo apt-get install sdparm”, install the command line “sdparm” from the network;

3. Execute the command line “sudo sdparm –inquiry /dev/sdx”,where “sdx” stands for the connection information obtained in the first step. Replace the hard disk inquiry information obtained in the previous steps to execute the command, so that the hard disk can be dynamically loaded;

4. Input the command line of “sudo partprobe” to make the loading of the hard disk take effect;

5. Finally, check whether the hard disk is successfully loaded through the command line of “sudo fdisk -l”.

It can be seen from the above that using Linux system to dynamically load hard disk without restarting the system is very easy. People only need to enter a few command lines to make their hard disk take effect without restarting the system. Therefore, the loading of Linux system hard disk does not need to restart.

香港服务器选创新互联,2H2G首月10元开通。
创新互联(www.cdcxhl.com)互联网服务提供商,拥有超过10年的服务器租用、服务器托管、云服务器、虚拟主机、网站系统开发经验。专业提供云主机、虚拟主机、域名注册、VPS主机、云服务器、香港云服务器、免备案服务器等。

分享标题:Linux下动态加载硬盘,不用重启系统(linux不重启加硬盘)
链接地址:http://www.mswzjz.cn/qtweb/news12/35462.html

攀枝花网站建设、攀枝花网站运维推广公司-贝锐智能,是专注品牌与效果的网络营销公司;服务项目有等

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 贝锐智能