




全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 高中培训知识通关课件
- 高一化学课件原电池
- 砖厂经营权承包与环保技术改造投资合同
- 标准化无财产无子女离婚协议书起草及审核服务
- 搬家搬家租车合同范本含司机搬运技能培训
- 施工合同签订前的合同主体资格、履约能力审查要点
- 冷链仓库保洁维护合同
- 环氧乙烷生产设备维护手册
- 人才引进与留住战略规划的成功实践
- 职业教育法律法规总结
- 拱桥专项施工组织设计方案示范
- 收银技能理论考试题及答案
- 2025污水处理综合考试题及答案
- 2025年学习二十届全会精神知识竞赛题库及答案
- 2025福建漳州闽投华阳发电有限公司招聘52人备考试题及答案解析
- 初一启新程扬帆再出发-2025-2026学年上学期七年级(初一)开学第一课主题班会课件
- 寿险调查培训课件下载
- 中国法制史试题题库(附答案)
- Z20名校联盟(浙江省名校新高考研究联盟)2026届高三第一次联考 语文试卷(含答案详解)
- 2024江西省社区《网格员》押题卷(含答案)
- 2025诗词大会题库(含答案)
评论
0/150
提交评论