阿里云平台挂载Microsoft basic Basic data partition格式的云盘

在阿里云存储里,有几张云盘,其中格式
用fdisk -l查到云服务器中挂载了几张云盘,其中有4个是 Microsoft basic Basic data partition格式的云盘。



#         Start          End    Size  Type            Name
 1           34       262177    128M  Microsoft reser Microsoft reserved partition
Partition 1 does not start on physical sector boundary.
 2       264192  11534333951    5.4T  Microsoft basic Basic data partition

直接使用mount  /dev/vdc2  /data/vdc2出错。
然后又用mount  -t ntfs-3g  /dev/vdc2  /data/vdc2 还是不行。
说不识别。

那就安装支持ntfs的工具ntfs-3g.

> yum search ntfs-3g
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
============================= N/S matched: ntfs-3g =============================
ntfs-3g-devel.x86_64 : Development files and libraries for ntfs-3g
ntfs-3g-libs.x86_64 : Runtime libraries for ntfs-3g
ntfs-3g.x86_64 : Linux NTFS userspace driver

  Name and summary matches only, use "search all" for everything.

#安装ntf-3g
>yum install ntfs-3g.x86_64

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package ntfs-3g.x86_64 2:2021.8.22-2.el7 will be installed
--> Processing Dependency: ntfs-3g-libs(x86-64) = 2:2021.8.22-2.el7 for package: 2:ntfs-3g-2021.8.22-2.el7.x86_64
--> Processing Dependency: libntfs-3g.so.89()(64bit) for package: 2:ntfs-3g-2021.8.22-2.el7.x86_64
--> Running transaction check
---> Package ntfs-3g-libs.x86_64 2:2021.8.22-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch          Version                    Repository   Size
================================================================================
Installing:
 ntfs-3g             x86_64        2:2021.8.22-2.el7          epel        123 k
Installing for dependencies:
 ntfs-3g-libs        x86_64        2:2021.8.22-2.el7          epel        175 k

Transaction Summary
================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 298 k
Installed size: 649 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): ntfs-3g-libs-2021.8.22-2.el7.x86_64.rpm             | 175 kB   00:00
(2/2): ntfs-3g-2021.8.22-2.el7.x86_64.rpm                  | 123 kB   00:00
--------------------------------------------------------------------------------
Total                                              1.5 MB/s | 298 kB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:ntfs-3g-libs-2021.8.22-2.el7.x86_64                        1/2
  Installing : 2:ntfs-3g-2021.8.22-2.el7.x86_64                             2/2
  Verifying  : 2:ntfs-3g-2021.8.22-2.el7.x86_64                             1/2
  Verifying  : 2:ntfs-3g-libs-2021.8.22-2.el7.x86_64                        2/2

Installed:
  ntfs-3g.x86_64 2:2021.8.22-2.el7

Dependency Installed:
  ntfs-3g-libs.x86_64 2:2021.8.22-2.el7

Complete!

安装完成后再尝试一次

/dev/vdc2       5.4T  348M  5.4T   1% /data/vdc2
/dev/vdb2       5.4T  348M  5.4T   1% /data/vdb2
/dev/vdd2       5.4T  348M  5.4T   1% /data/vdd2
/dev/vde2       5.4T   12G  5.4T   1% /data/vde2

虽然出现了错误信息,但还是挂载成功了!
> mount  -t ntfs-3g /dev/vdb2  /data/vdb2
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

> mount -t ntfs-3g  /dev/vdc2   /data/vdc2
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the  fuser  command.

> mount  -t ntfs-3g /dev/vdd2   /data/vdd2
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

> mount -t ntfs-3g  /dev/vde2   /data/vde2
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only


© 版权声明

相关文章

暂无评论

none
暂无评论...