开发者社区> 问答> 正文

这个容量对吗

Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/xvda1               19990      1419     18572   8% /
tmpfs                     1003         0      1003   0% /dev/shm

这是250G的容量吗?!!!

展开
收起
duxinyu 2012-11-12 17:53:18 6076 0
3 条回答
写回答
取消 提交回答
  • Re这个容量对吗
    Disk /dev/xvda: 21.5 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders
    Units = cylinders of 16065 * 512 = 8225280 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/xvda1   *           1        2550    20480000   83  Linux
    /dev/xvda2            2550        2611      490496   82  Linux swap / Solaris

    Disk /dev/xvdb: 247.0 GB, 246960619520 bytes
    255 heads, 63 sectors/track, 30024 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Disk /dev/xvdb doesn't contain a valid partition table

    我建了个目录 /var/www/
    能把Disk /dev/xvdb: 247.0 GB 挂接到/var/www目录吗?
    2012-11-12 18:53:07
    赞同 展开评论 打赏
  • 可以使用fdisk -l进行磁盘数量的查看,参考我的(经济B),有两个磁盘(/dev/xvda和/dev/xvdb,数据盘未分区):

    Disk /dev/xvda: 21.5 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders, total 41943040 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: 0x0002bfb2

        Device Boot      Start         End      Blocks   Id  System
    /dev/xvda1   *        2048    41940991    20969472   83  Linux

    Disk /dev/xvdb: 85.9 GB, 85899345920 bytes
    255 heads, 63 sectors/track, 10443 cylinders, total 167772160 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

    Disk /dev/xvdb doesn't contain a valid partition table


    2012-11-12 18:05:27
    赞同 展开评论 打赏
  • 需要自己挂载数据盘的亲
    2012-11-12 17:59:02
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载