linux 2tb分区,Linux分区:超过2TB硬盘分区操作

fdisk -l

看分区会报错,比如:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

所以这个sda就是gpt的。

看gpt分区详细内容可用parted,如:

parted /dev/sda

测试iscsi服务是否正常

[root@FocusBackup ~]# service iscsi restart

停止 iscsi: [确定]

[root@FocusBackup ~]# chkconfig iscsi on

[root@FocusBackup ~]# iscsiadm -m discovery -t sendtargets -p 10.5.83.131

正在启动 iscsid: [确定]

10.5.83.131:3260,1 http://www.doczj.com/doc/9b4f9fa790c69ec3d4bb7591.html.openfiler:tsn.vmlocalbackup

[root@FocusBackup ~]# iscsiadm -m node -T

http://www.doczj.com/doc/9b4f9fa790c69ec3d4bb7591.html.openfiler:tsn.vmlocalbackup -p 10.5.83.131 -l

Logging in to [iface: default, target:

http://www.doczj.com/doc/9b4f9fa790c69ec3d4bb7591.html.openfiler:tsn.vmlocalbackup, portal: 10.5.83.131,3260] (multiple)

Login to [iface: default, target: http://www.doczj.com/doc/9b4f9fa790c69ec3d4bb7591.html.openfiler:tsn.vmlocalbackup, portal: 10.5.83.131,3260] successful.

查看硬盘设备

[root@FocusBackup ~]# fdisk -l

Disk /dev/sda: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162 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: 0x000a4673

Device Boot Start End Blocks Id System

/dev/sda1 * 1 26 204800 83 Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2 26 1332 10485760 82 Linux swap / Solaris

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值