您尚未登录。

#1 2012-09-25 16:10:51

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

移动硬盘无法挂载

昨天买了一个移动硬盘,Ithink 埃森客 B52 2.5寸 320G,发现在 Arch 下只能挂载一次,但在 win7 下能正常识别、读写。详细情况请看帖子内容。

拿到硬盘后,我首先在 Arch 下将其连接到电脑,在 Thunar 左侧出现后,能点击挂载——一次,点击卸载后试图重新连接,发现不能挂载了。弹出对话框为:
460.jpg
然后我重启进入win7,用数据线将硬盘连接电脑后,弹出对话框让我将其格式化,不然无法使用。格式化为NTFS后,在win7下我试过多次挂载、卸载,都没出现问题,能读能写,在同学的电脑上也没有问题(win7)。再次重启进入 Arch 后,又是只能挂载一次。
今天上午,我在Arch下将其格式化为了NTFS(花了4小时:()

[root@Arch xiaolong]# mkfs.ntfs /dev/sdb1
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes: 100% - Done.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

然后拿到win7下,好,win7能识别。再次回到Arch,挂载一次卸载后,又无法挂载了,出现如上图的情况。在gparted中,给出了这样一个信息:
460.jpg

按照这个帖子,使用ntfsfix试图修复可能存在的我不明白的错误,无效:

Arch ~ $ sudo ntfsfix /dev/sdb1 
Mounting volume... ntfs_mst_post_read_fixup_warn: magic: 0x43425355  size: 4096   usa_ofs: 460  usa_count: 65535: Invalid argument
Actual VCN (0x800006009000000) of index buffer is different from expected VCN (0x0).
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
ntfs_mst_post_read_fixup_warn: magic: 0x43425355  size: 1024   usa_ofs: 1907  usa_count: 65535: Invalid argument
ntfs_mst_post_read_fixup_warn: magic: 0x43425355  size: 1024   usa_ofs: 1359  usa_count: 65535: Invalid argument
ntfs_mst_post_read_fixup_warn: magic: 0x43425355  size: 1024   usa_ofs: 1907  usa_count: 65535: Invalid argument
Record 3 has no FILE magic (0x43425355)
Failed to open inode FILE_Volume: Input/output error
Remount failed: Input/output error
Arch ~ $ sudo fdisk -l
[sudo] password for xiaolong: 

Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xde59fad1

   设备 Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    83888127    41943040    7  HPFS/NTFS/exFAT
/dev/sda2        83888128   209717247    62914560    7  HPFS/NTFS/exFAT
/dev/sda3       209717248   251660287    20971520    7  HPFS/NTFS/exFAT
/dev/sda4       251660288   625142447   186741080    5  Extended
/dev/sda5   *   251660351   260046217     4192933+  83  Linux
/dev/sda6       260046281   268432147     4192933+  83  Linux
/dev/sda7       268432211   310377862    20972826   83  Linux
/dev/sda8       310377926   314570827     2096451   82  Linux swap / Solaris
/dev/sda9       314570891   625142447   155285778+  83  Linux

Disk /dev/sdb: 320.1 GB, 320072932352 bytes, 625142446 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003c7b8

   设备 Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   625141759   312569856    7  HPFS/NTFS/exFAT

插入移动硬盘后,dmesg给出的信息:

Arch ~ $ dmesg | tail
[  577.545110] sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
[  577.545593] sd 7:0:0:0: [sdb] No Caching mode page present
[  577.545603] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[  577.547713] sd 7:0:0:0: [sdb] No Caching mode page present
[  577.547720] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[  577.571532]  sdb: sdb1
[  577.574183] sd 7:0:0:0: [sdb] No Caching mode page present
[  577.574192] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[  577.574197] sd 7:0:0:0: [sdb] Attached SCSI disk
[  596.608691] usb 2-1.1: reset high-speed USB device number 7 using ehci_hcd

系统信息:

Arch ~ $ uname -a
Linux Arch 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64 GNU/Linux

桌面环境为xfce

总之就是在win7下能正常使用,在Arch下怎样都无法使用,我真的没法在Arch下使用吗?也许各位能帮上忙,如果还需要什么信息请各位告诉我,帖子有些长,麻烦各位了

离线

#2 2012-09-25 17:38:02

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 移动硬盘无法挂载

用户名 xiaolong......

试试在 Windows 下检查并修复分区呢?

离线

#3 2012-09-25 18:03:30

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

我试过在win7下使用 “chkdsk g: /f ”,完成后win7能打开G盘(移动硬盘)了,之前我在Arch下拷进去的一个电影也能看到,但好像数据坏了(数据大小没变),不能播放。这是“chkdsk g: /f ”的结果:
460.jpg

离线

#4 2012-09-25 18:12:46

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

对了,win7下chkdsk之后进入Arch,只能挂载卸载一次,想要再次挂载就出现1楼中第一个图。
我的 8G U盘在Arch下能正常使用。

来回折腾之后,给我的感觉就是只要Arch一挂载那个移动硬盘,就会对移动硬盘做了什么有破坏性的操作?我猜的,请无视 : )

