磁盘/dev/sda : 21.4 GB,21474836480 bytes
255 heads、63 sectors/track和2610 cylinders
units=cylinders of 16065 * 512=8225280 bytes
dvicebootstartendblocksidsystem
/dev/sda1 * 1 2355 18916506 83尊敬的服装/p/dev/sda 223562610204828782 Linux swap/Solaris
磁盘/dev/sdb : 21.4 GB,21474836480 bytes
255 heads、63 sectors/track和2610 cylinders
units=cylinders of 16065 * 512=8225280 bytes
dvicebootstartendblocksidsystem
/dev/sdb1 1 2610 20964793 83尊敬的服装/p Disk /dev/sdc: 2147 MB,2147483648 bytes
255 heads,63 sectors/track,261 cylinders
units=cylinders of 16065 * 512=8225280 bytes
磁盘/dev/sdcdoesn ' tcontainavalidpartitiontable
磁盘/dev/SDD : 21.4 GB,21474836480 bytes
255 heads、63 sectors/track和2610 cylinders
units=cylinders of 16065 * 512=8225280 bytes
dvicebootstartendblocksidsystem
/dev/sdd1 1 100 803218 83尊敬的服装/p /dev/sdd2 101 1000 7229250 83尊敬的服装/pi SCSI-initiator-utils-6.2.0.872-10.0.1
iscsi 0: off 1: off 2: on : on 4: on 5: on 6: on : on : on on : off
iscsid 0:关闭1:关闭2:关闭:打开4:打开5:打开6:关闭
路线275320约翰21? 00:00:00 [iscsi_eh]
root 15793 1 0 09:08? 00:00:00 brcm_iscsiuio
root 15800 1 0 09:08? 00:00:00 iscsid
root 15802 1 0 09:08? 00:00:00 iscsid
root 1953315269010336011 pts/100336000336000 grepiscs
192.168.1.25433603260,1 iqn.2006-01.com.op enfiler : tsn.32b 32087937 b
Logging in to [iface: d
efault, target: iqn.2006-01.com.openfiler:tsn.32b32087937b, portal: 192.168.1.254,3260]Login to [iface: default, target: iqn.2006-01.com.openfiler:tsn.32b32087937b, portal: 192.168.1.254,3260] successful.
>--op update -n node.startup -v automatic
当前包含yxdgb
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2355 18916506 83 尊敬的服饰/p>
/dev/sda2 2356 2610 2048287+ 82 Linux swap / Solaris
Disk /dev/sdb: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 2610 20964793+ 83 尊敬的服饰/p>
Disk /dev/sdc: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 100 803218+ 83 尊敬的服饰/p>
/dev/sdd2 101 1000 7229250 83 尊敬的服饰/p>
Disk /dev/sde: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/sdg: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes
Disk /dev/sdg doesn't contain a valid partition table
Logging out of session [sid: 3, target: iqn.2006-01.com.openfiler:tsn.32b32087937b, portal: 192.168.1.254,3260] Logout of [sid: 3, target: iqn.2006-01.com.openfiler:tsn.32b32087937b, portal: 192.168.1.254,3260] successful. 当前包含yxdgb Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 2355 18916506 83 尊敬的服饰/p> /dev/sda2 2356 2610 2048287+ 82 Linux swap / Solaris Disk /dev/sdb: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 2610 20964793+ 83 尊敬的服饰/p> Disk /dev/sdc: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdc doesn't contain a valid partition table Disk /dev/sdd: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdd1 1 100 803218+ 83 尊敬的服饰/p> /dev/sdd2 101 1000 7229250 83 尊敬的服饰/p> iscsi操作总结 (1)发现iscsi存储:iscsiadm -m discovery -t st -p ISCSIfzdzjy (2)查看iscsi发现记录:iscsiadm -m node (3)登录iscsi存储:iscsiadm -m node -T LUN_NAME -p ISCSIfzdzjy -l (4)开机自动: iscsiadm -m node –T LUN_NAME -p ISCSIfzdzjy --op update -n node.startup -v automatic (1)登出iscsi存储 iscsiadm -m node -T LUN_NAME -p ISCSIfzdzjy -u (2)对出iscsi所有登录 iscsiadm -m node --logoutall=all (3)删除iscsi发现记录:iscsiadm -m node -o delete -T LUN_NAME -p ISCSIfzdzjy 登入需验证码的节点 (1)开启认证 iscsiadm -m node -T LUN_NAME -o update --name node.session.auth.authmethod --value=CHAP *.使用-o同--op (2)添加用户 iscsiadm -m node -T LUN_NAME --op update --name node.session.auth.username --value=[用户名] (3)添加密码 iscsiadm –m node –T LUN_NAME –op update –name node.session.auth.password –value=[密码]