全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
fdisk -l看分区会报错,比如: WARNING: GPT (GUID Partition Table) detected on /dev/sda! The util fdisk doesnt support GPT. Use GNU Parted.所以这个sda就是gpt的。看gpt分区详细内容可用parted,如:parted /dev/sda测试iscsi服务是否正常rootFocusBackup # service iscsi restart停止 iscsi: 确定rootFocusBackup # chkconfig iscsi onrootFocusBackup # iscsiadm -m discovery -t sendtargets -p 31正在启动 iscsid: 确定31:3260,1 .openfiler:tsn.vmlocalbackuprootFocusBackup # iscsiadm -m node -T .openfiler:tsn.vmlocalbackup -p 31 -lLogging in to iface: default, target: .openfiler:tsn.vmlocalbackup, portal: 31,3260 (multiple)Login to iface: default, target: .openfiler:tsn.vmlocalbackup, portal: 31,3260 successful.查看硬盘设备rootFocusBackup # fdisk -lDisk /dev/sda: 322.1 GB, 322122547200 bytes255 heads, 63 sectors/track, 39162 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000a4673Device Boot Start End Blocks Id System/dev/sda1 * 1 26 204800 83 LinuxPartition 1 does not end on cylinder boundary./dev/sda2 26 1332 10485760 82 Linux swap / Solaris/dev/sda3 1332 26109 199023616 83 Linux/dev/sda4 26109 39163 104857600 5 Extended/dev/sda5 26109 39163 104856576 83 LinuxDisk /dev/sdb: 2199.0 GB, 2199023254528 bytes255 heads, 63 sectors/track, 267349 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000bfa7aDevice Boot Start End Blocks Id System/dev/sdb1 1 267349 2147480811 83 LinuxDisk /dev/sdd: 1099.5 GB, 1099511627776 bytes255 heads, 63 sectors/track, 133674 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/sdd doesnt contain a valid partition tableDisk /dev/sdc: 2199.0 GB, 2199023254528 bytes255 heads, 63 sectors/track, 267349 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x26e7758cDevice Boot Start End Blocks Id System/dev/sdc1 1 267349 2147480811 83 LinuxWARNING: GPT (GUID Partition Table) detected on /dev/sde! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sde: 6597.0 GB, 6596969103360 bytes255 heads, 63 sectors/track, 802035 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Device Boot Start End Blocks Id System/dev/sde1 1 267350 2147483647+ ee GPT对超过2TB的硬盘进行分区需要使用partedrootFocusBackup # parted /dev/sdeGNU Parted 2.1使用 /dev/sdeWelcome to GNU Parted! Type help to view a list of commands.(parted) mklabel gpt警告: The existing disk label on /dev/sde will be destroyed and all data on this disk will be lost. Do you want to continue?是/Yes/否/No? y (parted) print Model: OPNFILER VIRTUAL-DISK (scsi)Disk /dev/sde: 6597GBSector size (logical/physical): 512B/512BPartition Table: gptNumber Start End Size File system Name 标志(parted) mkpart primary 0KB 6597GB 警告: You requested a partition from 0.00B to 6597GB. The closest location we can manage is 17.4kB to 6597GB.Is this still acceptable to you?是/Yes/否/No? y 警告: The resulting partition is not properly aligned for best performance.忽略/Ignore/放弃/Cancel? i (parted) print Model: OPNFILER VIRTUAL-DISK (scsi)Disk /dev/sde: 6597GBSector size (logical/physical): 512B/512BPartition Table: gptNumber Start End Size File system Name 标志1 17.4kB 6597GB 6597GB primary(parted) quit 信息: You may need to update /etc/fstab. 对创建好的大分区进行格式化rootFocusBackup # fdisk -lDisk /dev/sda: 322.1 GB, 322122547200 bytes255 heads, 63 sectors/track, 39162 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000a4673Device Boot Start End Blocks Id System/dev/sda1 * 1 26 204800 83 LinuxPartition 1 does not end on cylinder boundary./dev/sda2 26 1332 10485760 82 Linux swap / Solaris/dev/sda3 1332 26109 199023616 83 Linux/dev/sda4 26109 39163 104857600 5 Extended/dev/sda5 26109 39163 104856576 83 LinuxDisk /dev/sdb: 2199.0 GB, 2199023254528 bytes255 heads, 63 sectors/track, 267349 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000bfa7aDevice Boot Start End Blocks Id System/dev/sdb1 1 267349 2147480811 83 LinuxDisk /dev/sdd: 1099.5 GB, 1099511627776 bytes255 heads, 63 sectors/track, 133674 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/sdc: 2199.0 GB, 2199023254528 bytes255 heads, 63 sectors/track, 267349 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x26e7758cDevice Boot Start End Blocks Id System/dev/sdc1 1 267349 2147480811 83 LinuxWARNING: GPT (GUID Partition Table) detected on /dev/sde! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sde: 6597.0 GB, 6596969103360 bytes255 heads, 63 sectors/track, 802035 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Device Boot Start End Blocks Id System/dev/sde1 1 267350 2147483647+ ee GPTrootFocusBackup # mkfs.ext4 /dev/sde1mke2fs 1.41.12 (17-May-2010)文件系统标签=操作系统:Linux块大小=4096 (log=2)分块大小=4096 (log=2)Stride=0 blocks, Stripe width=0 blocks402653184 inodes, 1610588151 blocks80529407 blocks (5.00%) reserved for t
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2021年保育员(中级)模拟考试题库试卷三(100题,含答案)
- 照护服务考试试卷及答案
- 财务报表制作分析工具数据化处理
- 跨部门协作沟通记录模板高效率协同办公版
- 信息化项目进度控制矩阵模板
- 国学经典教学计划1
- 商务合同管理模板
- 2025年房地产估价师职业资格考试理论与方法模拟试卷(含解析)
- 《物流成本管理》期末试卷及答案3套
- 2025年网络编辑师考试《数字媒体制作与处理试卷》
- 城市燃气工程施工及安全生产运营管理的问题及措施,职称论文
- JJG 257-2007浮子流量计
- 广东省事业单位岗位聘用审核表
- IT设备维保方案-详细版附清单
- 11466现代企业人力资源管理概论第12章
- 模拟商务谈判大赛决赛案例
- 牛津沪教版六上英语Unit 5 Animals in danger课件
- 中国胃癌筛查与早诊早治指南2022(完整版)
- UG有限元分析第13章
- 无取向电工钢完整知识库课件
- 社会工作者考试试题初级
评论
0/150
提交评论