Welcome to Filers Blog!

Reduxio builds the next-generation general-purpose storage platform which provides breakthrough capacity savings and recoverability with unique technologies:
NoDup™, Backdating™ and Tier-X™.

Visit our website to find out more about Reduxio Enterprise Flash Storage.

Monday, January 27, 2014

Create a multi-session setup in VMWare ESXi v5.x

~ # esxcli iscsi session list
vmhba37,iqn.2013-12.com.reduxio:alpha1,00023d000001
   Adapter: vmhba37
   Target: iqn.2013-12.com.reduxio:alpha1
   ISID: 00023d000001
   TargetPortalGroupTag: 1
   AuthenticationMethod: none
   DataPduInOrder: true
   DataSequenceInOrder: true
   DefaultTime2Retain: 0
   DefaultTime2Wait: 2
   ErrorRecoveryLevel: 0
   FirstBurstLength: 65536
   ImmediateData: true
   InitialR2T: true
   MaxBurstLength: 262144
   MaxConnections: 1
   MaxOutstandingR2T: 1
   TSIH: 256
~ #
~ # esxcli iscsi session add -A vmhba37
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1

Wednesday, December 11, 2013

Create a multi-session iSCSI setup in Linux

root@mktgmysql3:~#  iscsiadm --mode session
tcp: [1] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session
tcp: [1] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [2] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session
tcp: [1] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [2] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [3] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [4] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [5] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [6] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [7] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [8] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
root@mktgmysql3:~#

Monday, December 02, 2013

Rescan the disks in Linux

root@mktgmysql3:/usr/local/mysql/data.bak# echo "- - -" > /sys/class/scsi_host/host2/scan
root@mktgmysql3:/usr/local/mysql/data.bak# lsscsi
[1:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR10 1.00  /dev/sr0
[2:0:0:0]    disk    VMware   Virtual disk     1.0   /dev/sda
[2:0:1:0]    disk    VMware   Virtual disk     1.0   /dev/sdc
[4:0:0:0]    storage IET      Controller       0001  -
[4:0:0:154]  disk    REDUXIO  TCAS             23    /dev/sdb

Sunday, July 14, 2013

EtherChannels in Cisco Nexus 5000

Base on Cisco article  http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/EtherChannel.html#wp1115459

interface Ethernet105/1/11
  switchport mode trunk
  switchport access vlan 814
  switchport trunk allowed vlan 814
  no snmp trap link-status
  no logging event port link-status
  channel-group 2000

interface Ethernet105/1/12
  switchport mode trunk
  switchport access vlan 814
  switchport trunk allowed vlan 814
  no snmp trap link-status
  no logging event port link-status
  channel-group 2000

interface port-channel2000
  description Legato bond0 B5
  switchport mode trunk
  switchport access vlan 814
  switchport trunk allowed vlan 814

Opening a kernel profiling

# opreport --merge all cpu:0  -l /root/NC/mybinary  -g |head

Saturday, May 26, 2012

How to start compression?

In Data ONTAP 8.1:

sis start /vol/vol1 -U true -C true

Tuesday, May 15, 2012

How to arrange for keyless SSH

ssh-keygen -t dsa

cat /root/.ssh/id_dsa.pub >> /mnt/toaster0/etc/sshd/root/.ssh/authorized_key

Monday, May 16, 2011

More on NAS management

For an excellent overview of SANs and NAS read O'reilly's own bible type of book. Albeit somewhat outdated, the NAS management chapter does cover important aspects of managing a NAS system, and educates the reader on advanced topics such as CIFS oplocks.

Thursday, June 03, 2010

Windows Memory Management

A very interesting article:
RAM, Virtual Memory, PageFile and all that stuff
http://members.shaw.ca/bsanders/WindowsGeneralWeb/RAMVirtualMemoryPageFileEtc.htm

Sunday, November 01, 2009

Tuesday, October 06, 2009

Default NAS Vendors Passwords

NetApp
CLI/GUI - root, no password

EMC Celerra
CLI/GUI - nasadmin, nasadmin

BlueArc
SMU Web Manager - admin, nasadmin
SMU CLI - manager, nasadmin
SMU - root, nasadmin
Titan Server (CLI) - supervisor, supervisor

Isilon
CLI/GUI - root, a

LSI OnStor
CLI/GUI - root, back-door

Thursday, October 01, 2009

Thursday, July 23, 2009

How to quickly create a Solaris zone?

sh-3.00# zonecfg -z web1-zone
web1-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:web1-zone> create
zonecfg:web1-zone> set zonepath=/export/home/zones/web1-zones
zonecfg:web1-zone> set autoboot=true
zonecfg:web1-zone> add net
zonecfg:web1-zone:net> set address=10.1.70.233
zonecfg:web1-zone:net> set address=10.1.70.233/24
zonecfg:web1-zone:net> set physical=bge1
zonecfg:web1-zone:net> end
zonecfg:web1-zone> set pool=email-pool
zonecfg:web1-zone> verify
zonecfg:web1-zone> commit
zonecfg:web1-zone> exit
sh-3.00#

Install the zone:

sh-3.00# zoneadm -z web1-zone install
Preparing to install zone .
Creating list of files to copy from the global zone.
Copying <2528> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1023> packages on the zone.
Initialized <1023> packages on zone.
Zone is initialized.
Installation of these packages generated warnings:
The file
contains a log of the zone installation.

Reboot the zone:

[root@cookie:~]>zoneadm -z web1-zone boot

Connect to the zone:

sh-3.00# zlogin -C web1-zone

Thursday, July 16, 2009

How to change a Solaris zone netmask?

So it's all in /etc/zones/.xml but they tell you not to touch it.

In here:
http://forums.sun.com/thread.jspa?threadID=5075758

They tell you to run this:

zonecfg -z email-zone
zonecfg:email-zone> remove net address=10.1.30.232
zonecfg:email-zone> add net
zonecfg:email-zone:net> set address=10.1.70.232/24
zonecfg:email-zone:net> set physical=bge0
zonecfg:email-zone:net> end
zonecfg:email-zone> commit
zonecfg:email-zone> exit

Use this format for new-ip to configure a specific subnet mask: 10.1.30.232/24.

Sunday, May 03, 2009

NetApp SDK

http://communities.netapp.com/docs/DOC-1110

Saturday, April 11, 2009

Where to find ONTAP manpages

You can download the latest documentation set in zip format, and then install it right on a filer, and access it from the web.

Sunday, February 01, 2009

Debugging security with sectrace

A new command called "sectrace" can help debug security problems (e.g. user cannot chown a file with NT ACL).

sectrace add -a -path /vol/software

will produce meesages such as these:

Sun Feb 1 13:10:52 IST [jim: sectrace.filter.allowed:info]: [sectrace index: 2] Access allowed because 'Synchronize, Read Attributes' permission (0x100080) is granted on file or directory (Access allowed by an explicit access control entry) - Status: 1:58720452:0:0 - 10.1.20.107 - NT user name: support\administrator - UNIX user name: root(0) - Qtree security style is NTFS and NT ACL is set on file/directory - Path: /vol/software/

Typically there is no need to use -a since you only want to debug DENY replies.

Tuesday, January 20, 2009

Migrate Data with Robocopy

robocopy C:\ \\\ /MIR /COPYALL /Z /LOG:C:\Robocopy.txt /R:0 /W:0 /NP /XD RECYCLER "System Volume Information" ~snapshot

EMC Celerra Default Login

Login: root
Password: nasadmin