我正在尝试将我的 NTFS 1.5TB 硬盘安装到运行版本 12 的 ubuntu 服务器上
我使用这个命令
mount -t ntfs-3g /dev/sdb1 /dummy
我得到的错误是这样的:
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.
fdisk -l 给我带来了这个:
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
16 heads, 63 sectors/track, 2907021 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfd17b6bb
Device Boot Start End Blocks Id System
/dev/sda1 2048 2930274303 1465136128 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00004c1b
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 499711 248832 83 Linux
/dev/sdb2 501758 976771071 488134657 5 Extended
/dev/sdb5 501760 976771071 488134656 8e Linux LVM
Disk /dev/mapper/linxuServer-root: 495.6 GB, 495624126464 bytes
255 heads, 63 sectors/track, 60256 cylinders, total 968015872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/linxuServer-root doesn't contain a valid partition table
Disk /dev/mapper/linxuServer-swap_1: 4173 MB, 4173332480 bytes
255 heads, 63 sectors/track, 507 cylinders, total 8151040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/linxuServer-swap_1 doesn't contain a valid partition table
Disk /dev/mapper/cryptswap1: 4173 MB, 4173332480 bytes
255 heads, 63 sectors/track, 507 cylinders, total 8151040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb7763384
Disk /dev/mapper/cryptswap1 doesn't contain a valid partition table
我尝试过 fuser -vm /dev/sda 并出现此错误:
USER PID ACCESS COMMAND
/dev/sda: root kernel swap /dev/dm-2
root kernel mount /dev
root 1 F.... init
root 330 F.... mountall
root 399 F.... upstart-udev-br
root 402 F.... udevd
root 533 F.... udevd
root 535 F.... udevd
root 818 F.... upstart-socket-
root 932 F.... smbd
messagebus 939 F.... dbus-daemon
root 941 F.... smbd
avahi 955 F.... avahi-daemon
avahi 956 F.... avahi-daemon
root 1070 F.... dhclient3
root 1113 F.... sshd
root 1151 F.... nmbd
root 1233 F.... getty
root 1238 F.... getty
root 1251 F.... getty
root 1254 F.... getty
root 1258 F.... winbindd
root 1262 F.... getty
root 1267 F.... winbindd
whoopsie 1286 F.... whoopsie
root 1288 F.... acpid
root 1291 F.... irqbalance
root 1329 F.... apache2
www-data 1332 F.... apache2
www-data 1334 F.... apache2
www-data 1335 F.... apache2
root 1403 F.... cron
daemon 1404 F.... atd
tomcat6 1450 f.... java
root 1624 f.... sabnzbdplus
root 1665 F.... getty
root 1677 F.... sshd
root 1679 F.... winbindd
我尝试过这个:
mount -t ntfs-3g /dev/sda1 /dummy
出现以下错误:
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
有什么建议吗?
谢谢
答案1
嗯……你的 fdisk 指示 /dev/sda1 包含 NTFS 卷。但是你在问题中提交的 mount 命令:
mount -t ntfs-3g /dev/sdb1 /dummy
表示您正在尝试挂载 /dev/sdb1。Linux 确实正在使用它。
因此答案似乎是使用:
mount -t ntfs-3g /dev/sda1 /dummy