当ISCSI编译配置完毕,并且登陆成功后。
使用fdisk -l是否登陆成功,如果登陆成功,服务器的磁盘就会显示,如下所示:
=======================================================================
= Disk /dev/sda: 8589 MB, 8589934592 bytes
= 255 heads, 63 sectors/track, 1044 cylinders
= Units = cylinders of 16065 * 512 = 8225280 bytes
=
= Device Boot Start End Blocks Id System
= /dev/sda1 * 1 13 104391 83
Linux= /dev/sda2 14 996 7895947+ 83 Linux
= /dev/sda3 997 1044 385560 82 Linux swap
=
= Disk /dev/sdb: 2147 MB, 2147483648 bytes
= 67 heads, 62 sectors/track, 1009 cylinders
= Units = cylinders of 4154 * 512 = 2126848 bytes
=
= Disk /dev/sdb doesn't contain a valid partition table
=
= Disk /dev/sdc: 2147 MB, 2147483648 bytes
= 67 heads, 62 sectors/track, 1009 cylinders
= Units = cylinders of 4154 * 512 = 2126848 bytes
=
= Disk /dev/sdc doesn't contain a valid partition table
=
= Disk /dev/sdd: 2147 MB, 2147483648 bytes
= 67 heads, 62 sectors/track, 1009 cylinders
= Units = cylinders of 4154 * 512 = 2126848 bytes
=
= Disk /dev/sdd doesn't contain a valid partition table
=
= Disk /dev/sde: 2147 MB, 2147483648 bytes
= 67 heads, 62 sectors/track, 1009 cylinders
= Units = cylinders of 4154 * 512 = 2126848 bytes
==================================================================
但是现在还没有将服务器磁盘载入到本地使用,本服务器是使用的FILEIO方式,所以在