Debian挂载移动硬盘后分区读写报错怎么办

Debian挂载移动硬盘后分区读写报错怎么办


2024年1月12日发(作者:)

Debian挂载移动硬盘后分区读写报错怎么办

Debian在挂载移动硬盘后,会出现有的分区能够识别,而有的分区识别不了提示报错的情况,遇到这个问题该如何解决呢?下面店铺就给大家介绍下Debian挂载硬盘后分区读取报错的解决方法,希望对你有所帮助。

插到电脑USB接口后, 桌面自动弹出了4个盘符。 打开前2个都没有什么问题, 写读都正常。后面两个一双击就会报错:

Error mounting: mount exited with exit code 1: helper

failed with:

Unprivileged user can not mount NTFS block devices using

the external FUSE

library. Either mount the volume as root, or rebuild NTFS-3G with integrated

FUSE support and make it setuid root. Please see more

information at

/community/ntfs-3g-faq/#unprivileged

大意就是这个ntfs-3g 没权限无法挂载,不管是不是root 。

现在我们来解决掉这个问题:

首先看看挂载, 先拔掉移动硬盘 执行 再插上执行, 会发现多了sdb3,sdb5

root@debian:/# cat /etc/mtab

rootfs / rootfs rw 0 0

sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0

proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0

udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=1015602,mode=755 0 0

devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0

tmpfs /run tmpfs rw,nosuid,noexec,relatime,

size=813700k,mode=755 0 0

/dev/disk/by-uuid/4c487d8c-396c-4601-b76d-eff7118d6775 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0

tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0

tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=4446660k 0 0

fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0

rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0

0

binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0

/dev/sdb3 /media/PE vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0

/dev/sdb5 /media/T1 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

可以看到sdb是我的移动硬盘的, 但是只挂载了2个盘符。

查看下硬盘现状

fdisk -l

Disk /dev/sda: 1000.2 GB, 1 bytes

255 heads, 63 sectors/track, 121601 cylinders, total

1953525168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk identifier: 0xb73dddb4

Device Boot Start End Blocks Id System

/dev/sda1 * 2048 209719295 104858624 7 HPFS/NTFS/exFAT

Partition 2 does not start on physical sector boundary.

/dev/sda3 1258387456 1925328895 333470720 83 Linux

/dev/sda4 1925330944 1953523711 14096384 82 Linux swap

/ Solaris

Disk /dev/sdb: 1000.2 GB, 1 bytes

255 heads, 63 sectors/track, 121601 cylinders, total

1953523708 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: 0x6b7612b3

Device Boot Start End Blocks Id System

/dev/sdb1

/dev/sdb2

209921355

839685420

839685419

1953520064

314882032+

556917322+

7

7

HPFS/NTFS/exFAT

HPFS/NTFS/exFAT

/dev/sdb3 63 8401994 4200966 b W95 FAT32

/dev/sdb4 8401995 209921354 100759680 f W95 Ext‘d

(LBA)

/dev/sdb5

HPFS/NTFS/exFAT

Partition table entries are not in disk order

注意看, 这里识别了Disk /dev/sdb 1000.2 GB

8402058 209921354 100759648+ 7


发布者:admin,转转请注明出处:http://www.yc00.com/news/1705041630a1387811.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信