惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy & Cybersecurity Law Blog
O
OpenAI News
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
Cisco Blogs
AWS News Blog
AWS News Blog
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
美团技术团队
T
Threatpost
S
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Cyber Attacks, Cyber Crime and Cyber Security
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes
Blog — PlanetScale
Blog — PlanetScale
C
Cybersecurity and Infrastructure Security Agency CISA
F
Full Disclosure
博客园_首页
N
Netflix TechBlog - Medium
Security Latest
Security Latest
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Register - Security
The Register - Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Recent Announcements
Recent Announcements
博客园 - Franky
P
Palo Alto Networks Blog
Project Zero
Project Zero
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
H
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Cisco Talos Blog
Cisco Talos Blog
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 【当耐特】
GbyAI
GbyAI

Rat's Blog - Vultr

Vultr新老用户免费领取$100 Bare Metal独服使用券 - Rat's Blog Vultr利用快照备份Snapshots功能快速的备份和迁移资料 - Rat's Blog
Vultr VPS服务器挂载硬盘教程 - Rat's Blog
博主: Rat's · 2018-02-13 · via Rat's Blog - Vultr

说明:之前Vultr搞活动免费领取的永久50G硬盘和前些日子免费撸的服务器,都需要用到挂载硬盘,所以就说下挂载方法,适用于任何VPS服务器。

方法

这里以挂载50G为例,先去后台ServersBlock Storage50G硬盘添加到服务器后再开始挂载。至于独立服务器或者其它VPS服务器,直接挂载就可以了。

1、查看硬盘信息

fdisk -l

我们看到多了个/dev/vdb硬盘。
请输入图片描述

2、硬盘分区

fdisk /dev/vdb

请输入图片描述
大致手法:

n p 默认 默认 默认 w

3、查看分区

fdisk -l

这时候会看到多了个/dev/vdb1分区。
请输入图片描述

4、格式化分区

mkfs.ext4 /dev/vdb1  #格式化为ext4类型

5、创建目录并挂载

mkdir /Rats  #名称自己定
mount /dev/vdb1 /Rats

这时候输入df -h查看挂载成功没。
请输入图片描述

6、开机自启

nano /etc/fstab

添加以下内容:

磁盘分区 挂载目录 文件格式 defaults 0 0
#例如
/dev/vdb1 /Rats ext4 defaults 0 0

关于免费的50G,删除挂载的服务器后,里面的数据依然存在,可以继续开个服务器挂载到其它服务器使用。


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/514/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。