离线

#5 2012-09-25 21:58:36

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 移动硬盘无法挂载

xiaolongfdwq 说:

对了,win7下chkdsk之后进入Arch,只能挂载卸载一次,想要再次挂载就出现1楼中第一个图。
我的 8G U盘在Arch下能正常使用。

来回折腾之后,给我的感觉就是只要Arch一挂载那个移动硬盘,就会对移动硬盘做了什么有破坏性的操作?我猜的,请无视 : )

到底是和移动硬盘有关还是和 NTFS 分区有关?试试使用 NTFS 格式的 U 盘分区和 FAT/ext 格式的那个移动硬盘。

另外,检查一个文件有没有损坏,请使用 md5sum、sha1sum 等。

离线

#6 2012-09-26 09:19:23

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

百合仙子 说:

到底是和移动硬盘有关还是和 NTFS 分区有关?试试使用 NTFS 格式的 U 盘分区和 FAT/ext 格式的那个移动硬盘。

另外,检查一个文件有没有损坏,请使用 md5sum、sha1sum 等。

NTFS:U盘能正常使用,移动硬盘只能挂载卸载一次
移动硬盘:我使用gparted将NTFS分区删除后,新建分区想将整个硬盘格式化为ext4,完成操作后,gparted自动刷新硬盘信息,却又显示/dev/sdb未分配
460.jpg 460.jpg
右击查看“信息”为
460.jpg
然后我试图用fdisk对其分区:

Arch ~ $ sudo fdisk /dev/sdb
[sudo] password for xiaolong: 
Welcome to fdisk (util-linux 2.22).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x223704c1.

Command (m for help): p

Disk /dev/sdb: 320.1 GB, 320072932352 bytes, 625142446 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x223704c1

   设备 Boot      Start         End      Blocks   Id  System

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): 
Using default response p
分区号 (1-4,默认为 1):
Using default value 1
First 扇区 (2048-625142445,默认为 2048):
Using default value 2048
Last 扇区, +扇区 or +size{K,M,G} (2048-625142445,默认为 625142445):
Using default value 625142445
Partition 1 of type Linux and of size 298.1 GiB is set

Command (m for help): p

Disk /dev/sdb: 320.1 GB, 320072932352 bytes, 625142446 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x223704c1

   设备 Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   625142445   312570199   83  Linux

Command (m for help): v
Remaining 2047 unallocated 512-byte sectors

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

但还是失败,移动硬盘没有分区:

Arch ~ $ sudo fdisk -l
[sudo] password for xiaolong: 

Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xde59fad1

   设备 Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    83888127    41943040    7  HPFS/NTFS/exFAT
/dev/sda2        83888128   209717247    62914560    7  HPFS/NTFS/exFAT
/dev/sda3       209717248   251660287    20971520    7  HPFS/NTFS/exFAT
/dev/sda4       251660288   625142447   186741080    5  Extended
/dev/sda5   *   251660351   260046217     4192933+  83  Linux
/dev/sda6       260046281   268432147     4192933+  83  Linux
/dev/sda7       268432211   310377862    20972826   83  Linux
/dev/sda8       310377926   314570827     2096451   82  Linux swap / Solaris
/dev/sda9       314570891   625142447   155285778+  83  Linux

Disk /dev/sdb: 320.1 GB, 320072932352 bytes, 625142446 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

我又去win7下试图将其格式化为eFAT,但win7并没有弹出对话框说“未格式化,无法使用”之类的,资源管理器中根本就没有显示移动硬盘,右下角的托盘里有一个安全删除硬件的图标,点击后拔掉数据线重新连接,仍然只有图盘中的图标,资源管理器没有对应盘符。
我是不是杯具了……

离线

#7 2012-09-26 10:12:32

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 移动硬盘无法挂载

xiaolongfdwq 说:

我又去win7下试图将其格式化为eFAT,但win7并没有弹出对话框说“未格式化,无法使用”之类的,资源管理器中根本就没有显示移动硬盘,右下角的托盘里有一个安全删除硬件的图标,点击后拔掉数据线重新连接,仍然只有图盘中的图标,资源管理器没有对应盘符。
我是不是杯具了……

看样子是。。。
你去设备管理器中看过没?

离线

#8 2012-09-26 10:25:27

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

百合仙子 说:

看样子是。。。
你去设备管理器中看过没?

这是设备管理器给出的:
460.jpg 460.jpg
百合有头绪吗?(我差点把你当救星了……啊,我的硬盘……)

离线

