Advertisement
Guest User

Untitled

a guest
Dec 9th, 2011
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.67 KB | None | 0 0
  1. /etc/default/iscsitarget
  2.  
  3. ISCSITARGET_ENABLE=true
  4.  
  5.  
  6.  
  7.  
  8. Debian-1:/ISOs# df -h
  9. Filesystem Size Used Avail Use% Mounted on
  10. /dev/sda2 175G 20G 146G 13% /
  11. tmpfs 12G 0 12G 0% /lib/init/rw
  12. udev 10M 884K 9.2M 9% /dev
  13. tmpfs 12G 0 12G 0% /dev/shm
  14. /dev/sda3 92G 258M 87G 1% /home
  15. /dev/mapper/VMs-ISO 302G 20G 267G 7% /ISOs
  16. /dev/mapper/VMs-VMs 1007G 53G 904G 6% /VMs
  17.  
  18. netstat -np | grep 3260
  19.  
  20. blank
  21.  
  22.  
  23. sudo /etc/init.d/iscsitarget restart
  24. Removing iSCSI enterprise target devices: succeeded.
  25. Stopping iSCSI enterprise target service: succeeded.
  26. Removing iSCSI enterprise target modules: succeeded.
  27. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  28. succeeded.
  29.  
  30. (told the error about crc32c can be ignored)
  31.  
  32. Debian-1:/ISOs# lvscan
  33. ACTIVE '/dev/VMs/ISO' [306.00 GB] inherit
  34. ACTIVE '/dev/VMs/VMs' [1022.97 GB] inherit
  35. ACTIVE '/dev/VMs/quarum' [9.77 GB] inherit
  36. ACTIVE '/dev/VMs/quarum-2' [9.77 GB] inherit
  37. ACTIVE '/dev/VMs/quarum-3' [9.77 GB] inherit
  38. ACTIVE '/dev/VMs/quarum-4' [9.77 GB] inherit
  39. ACTIVE '/dev/VMs/quarum-5' [9.77 GB] inherit
  40. ACTIVE '/dev/VMs/quarum-6' [9.77 GB] inherit
  41. ACTIVE '/dev/VMs/quarum-7' [9.77 GB] inherit
  42. ACTIVE '/dev/VMs/quarum-8' [9.77 GB] inherit
  43. ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  44. ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  45.  
  46. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  47. [5:0:0:0] disk ATA WDC WD10EACS-07D 01.0 /dev/sdd
  48. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  49. [6:0:0:0] disk ATA SAMSUNG HD204UI 1AQ1 /dev/sde
  50. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  51. [7:0:0:0] disk ATA ST31000333AS CC3H /dev/sdf
  52. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  53. Debian-1:/ISOs# nano /etc/iscsi/iscsid.conf
  54. Debian-1:/ISOs# sudo /etc/init.d/iscsitarget restart
  55. Removing iSCSI enterprise target devices: succeeded.
  56. Stopping iSCSI enterprise target service: succeeded.
  57. Removing iSCSI enterprise target modules: succeeded.
  58. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  59. succeeded.
  60. Debian-1:/ISOs# lsscsi -l
  61. [0:0:0:0] cd/dvd ATAPI DVD A DH-3H20A YX13 /dev/sr0
  62. state=running queue_depth=1 scsi_level=6 type=5 device_blocked=0 timeout=30
  63. [2:0:0:0] disk ATA Hitachi HDS72103 JPFO /dev/sda
  64. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  65. [3:0:0:0] disk ATA WDC WD1001FALS-0 05.0 /dev/sdb
  66. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  67. [4:0:0:0] disk ATA SAMSUNG HD502HJ 1AJ1 /dev/sdc
  68. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  69. [5:0:0:0] disk ATA WDC WD10EACS-07D 01.0 /dev/sdd
  70. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  71. [6:0:0:0] disk ATA SAMSUNG HD204UI 1AQ1 /dev/sde
  72. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  73. [7:0:0:0] disk ATA ST31000333AS CC3H /dev/sdf
  74. state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
  75. Debian-1:/ISOs# sudo anno /etc/default.iscsitarget
  76. sudo: anno: command not found
  77. Debian-1:/ISOs# sudo anno /etc/default/iscsitarget
  78. sudo: anno: command not found
  79. Debian-1:/ISOs# sudo nano /etc/default/iscsitarget
  80. Debian-1:/ISOs# iscsiadm -m session
  81. iscsiadm: No active sessions.
  82. Debian-1:/ISOs# betstat -n --p |grep 3260
  83. -bash: betstat: command not found
  84. Debian-1:/ISOs# netstat -n -p |grep 3260
  85. Debian-1:/ISOs# iscsi-ls
  86. -bash: iscsi-ls: command not found
  87. Debian-1:/ISOs# sudo aptitude install iscsi-ls
  88. Reading package lists... Done
  89. Building dependency tree
  90. Reading state information... Done
  91. Reading extended state information
  92. Initializing package states... Done
  93. Reading task descriptions... Done
  94. Couldn't find any package whose name or description matched "iscsi-ls"
  95. Couldn't find any package whose name or description matched "iscsi-ls"
  96. No packages will be installed, upgraded, or removed.
  97. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  98. Need to get 0B of archives. After unpacking 0B will be used.
  99. Reading package lists... Done
  100. Building dependency tree
  101. Reading state information... Done
  102. Reading extended state information
  103. Initializing package states... Done
  104. Reading task descriptions... Done
  105.  
  106. Debian-1:/ISOs# df -h
  107. Filesystem Size Used Avail Use% Mounted on
  108. /dev/sda2 175G 20G 146G 12% /
  109. tmpfs 12G 0 12G 0% /lib/init/rw
  110. udev 10M 884K 9.2M 9% /dev
  111. tmpfs 12G 0 12G 0% /dev/shm
  112. /dev/sda3 92G 258M 87G 1% /home
  113. /dev/mapper/VMs-ISO 302G 20G 267G 7% /ISOs
  114. /dev/mapper/VMs-VMs 1007G 53G 904G 6% /VMs
  115. Debian-1:/ISOs# iscsi-device
  116. -bash: iscsi-device: command not found
  117. Debian-1:/ISOs# iscsi-mountall
  118. -bash: iscsi-mountall: command not found
  119. Debian-1:/ISOs# sudo nano /etc/default/iscsitarget
  120. Debian-1:/ISOs# df -h
  121. Filesystem Size Used Avail Use% Mounted on
  122. /dev/sda2 175G 20G 146G 13% /
  123. tmpfs 12G 0 12G 0% /lib/init/rw
  124. udev 10M 884K 9.2M 9% /dev
  125. tmpfs 12G 0 12G 0% /dev/shm
  126. /dev/sda3 92G 258M 87G 1% /home
  127. /dev/mapper/VMs-ISO 302G 20G 267G 7% /ISOs
  128. /dev/mapper/VMs-VMs 1007G 53G 904G 6% /VMs
  129. Debian-1:/ISOs#
  130. Debian-1:/ISOs# Debian-1:/ISOs# df -h
  131. -bash: Debian-1:/ISOs#: No such file or directory
  132. Debian-1:/ISOs# Filesystem Size Used Avail Use% Mounted on
  133. -bash: Filesystem: command not found
  134. Debian-1:/ISOs# /dev/sda2 175G 20G 146G 13% /
  135. -bash: /dev/sda2: Permission denied
  136. Debian-1:/ISOs# tmpfs 12G 0 12G 0% /lib/init/rw
  137. -bash: tmpfs: command not found
  138. Debian-1:/ISOs# udev 10M 884K 9.2M 9% /dev
  139. -bash: udev: command not found
  140. Debian-1:/ISOs# tmpfs 12G 0 12G 0% /dev/shm
  141. -bash: tmpfs: command not found
  142. Debian-1:/ISOs# /dev/sda3 92G 258M 87G 1% /home
  143. -bash: /dev/sda3: Permission denied
  144. Debian-1:/ISOs# /dev/mapper/VMs-ISO 302G 20G 267G 7% /ISOs
  145. -bash: /dev/mapper/VMs-ISO: Permission denied
  146. Debian-1:/ISOs# /dev/mapper/VMs-VMs 1007G 53G 904G 6% /VMs
  147. -bash: /dev/mapper/VMs-VMs: Permission denied
  148. Debian-1:/ISOs# betstat -n --p |grep 3260
  149. -bash: betstat: command not found
  150. Debian-1:/ISOs# netstat -n --p |grep 3260
  151. netstat: option `--p' is ambiguous
  152. usage: netstat [-vWeenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}
  153. netstat [-vWnNcaeol] [<Socket> ...]
  154. netstat { [-vWeenNac] -i | [-cWnNe] -M | -s }
  155.  
  156. -r, --route display routing table
  157. -i, --interfaces display interface table
  158. -g, --groups display multicast group memberships
  159. -s, --statistics display networking statistics (like SNMP)
  160. -M, --masquerade display masqueraded connections
  161.  
  162. -v, --verbose be verbose
  163. -W, --wide don't truncate IP addresses
  164. -n, --numeric don't resolve names
  165. --numeric-hosts don't resolve host names
  166. --numeric-ports don't resolve port names
  167. --numeric-users don't resolve user names
  168. -N, --symbolic resolve hardware names
  169. -e, --extend display other/more information
  170. -p, --programs display PID/Program name for sockets
  171. -c, --continuous continuous listing
  172.  
  173. -l, --listening display listening server sockets
  174. -a, --all, --listening display all sockets (default: connected)
  175. -o, --timers display timers
  176. -F, --fib display Forwarding Information Base (default)
  177. -C, --cache display routing cache instead of FIB
  178.  
  179. <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
  180. <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
  181. List of possible address families (which support routing):
  182. inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
  183. netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
  184. x25 (CCITT X.25)
  185. Debian-1:/ISOs# netstat -np |grep 3260
  186. Debian-1:/ISOs# sudo nano /etc/default/iscsitarget
  187. Debian-1:/ISOs# sudo /etc/init.d/iscsitarget restart
  188. Removing iSCSI enterprise target devices: succeeded.
  189. Stopping iSCSI enterprise target service: succeeded.
  190. Removing iSCSI enterprise target modules: succeeded.
  191. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  192. succeeded.
  193. Debian-1:/ISOs# sudo /etc/init.d/iscsitarget restart
  194. Removing iSCSI enterprise target devices: succeeded.
  195. Stopping iSCSI enterprise target service: succeeded.
  196. Removing iSCSI enterprise target modules: succeeded.
  197. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  198. Removing iSCSI enterprise target devices: succeeded.
  199. succeeded.
  200. Stopping iSCSI enterprise target service: succeeded.
  201. Removing iSCSI enterprise target modules: succeeded.
  202. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  203. succeeded.
  204. Debian-1:/ISOs# Removing iSCSI enterprise target devices: succeeded.
  205. -bash: Removing: command not found
  206. Debian-1:/ISOs# Stopping iSCSI enterprise target service: succeeded.
  207. -bash: Stopping: command not found
  208. Debian-1:/ISOs# Removing iSCSI enterprise target modules: succeeded.
  209. -bash: Removing: command not found
  210. Debian-1:/ISOs# Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  211. -bash: syntax error near unexpected token `('
  212. Debian-1:/ISOs# succeeded.
  213. -bash: succeeded.: command not found
  214. Debian-1:/ISOs# lvscan
  215. ACTIVE '/dev/VMs/ISO' [306.00 GB] inherit
  216. ACTIVE '/dev/VMs/VMs' [1022.97 GB] inherit
  217. ACTIVE '/dev/VMs/quarum' [9.77 GB] inherit
  218. ACTIVE '/dev/VMs/quarum-2' [9.77 GB] inherit
  219. ACTIVE '/dev/VMs/quarum-3' [9.77 GB] inherit
  220. ACTIVE '/dev/VMs/quarum-4' [9.77 GB] inherit
  221. ACTIVE '/dev/VMs/quarum-5' [9.77 GB] inherit
  222. ACTIVE '/dev/VMs/quarum-6' [9.77 GB] inherit
  223. ACTIVE '/dev/VMs/quarum-7' [9.77 GB] inherit
  224. ACTIVE '/dev/VMs/quarum-8' [9.77 GB] inherit
  225. ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  226. ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  227. Debian-1:/ISOs# Debian-1:/ISOs# lvscan
  228.  
  229. Debian-1:/ISOs# ACTIVE '/dev/VMs/ISO' [306.00 GB] inherit
  230. ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  231. ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  232. -bash: ACTIVE: command not found
  233. Debian-1:/ISOs# ACTIVE '/dev/VMs/VMs' [1022.97 GB] inherit
  234. -bash: ACTIVE: command not found
  235. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum' [9.77 GB] inherit
  236. -bash: ACTIVE: command not found
  237. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-2' [9.77 GB] inherit
  238. -bash: ACTIVE: command not found
  239. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-3' [9.77 GB] inherit
  240. -bash: ACTIVE: command not found
  241. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-4' [9.77 GB] inherit
  242. -bash: ACTIVE: command not found
  243. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-5' [9.77 GB] inherit
  244. -bash: ACTIVE: command not found
  245. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-6' [9.77 GB] inherit
  246. -bash: ACTIVE: command not found
  247. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-7' [9.77 GB] inherit
  248. -bash: ACTIVE: command not found
  249. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-8' [9.77 GB] inherit
  250. -bash: ACTIVE: command not found
  251. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  252. -bash: ACTIVE: command not found
  253. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  254. -bash: ACTIVE: command not found
  255. Debian-1:/ISOs# Debian-1:/ISOs# vgscan -L
  256. -bash: Debian-1:/ISOs#: No such file or directory
  257. Debian-1:/ISOs# cat /proc/mdstat
  258. Personalities : [raid10]
  259. md1 : active raid10 sdb1[0] sdf1[3] sde1[2] sdd1[1]
  260. 1953518592 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
  261.  
  262. unused devices: <none>
  263. Debian-1:/ISOs#
  264.  
  265.  
  266.  
  267.  
  268.  
  269. -v, --verbose be verbose
  270. -W, --wide don't truncate IP addresses
  271. -n, --numeric don't resolve names
  272. --numeric-hosts don't resolve host names
  273. --numeric-ports don't resolve port names
  274. --numeric-users don't resolve user names
  275. -N, --symbolic resolve hardware names
  276. -e, --extend display other/more information
  277. -p, --programs display PID/Program name for sockets
  278. -c, --continuous continuous listing
  279.  
  280. -l, --listening display listening server sockets
  281. -a, --all, --listening display all sockets (default: connected)
  282. -o, --timers display timers
  283. -F, --fib display Forwarding Information Base (default)
  284. -C, --cache display routing cache instead of FIB
  285.  
  286. <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
  287. <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
  288. List of possible address families (which support routing):
  289. inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
  290. netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
  291. x25 (CCITT X.25)
  292. Debian-1:/ISOs# netstat -np |grep 3260
  293. Debian-1:/ISOs# sudo nano /etc/default/iscsitarget
  294. Debian-1:/ISOs# sudo /etc/init.d/iscsitarget restart
  295. Removing iSCSI enterprise target devices: succeeded.
  296. Stopping iSCSI enterprise target service: succeeded.
  297. Removing iSCSI enterprise target modules: succeeded.
  298. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  299. succeeded.
  300. Debian-1:/ISOs# sudo /etc/init.d/iscsitarget restart
  301. Removing iSCSI enterprise target devices: succeeded.
  302. Stopping iSCSI enterprise target service: succeeded.
  303. Removing iSCSI enterprise target modules: succeeded.
  304. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  305. Removing iSCSI enterprise target devices: succeeded.
  306. succeeded.
  307. Stopping iSCSI enterprise target service: succeeded.
  308. Removing iSCSI enterprise target modules: succeeded.
  309. Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  310. succeeded.
  311. Debian-1:/ISOs# Removing iSCSI enterprise target devices: succeeded.
  312. -bash: Removing: command not found
  313. Debian-1:/ISOs# Stopping iSCSI enterprise target service: succeeded.
  314. -bash: Stopping: command not found
  315. Debian-1:/ISOs# Removing iSCSI enterprise target modules: succeeded.
  316. -bash: Removing: command not found
  317. Debian-1:/ISOs# Starting iSCSI enterprise target service: FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32-6-pve/kernel/arch/x86/crypto/crc32c-intel.ko): No such device
  318. -bash: syntax error near unexpected token `('
  319. Debian-1:/ISOs# succeeded.
  320. -bash: succeeded.: command not found
  321. Debian-1:/ISOs# lvscan
  322. ACTIVE '/dev/VMs/ISO' [306.00 GB] inherit
  323. ACTIVE '/dev/VMs/VMs' [1022.97 GB] inherit
  324. ACTIVE '/dev/VMs/quarum' [9.77 GB] inherit
  325. ACTIVE '/dev/VMs/quarum-2' [9.77 GB] inherit
  326. ACTIVE '/dev/VMs/quarum-3' [9.77 GB] inherit
  327. ACTIVE '/dev/VMs/quarum-4' [9.77 GB] inherit
  328. ACTIVE '/dev/VMs/quarum-5' [9.77 GB] inherit
  329. ACTIVE '/dev/VMs/quarum-6' [9.77 GB] inherit
  330. ACTIVE '/dev/VMs/quarum-7' [9.77 GB] inherit
  331. ACTIVE '/dev/VMs/quarum-8' [9.77 GB] inherit
  332. ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  333. ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  334. Debian-1:/ISOs# Debian-1:/ISOs# lvscan
  335. -bash: Debian-1:/ISOs#: No such file or directory
  336. Debian-1:/ISOs# ACTIVE '/dev/VMs/ISO' [306.00 GB] inherit
  337. ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  338. ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  339. -bash: ACTIVE: command not found
  340. Debian-1:/ISOs# ACTIVE '/dev/VMs/VMs' [1022.97 GB] inherit
  341. -bash: ACTIVE: command not found
  342. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum' [9.77 GB] inherit
  343. -bash: ACTIVE: command not found
  344. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-2' [9.77 GB] inherit
  345. -bash: ACTIVE: command not found
  346. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-3' [9.77 GB] inherit
  347. -bash: ACTIVE: command not found
  348. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-4' [9.77 GB] inherit
  349. -bash: ACTIVE: command not found
  350. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-5' [9.77 GB] inherit
  351. -bash: ACTIVE: command not found
  352. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-6' [9.77 GB] inherit
  353. -bash: ACTIVE: command not found
  354. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-7' [9.77 GB] inherit
  355. -bash: ACTIVE: command not found
  356. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-8' [9.77 GB] inherit
  357. -bash: ACTIVE: command not found
  358. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-9' [9.77 GB] inherit
  359. -bash: ACTIVE: command not found
  360. Debian-1:/ISOs# ACTIVE '/dev/VMs/quarum-10' [9.77 GB] inherit
  361. -bash: ACTIVE: command not found
  362. Debian-1:/ISOs# Debian-1:/ISOs# vgscan -L
  363. -bash: Debian-1:/ISOs#: No such file or directory
  364. Debian-1:/ISOs# cat /proc/mdstat
  365. Personalities : [raid10]
  366. md1 : active raid10 sdb1[0] sdf1[3] sde1[2] sdd1[1]
  367. 1953518592 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
  368.  
  369. 100 iptables-save > /root/firewall.rules
  370. 101 iptables -X
  371. 102 iptables -t nat -F
  372. 103 iptables -t nat -X
  373. 104 iptables -t mangel -F
  374. 105 iptables -t mangle -F
  375. 106 iptables -P INPUT ACCEPT
  376. 107 iptables -P FORWARD ACCEPT
  377. 108 iptagles -P OUTPUT ACCEPT
  378. 109 iptables -P OUTPUT ACCEPT
  379.  
  380. /etc/initiators.allow
  381.  
  382. iqn.1991-05.com.microsoft:sql-srv-01.myad2.wanfuse.com 10.0.2.17
  383. iqn.1991-05.com.microsoft:sql-srv-02.myad2.wanfuse.com 10.0.2.16
  384. iqn.1991-05.com.microsoft:sql-srv-maj.myad2.wanfuse.com 10.0.2.15
  385. iqn.1991-05.com.microsoft:xchg-srv-1.myad2.wanfuse.com 10.0.2.18
  386. iqn.1991-05.com.microsoft:xchg-srv-2.myad2.wanfuse.com 10.0.2.19
  387. iqn.1991-05.com.microsoft:xchg-srv-3.myad2.wanfuse.com 10.0.2.20
  388.  
  389. /etc/initiators.deny
  390.  
  391.  
  392. # The semantics are:
  393. # * By default, every initiator can see and connect to all targets.
  394. #
  395. # * Deny for some or every initiator access to one or all targets,
  396. # by adding a line to this file.
  397. #
  398. # * Then allow some named initiators access to selected targets,
  399. # by adding lines to initiators.allow
  400. #
  401. # Some examples
  402. #iqn.2001-04.com.example:storage.disk1.sys1.xyz ALL
  403. #iqn.2001-04.com.example:storage.disk1.sys2.xyz 192.168.12.2, 192.168.3.0/24, 1$
  404. #iqn.2001-04.com.example:storage.disk1.sys4.xyz [3ffe:302:11:1:211:43ff:fe31:5a$
  405. #ALL ALL
  406.  
  407.  
  408. /etc/ietd.con
  409.  
  410. Target iqn.2001-04.com.wanfuse:quarum.lun0
  411. IncomingUser
  412. OutgoingUser
  413. Lun 0 Path=/dev/VMs/quarum,Type=fileio
  414. Alias LUN0
  415. Target iqn.2001-04.com.wanfuse:quarum.lun1
  416. IncomingUser
  417. OutgoingUser
  418. Lun 1 Path=/dev/VMs/quarum-1,Type=fileio
  419. Alias LUN1
  420. Target iqn.2001-04.com.wanfuse:quarum.lun2
  421. IncomingUser
  422. OutgoingUser
  423. Lun 2 Path=/dev/VMs/quarum-2,Type=fileio
  424. Target iqn.2001-04.com.wanfuse:quarum.lun3
  425. IncomingUser
  426. OutgoingUser
  427. Lun 3 Path=/dev/VMs/quarum-3,Type=fileio
  428. Alias LUN3
  429. Target iqn.2001-04.com.wanfuse:quarum.lun4
  430. IncomingUser
  431. OutgoingUser
  432. Lun 4 Path=/dev/VMs/quarum-4,Type=fileio
  433. Alias LUN4
  434. Target iqn.2001-04.com.wanfuse:quarum.lun5
  435. IncomingUser
  436. OutgoingUser
  437. Lun 5 Path=/dev/VMs/quarum-5,Type=fileio
  438. Alias LUN5
  439.  
  440. continued for LUN6 through LUN10 same as above
  441.  
  442.  
  443.  
  444.  
  445.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement