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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

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个机房按小时计费,支持支付宝,【点击查看】。