#9 2012-09-26 10:34:24

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

我用“磁盘管理”将其格式化为了exFAT,现在回到Arch中看看会发生什么情况,多谢百合给的指点!

离线

#10 2012-09-26 10:43:40

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

插入硬盘后:

Arch ~ $ dmesg | tail
[   78.602634] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   78.602641] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   78.602658] wlan0: associated
[   78.603426] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   78.611662] wlan0: deauthenticated from d8:c7:c8:83:30:60 (Reason: 6)
[   78.616752] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: disassociated
[   78.616768] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled false, count 0 (implement)
[   78.616773] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   78.617365] cfg80211: Calling CRDA to update world regulatory domain
[   81.518454] usb 2-1.1: reset high-speed USB device number 5 using ehci_hcd

点击挂载,“未知的文件系统”:
460.jpg

离线

#11 2012-09-26 10:58:23

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 移动硬盘无法挂载

xiaolongfdwq 说:

插入硬盘后:

Arch ~ $ dmesg | tail
[   78.602634] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   78.602641] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   78.602658] wlan0: associated
[   78.603426] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   78.611662] wlan0: deauthenticated from d8:c7:c8:83:30:60 (Reason: 6)
[   78.616752] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: disassociated
[   78.616768] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled false, count 0 (implement)
[   78.616773] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   78.617365] cfg80211: Calling CRDA to update world regulatory domain
[   81.518454] usb 2-1.1: reset high-speed USB device number 5 using ehci_hcd

点击挂载,“未知的文件系统”:
http://t1.qpic.cn/mblogpic/55814998e85efb821aac/460.jpg

Linux 不认识 exFAT 吧?

离线

#12 2012-09-26 11:12:45

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

安装两个软件包后就可以了(wiki:https://wiki.archlinux.org/index.php/ExFAT),但又是只能挂载一次,第二次插入数据线后,Thunar左侧都不出现“320G的卷”了,手动挂载:

Arch ~ $ sudo mount -t exfat /dev/sdb1 /media/
[sudo] password for xiaolong: 
FUSE exfat 0.9.8
ERROR: exFAT file system is not found.
Arch ~ $ sudo mount /dev/sdb1 /media/
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

Arch ~ $ dmesg | tail
[  549.460728] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  549.480331]  sdb: sdb1
[  549.482936] sd 8:0:0:0: [sdb] No Caching mode page present
[  549.482940] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  549.482943] sd 8:0:0:0: [sdb] Attached SCSI disk
[  568.631460] usb 2-1.1: reset high-speed USB device number 8 using ehci_hcd
[  601.141719] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
[  601.142961] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
[  601.143814] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
[  601.145076] REISERFS warning (device sdb1): sh-2021 reiserfs_fill_super: can not find reiserfs on sdb1

最近编辑记录 xiaolongfdwq (2012-09-26 11:16:11)

离线

#13 2012-09-26 13:48:18

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

对这两天的折腾做个总结,情况貌似是这样的……

NTFS格式的U盘,Arch和win7都能正常使用;
NTFS格式的移动硬盘,win7下能正常使用,Arch下只能挂载卸载一次,而且经过这一次挂载回到win7后,系统提示“无法使用,需格式化”(exFAT也一样);
对ext4等文件系统,即便gparted显示格式化成功,在gparted自动刷新后,还是无法使用(见6楼的三张图)。

是不是可以做结论了?
这块硬盘有问题,但为什么能在win7下使用?或者是它不支持Linux,只能在windows下使用。

“店家,我可以换货吗?”“不,你不行”

离线

#14 2012-09-26 15:17:43

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 移动硬盘无法挂载

xiaolongfdwq 说:

对这两天的折腾做个总结,情况貌似是这样的……

NTFS格式的U盘,Arch和win7都能正常使用;
NTFS格式的移动硬盘,win7下能正常使用,Arch下只能挂载卸载一次,而且经过这一次挂载回到win7后,系统提示“无法使用,需格式化”(exFAT也一样);
对ext4等文件系统,即便gparted显示格式化成功,在gparted自动刷新后,还是无法使用(见6楼的三张图)。

是不是可以做结论了?
这块硬盘有问题,但为什么能在win7下使用?或者是它不支持Linux,只能在windows下使用。

“店家,我可以换货吗?”“不,你不行”

我觉得可以了。PS: 检查过内核日志没?everything.log 里看看。

离线

#15 2012-09-26 16:33:22

xiaolongfdwq
会员
注册时间: 2012-06-19
帖子: 49

Re: 移动硬盘无法挂载

百合仙子 说:

我觉得可以了。PS: 检查过内核日志没?everything.log 里看看。

everything.log 有5M,有什么好办法得到可能有用的信息呢?
grep usb /var/log/everthing.log 都给出好几屏信息来……

离线

页脚