资源描述:
《Linux分区:超过2TB硬盘分区操作》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、fdisk-l看分区会报错,比如:WARNING:GPT(GUIDPartitionTable)detectedon'/dev/sda'!Theutilfdiskdoesn'tsupportGPT.UseGNUParted.所以这个sda就是gpt的。看gpt分区详细内容可用parted,如:parted/dev/sda测试iscsi服务是否正常[root@FocusBackup~]#serviceiscsirestart停止iscsi:[确定][root@FocusBackup~]#chkconfigiscsion[root@FocusBackup~]#iscsiadm-mdisc
2、overy-tsendtargets-p10.5.83.131正在启动iscsid:[确定]10.5.83.131:3260,1iqn.2006-01.com.openfiler:tsn.vmlocalbackup[root@FocusBackup~]#iscsiadm-mnode-Tiqn.2006-01.com.openfiler:tsn.vmlocalbackup-p10.5.83.131-lLogginginto[iface:default,target:iqn.2006-01.com.openfiler:tsn.vmlocalbackup,portal:10.5.83.13
3、1,3260](multiple)Loginto[iface:default,target:iqn.2006-01.com.openfiler:tsn.vmlocalbackup,portal:10.5.83.131,3260]successful.查看硬盘设备[root@FocusBackup~]#fdisk-lDisk/dev/sda:322.1GB,322122547200bytes255heads,63sectors/track,39162cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/ph
4、ysical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x000a4673DeviceBootStartEndBlocksIdSystem/dev/sda1*12620480083LinuxPartition1doesnotendoncylinderboundary./dev/sda22613321048576082Linuxswap/Solaris/dev/sda313322610919902361683Linux/dev/sda426109391631048576005E
5、xtended/dev/sda5261093916310485657683LinuxDisk/dev/sdb:2199.0GB,2199023254528bytes255heads,63sectors/track,267349cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x000bfa7aDeviceBootStartEndBlo
6、cksIdSystem/dev/sdb11267349214748081183LinuxDisk/dev/sdd:1099.5GB,1099511627776bytes255heads,63sectors/track,133674cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x00000000Disk/dev/sdddoesn't
7、containavalidpartitiontableDisk/dev/sdc:2199.0GB,2199023254528bytes255heads,63sectors/track,267349cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512b