- 论坛徽章:
- 0
|
- 1、安装openfiler系统
- 2、分区等web方式操作
- /etc/ietd.conf:
- # Generated at: Wed Feb 28 14:17:50 EST 2007
- #
-
-
- Target iqn.2006-01.com.ustcsoft:power.ocr
- Lun 0 Path=/dev/power/ocr,Type=fileio,ScsiId=powerocr
-
- Target iqn.2006-01.com.ustcsoft:power.asm
- Lun 0 Path=/dev/power/asm,Type=fileio,ScsiId=powerasm
-
- Target iqn.2006-01.com.ustcsoft:power.vote
- Lun 0 Path=/dev/power/vote,Type=fileio,ScsiId=powervote
-
- Target iqn.2006-01.com.ustcssoft:telcom.ocfs2
- Lun 0 Path=/dev/telcom/ocfs2,Type=fileio,ScsiId=powerocfs2
-
-
- # End of Openfiler iSCSI configuration
- 注意,每次修改配置,都会重新写/etc/ietd.conf文件
- 3、client:
- /etc/iscsi.conf:
- DiscoveryAddress=ed-otfiler02
- 4、client:
- fdisk -l:
- Disk /dev/sdc: 16.2 GB, 16206790656 bytes
- 64 heads, 32 sectors/track, 15456 cylinders
- Units = cylinders of 2048 * 512 = 1048576 bytes
-
- Disk /dev/sdc doesn't contain a valid partition table
-
- Disk /dev/sdd: 134 MB, 134217728 bytes
- 5 heads, 52 sectors/track, 1008 cylinders
- Units = cylinders of 260 * 512 = 133120 bytes
-
- Disk /dev/sdd doesn't contain a valid partition table
-
- Disk /dev/sde: 23.1 GB, 23119003648 bytes
- 64 heads, 32 sectors/track, 22048 cylinders
- Units = cylinders of 2048 * 512 = 1048576 bytes
-
- Disk /dev/sde doesn't contain a valid partition table
-
- Disk /dev/sdf: 33 MB, 33554432 bytes
- 2 heads, 32 sectors/track, 1024 cylinders
- Units = cylinders of 64 * 512 = 32768 bytes
-
- Disk /dev/sdf doesn't contain a valid partition table
复制代码 |
|