我在我的服务器上挂载一块硬盘,输入命令disk -l,看到的信息如下:
Disk /dev/sda: 146.8 GB, 146815733760 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 3682 17849 113804460 83 Linux
/dev/sda3 26 2636 20972857+ 83 Linux
/dev/sda4 2637 3681 8393962+ 5 Extended
/dev/sda5 2637 3680 8385898+ 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9306 74750413+ 83 Linux
/dev/sdb2 9307 9729 3397747+ 82 Linux swap / Solaris
下面的硬盘应该是挂载上去的,我想用这个硬盘里的文件,请问怎么操作,如何挂载?挂载上以后目录是什么?
登陆linux服务器后根据系统输入一下命令
Centos系统请使用以下命令(常用的):
yum install wget -y && wget -O auto_disk.sh https://www.jyyidc.com/linux/tools/auto_disk.sh && bash auto_disk.sh
Ubuntu系统请使用以下命令:
wget -O auto_disk.sh https://www.jyyidc.com/linux/tools/auto_disk.sh && sudo bash auto_disk.sh
Debian系统请使用以下命令:
wget -O auto_disk.sh https://www.jyyidc.com/linux/tools/auto_disk.sh && bash auto_disk.sh
linux面板安装代码:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh a0cd811a0