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

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cloudbric
Cloudbric
P
Palo Alto Networks Blog
T
Threatpost
T
Tor Project blog
T
Tenable Blog
AWS News Blog
AWS News Blog
Project Zero
Project Zero
L
LangChain Blog
Cyberwarzone
Cyberwarzone
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Latest
Security Latest
云风的 BLOG
云风的 BLOG
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
MongoDB | Blog
MongoDB | Blog
aimingoo的专栏
aimingoo的专栏
K
Kaspersky official blog
Jina AI
Jina AI
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
IT之家
IT之家
Forbes - Security
Forbes - Security
The Hacker News
The Hacker News
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Y
Y Combinator Blog

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