Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to mount NTFS USB disk in CentOS7

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces CentOS7 how to mount NTFS U disk, the article is very detailed, has a certain reference value, interested friends must read it!

Environmental preparation

Install Ali Cloud yum source

Wget-O / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

Install ntfs-3g

Yum install ntfs-3g-y

View disk information

Fdisk-l disk / dev/sdb:5001.0 GB, 5000981077504 bytes, 9767541167 sector Units = sector of 1 * 512 = 512bytes sector size (logical / physical): 512byte / 4096 byte I size O (min / best): 4096byte / 4096byte disk label type: gptDisk identifier: 68D5DF6F-0C1E-403F-920B-7462BFDB5FD2# Start End Size Type Name1 34 262177 128m Microsoft reser Microsoft reserved partitionPartition 1 does not start on physical sector boundary.2 264192 976757354.6T Microsoft basic Basic data partition

View block information

LsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 50G 0 disk ├─ sda1 8:1 0 1G 0 part / boot └─ sda2 8:2 049G 0 part centos-root 253 purl 0 045.1G 0 lvm / └─ centos-swap 253 Race 1 03.9G 0 lvm [SWAP] sdb 8:16 04.6T 0 disk ├─ sdb1 8:17 0128M 0 part sdb2 8:18 04.6T 0 part / datasr0 11:0 1 973M 0 rom mount the U disk

Create a mount directory

Mkdir / data

Mount the USB disk

Mount-t ntfs-3g / dev/sdb2 / data

Check mounting

Df-hl file system capacity used available mount point devtmpfs 1.9G 0 1.9G 0 / devtmpfs 1.9G 0 1.9G 0 / dev/shmtmpfs 1.9G 12M 1.9G 1% / runtmpfs 1.9G 01.9G 0% / sys/fs/cgroup/dev/mapper/centos-root 46G 2.2G 43G 5% / dev/sda1 1014M 150M 865M 15% / boottmpfs 378M 0378M 0% / run/user/0 / dev/sdb2 above is all the content of the article "how to mount a NTFS USB disk in CentOS7" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report