开发者社区> 问答> 正文

这里,下一步怎么走,高手进,硬盘挂宅,分区。

[root@iZ99vircfctZ ~]# fdisk -l


Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 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: 0x00078f9c


   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           1        5222    41940992   83  Linux
[root@iZ99vircfctZ ~]#


这是输入fdisk -l的信息
-----------------------------------------------------------------------------

[root@iZ99vircfctZ ~]# fdisk /dev/vda


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').


Command (m for help):


-----------------------------------------------------------------------------------------

[root@iZ99vircfctZ ~]# fdisk /dev/vda


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').


Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 2
No free sectors available


---- 失败------------------------------------------------------------------------------------------------------------------

展开
收起
boomlaka 2016-04-19 21:19:35 5298 0
2 条回答
写回答
取消 提交回答
  • 旺旺:nectar2。
    楼主您好,

    抱歉给您带来不便。

    Linux相对于Windows来说,上手是比较难适应些,但如果您熟悉后,可能会觉得它效率更高。

    从您的输出信息来看,您的ECS当前没有数据盘,不需要挂载喔:

    [root@iZ99vircfctZ ~]# fdisk -l


    Disk /dev/vda: 42.9 GB, 42949672960 bytes
    255 heads, 63 sectors/track, 5221 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: 0x00078f9c


       Device Boot      Start         End      Blocks   Id  System
    /dev/vda1   *           1        5222    41940992   83  Linux
    [root@iZ99vircfctZ ~]#




    2016-04-20 15:21:54
    赞同 展开评论 打赏
  • Re这里,下一步怎么走,高手进,硬盘挂宅,分区。
    没有高手回答吗,什么cd..啊什么 mkdir /www 都用不了

    -------------------------

    Re这里,下一步怎么走,高手进,硬盘挂宅,分区。
    linux真是搞死人,版本又多,和安卓一样,太复杂了,太折腾,每个系统,每个版本,每个硬件,都要不同的调试,不是高手真是搞不来呀
    2016-04-19 21:36:39
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

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