LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 609|回复: 4

如何对付这种情况!?

[复制链接]
发表于 2006-3-15 13:54:51 | 显示全部楼层 |阅读模式
  1. Command (m for help): p

  2. Disk /dev/hdc: 40.0 GB, 40027029504 bytes
  3. 16 heads, 63 sectors/track, 77557 cylinders
  4. Units = cylinders of 1008 * 512 = 516096 bytes

  5.    Device Boot      Start         End      Blocks   Id  System
  6. /dev/hdc1               1         745      375448+  fd  Linux raid autodetect
  7. Partition 1 does not end on cylinder boundary.
  8. /dev/hdc2             746       20122     9766008   fd  Linux raid autodetect
  9. Partition 2 does not end on cylinder boundary.
  10. /dev/hdc3           20123       58875    19531512   fd  Linux raid autodetect
  11. Partition 3 does not end on cylinder boundary.
  12. /dev/hdc4   *       58876       77557     9415728    7  HPFS/NTFS
  13. Partition 4 does not end on cylinder boundary.
复制代码

准备 softraid+lvm 但改变第二块硬盘分区 id的时候出现这种情况........ 怕损坏硬盘上的数据 不敢生成md2....
目前已经有md0(hda1+hdc1) md1(hda2+hdc2)
想用 hda3+hdc3生成md2 然后作成lvm .......

  1. Disk /dev/hda: 41.1 GB, 41110142976 bytes
  2. 16 heads, 63 sectors/track, 79656 cylinders
  3. Units = cylinders of 1008 * 512 = 516096 bytes

  4.    Device Boot      Start         End      Blocks   Id  System
  5. /dev/hda1               1         745      375448+  fd  Linux raid autodetect
  6. /dev/hda2             746       20122     9766008   fd  Linux raid autodetect
  7. /dev/hda3           20123       58875    19531512   fd  Linux raid autodetect
  8. /dev/hda4   *       58876       79656    10473624   83  Linux
复制代码

这个是第一块硬盘
发表于 2006-3-15 17:24:49 | 显示全部楼层
这是分区工具对不同牌子的硬盘的适应程度不同而造成的情况。我的迈拓和西部数据两块硬盘上用同一版本的fdisk分区就会有这种现象。没有关系,不影响使用。
回复 支持 反对

使用道具 举报

发表于 2006-3-15 18:06:08 | 显示全部楼层
经常见,看着听讨厌的,不过如7dehao所说,不影响使用。。

到底是应该 RAID 上用 LVM,还是应该LVM 上用 RAID?。我还是搞不清楚这2个的关系。。:ask
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-15 18:44:48 | 显示全部楼层
多谢 2位

不过以前 hdc 是没有那个提示的

我是在raid 上做的lvm
不太明白在lvm上raid??? 我知道lvm跨越多个卷时用 -i可以优化性能 我理解为类似raid.
回复 支持 反对

使用道具 举报

发表于 2006-3-15 19:04:16 | 显示全部楼层
lvm 的优势是可调整大小。raid的优势是可以提供 RAID5/6/10 这类功能。

RAID 上 LVM 的话,应该是常规做法。这样 LVM 可以随便改大小,RAID 也可以自己随时换硬盘,只要RAID卷本身没坏就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表