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

推荐订阅源

WordPress大学
WordPress大学
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
月光博客
月光博客
V
Visual Studio Blog
T
Tailwind CSS Blog
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
Jina AI
Jina AI
J
Java Code Geeks
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
Recorded Future
Recorded Future
C
Check Point Blog
腾讯CDC
N
Netflix TechBlog - Medium
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
Hacker News: Ask HN
Hacker News: Ask HN
SecWiki News
SecWiki News
博客园 - Franky
Hacker News - Newest:
Hacker News - Newest: "LLM"
N
News | PayPal Newsroom
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security @ Cisco Blogs
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
F
Full Disclosure
The Cloudflare Blog
Y
Y Combinator Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
S
Schneier on Security
Schneier on Security
Schneier on Security
Spread Privacy
Spread Privacy
L
LINUX DO - 热门话题
AI
AI
N
News and Events Feed by Topic
T
Tor Project blog
P
Palo Alto Networks Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog

王鑫的小屋

AI写小说基本思路探讨 - 王鑫的小屋 这个月忙着自娱自乐 - 王鑫的小屋 搭建seafile服务端,修改文件存储目录 - 王鑫的小屋 白银暴跌,又一次见证了历史 - 王鑫的小屋 2026年我的信用卡持卡计划 - 王鑫的小屋 北京首都国际机场贵宾楼使用攻略 - 王鑫的小屋 全网首发,西安咸阳国际机场T5贵宾楼使用攻略 - 王鑫的小屋 吐血,节前机票价格又跳水了 - 王鑫的小屋 最近的大A有点意思,记录下 - 王鑫的小屋
Linux挂载硬盘教程(Steps to mount a partition in Linux) - 王鑫的小屋
admin · 2026-02-23 · via 王鑫的小屋

这鬼天气!前几天气温都快升到30℃,要穿短袖了,结果今天降温,下起了鹅毛大雪!!

春节最后一天,待在家里出不去,打算把Nextcloud重装下,用的是GreecloudVPS,需要挂载1T的硬盘,记录下过程。

  1. To check the mounted partitions, use the command
df -h
  1. List the partitions using the fdisk -l commands to identify the hard drive you want to mount.
fdisk -l

Looking at the output in the screenshot above, we have two hard disks added to the test system and we will mount the disk. /dev/vdb

To determine the filesystem type of the disk or partition.

blkid /dev/vdb
  1. Create a data folder to mount /dev/vdb into
mkdir -p /data
  1. Format disk /dev/vdb in ext4
mkfs.ext4 /dev/vdb

If you want to use XFS, run: mkfs.xfs /dev/vdb

  1. Add to fstab file to automatically mount the system when reboot
echo '/dev/vdb /data ext4 defaults 0 0' >> /etc/fstab

Or xfs:

echo '/dev/vdb /data xfs defaults 0 0' >> /etc/fstab
  1. Apply the changes by mounting all filesystems.
mount -a
  1. Confirm the disk or partition is mounted.
df -h

我也就不翻译了,很简单。