免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2187 | 回复: 4
打印 上一主题 下一主题

怎么在已运行的系统中判断硬盘是否做了raid. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-05-30 22:11 |只看该作者 |倒序浏览
怎么在已运行的系统中判断硬盘是否做了raid.
磁盘空间不够,看到下面的信息有些疑惑,是不是原来的系统管理员没有把硬盘全部用上, 请各位指点,怎么判断硬盘是处于raid状态, 用formatt能看出来吗?

主题: 怎么才能看的出来硬盘是否做了raid.
-----------------
系统1:

  1. 硬盘0:
  2. bash-2.05# df -k
  3. Filesystem            kbytes    used   avail capacity  Mounted on
  4. /dev/dsk/c1t0d0s0    16515041 12509204 3840687    77%    /
  5. /proc                      0       0       0     0%    /proc
  6. mnttab                     0       0       0     0%    /etc/mnttab
  7. fd                         0       0       0     0%    /dev/fd
  8. swap                 8803016     168 8802848     1%    /var/run
  9. swap                 8803528     680 8802848     1%    /tmp
  10. /dev/dsk/c1t0d0s7    10231157 3375365 6753481    34%    /export/home

  11. partition>; p
  12. Current partition table (original):
  13. Total disk cylinders available: 24620 + 2 (reserved cylinders)

  14. Part      Tag    Flag     Cylinders         Size            Blocks
  15. 0       root    wm   13006 - 24619       16.00GB    (11614/0/0) 33552846
  16. 1       swap    wu       0 -  5806        8.00GB    (5807/0/0)  16776423
  17. 2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  18. 3 unassigned    wm       0                0         (0/0/0)            0
  19. 4 unassigned    wm       0                0         (0/0/0)            0
  20. 5 unassigned    wm       0                0         (0/0/0)            0
  21. 6 unassigned    wm       0                0         (0/0/0)            0
  22. 7       home    wm    5811 - 13005        9.91GB    (7195/0/0)  20786355

  23. 硬盘1:
  24. partition>; p
  25. Current partition table (original):
  26. Total disk cylinders available: 24620 + 2 (reserved cylinders)

  27. Part      Tag    Flag     Cylinders         Size            Blocks
  28. 0 unassigned    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  29. 1 unassigned    wm       0                0         (0/0/0)            0
  30. 2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  31. 3 unassigned    wm       0                0         (0/0/0)            0
  32. 4 unassigned    wm       0                0         (0/0/0)            0
  33. 5 unassigned    wm       0                0         (0/0/0)            0
  34. 6 unassigned    wm       0                0         (0/0/0)            0
  35. 7 unassigned    wm       0                0         (0/0/0)            0
复制代码



  1. 系统2
  2. bash-2.05# df -k
  3. Filesystem            kbytes    used   avail capacity  Mounted on
  4. /dev/dsk/c1t0d0s0    15119586 3392278 11576113    23%    /
  5. /proc                      0       0       0     0%    /proc
  6. mnttab                     0       0       0     0%    /etc/mnttab
  7. fd                         0       0       0     0%    /dev/fd
  8. swap                 8664576     168 8664408     1%    /var/run
  9. /dev/dsk/c1t0d0s3    15119586 3392278 11576113    23%    /tmp
  10. /dev/dsk/c1t0d0s7    9797065  600372 9098723     7%    /export/home
  11. /dev/dsk/c1t1d0s0    35009161 7204380 27454690    21%    /data1
  12. /dev/dsk/c2t5d0s6    137316663 17711408 118232089    14%    /data2

  13. 硬盘0

  14. partition>; p
  15. Current partition table (original):
  16. Total disk cylinders available: 24620 + 2 (reserved cylinders)

  17. Part      Tag    Flag     Cylinders         Size            Blocks
  18.   0       root    wm   13987 - 24619       14.65GB    (10633/0/0) 30718737
  19.   1       swap    wu       0 -  5671        7.81GB    (5672/0/0)  16386408
  20.   2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  21.   3 unassigned    wm    5679 -  7096        1.95GB    (1418/0/0)   4096602
  22.   4 unassigned    wm       0                0         (0/0/0)            0
  23.   5 unassigned    wm       0                0         (0/0/0)            0
  24.   6 unassigned    wm       0                0         (0/0/0)            0
  25.   7       home    wm    7097 - 13986        9.49GB    (6890/0/0)  19905210

  26. 硬盘1

  27. partition>; p
  28. Current partition table (original):
  29. Total disk cylinders available: 24620 + 2 (reserved cylinders)

  30. Part      Tag    Flag     Cylinders         Size            Blocks
  31.   0      stand    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  32.   1 unassigned    wm       0                0         (0/0/0)            0
  33.   2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  34.   3 unassigned    wm       0                0         (0/0/0)            0
  35.   4 unassigned    wm       0                0         (0/0/0)            0
  36.   5 unassigned    wm       0                0         (0/0/0)            0
  37.   6 unassigned    wm       0                0         (0/0/0)            0
  38.   7 unassigned    wm       0                0         (0/0/0)            0

  39. 硬盘2:
  40. partition>; p
  41. Current partition table (original):
  42. Total disk cylinders available: 65533 + 2 (reserved cylinders)

  43. Part      Tag    Flag     Cylinders         Size            Blocks
  44.   0 unassigned    wm       0                0         (0/0/0)             0
  45.   1 unassigned    wu       0                0         (0/0/0)             0
  46.   2     backup    wu       0 - 65532      133.99GB    (65533/0/0) 281005504
  47.   3 unassigned    wm       0                0         (0/0/0)             0
  48.   4 unassigned    wm       0                0         (0/0/0)             0
  49.   5 unassigned    wm       0                0         (0/0/0)             0
  50.   6 unassigned    wm       0 - 65046      133.00GB    (65047/0/0) 278921536
  51.   7 unassigned    wm       0                0         (0/0/0)             0

复制代码


运行过

  1. bash-2.05# metadb -i
  2. metadb: test1: there are no existing databases
  3. bash-2.05# metastat -i
  4. metastat:test2: there are no existing databases

复制代码

论坛徽章:
0
2 [报告]
发表于 2005-05-30 23:06 |只看该作者

怎么在已运行的系统中判断硬盘是否做了raid.

df -k 的输出贴出来看看.

论坛徽章:
0
3 [报告]
发表于 2005-05-31 08:51 |只看该作者

怎么在已运行的系统中判断硬盘是否做了raid.

up一下

论坛徽章:
0
4 [报告]
发表于 2005-05-31 08:59 |只看该作者

怎么在已运行的系统中判断硬盘是否做了raid.

如果你一共就三个硬盘的话,没有作raid。从df -k上可以看出,这三块硬盘都已经用上了,而且基本上已经没有剩余了可以再利用了。
我想不明白的是,你说“磁盘空间不够”。可是df -k显示的结果看来,你的磁盘很够阿。
根目录还有将近4个G呢。

论坛徽章:
0
5 [报告]
发表于 2005-05-31 10:42 |只看该作者

怎么在已运行的系统中判断硬盘是否做了raid.

空一个硬盘出来做数据备份. 三个硬盘的那个 系统2 中第三个硬盘133.00GB  的 是磁盘阵列, 只是在format中显示是系统硬盘.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP