首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >USB外壳上的磁盘几何错误

USB外壳上的磁盘几何错误
EN

Ask Ubuntu用户
提问于 2013-11-04 13:13:07
回答 1查看 1.9K关注 0票数 0

我有一个在NAS中格式化的sata磁盘,在linux 1中使用它。

我已经将磁盘从NAS内部挂载到带有linux的PC中。

Linux正确识别磁盘,我能够组装raid和挂载分区。

fdisk正确地给了我:

代码语言:javascript
复制
root@ubuntu:/home/ubuntu# fdisk -l  /dev/sde

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes

255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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

  Device Boot      Start         End      Blocks   Id  System

/dev/sde1            2048     4196351     2097152   fd  Linux raid autodetect

/dev/sde2         5244928  1953497087   974126080   fd  Linux raid autodetect
/dev/sde3         4196352     5244927      524288   fd  Linux raid autodetect

问题是我需要在USB外部外壳内使用它。我在外部外壳上安装了相同的磁盘,e将USB连接到linux上。但是现在fdisk报告了一个错误的磁盘几何:

代码语言:javascript
复制
root@ubuntu:/home/ubuntu# fdisk -l  /dev/sde

Disk /dev/sde: 33 MB, 33348608 bytes

2 heads, 32 sectors/track, 1017 cylinders, total 65134 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

  Device Boot      Start         End      Blocks   Id  System

/dev/sde1            2048     4196351     2097152   fd  Linux raid autodetect

/dev/sde2         5244928  1953497087   974126080   fd  Linux raid autodetect

/dev/sde3         4196352     5244927      524288   fd  Linux raid autodetect

Partition table entries are not in disk order

我无法组装raid和挂载分区。

我怎么能解决这个问题?

谢谢

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2013-11-05 16:18:44

是HPA的问题

http://en.wikipedia.org/wiki/Host_受保护_区域

代码语言:javascript
复制
hdparm -N /dev/sdX
票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/370962

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档