Windows NFS server and issues with php rename() and chown

2014-11-14 / Linux, SAN, Server, Server 2008 R2 / 0 Comments

Problem: Windows NFS has various mount points exported. on a UNIX system you use php and a method to move/rename files using php rename() .

while normally chown is restricted to root access, you can still chown to yourself in linux.

the rename() method in php also does a chown() which changes the owner to itself, not sure why, but it does. This caused problems when connected to our NFS server hosted in windows and we were unable to reproduce it on a local linux storage or a linux NFS server. The problem was due to the nature of Windows NFS server.

“Users accessing NFS shares from a Windows Server 2008 R2 based NFS server may get the error “Permission Denied” while trying to run the ‘chown’ command from UNIX NFS clients. This can happen even though the user is the owner of the files. The UNIX “root” user does not exhibit these issues.”

Solution: Apply recommended registry setting for Windows Server 2008 R2, although we were running Server 2012 this is still relevant

Read More

Extend encrypted LVM By adding new physical disk

2014-01-23 / Linux, SAN, VMWare / 0 Comments

1. Verify the volume group and the logical volume name:


2. Add a new hard disk device to add to the volume group (in this example /dev/sdd):

pvcreate /dev/sdd
vgextend existing_volume_group /dev/sdd

3. After extending the volume group, extend the underlying Logical Volume (500GB):

sudo lvextend -L+500G /dev/existing_volume_group/logicalvolume_data

4. Resize the Crypt:

sudo cryptsetup resize /dev/mapper/

5. Resize filesystem:

sudo resize2fs /dev/mapper/

Read More

Ubuntu 12 LIO iSCSI Target with SCSI-3

2012-08-14 / Linux, SAN, Server / 0 Comments

Needed a quick solution to add storage to a failover cluster in a lab environment. LIO iSCSI supports scsi-3 persistent reservation iscsi. I decided to go with this solution.


1. Install Ubuntu
install ubuntu
apt-get update
apt-get upgrade
apt-get install lio-utils

2. configure lio

attach additional storage to your ubuntu server. The following configuration can be used via command line first to test. Once everything is working you can make it static by modifying the files listed.

a. setup your devices to be used.

nano /etc/target/

tcm_node --block iblock_0/iscsiarray1 /dev/sdb
tcm_node --block iblock_0/iscsiarray2 /dev/sdc
tcm_node --block iblock_0/iscsiarray3 /dev/sdd
tcm_node --block iblock_0/iscsiarray4 /dev/sde

b. setup your iscsi target

nano /etc/target/

lio_node --addlun 1 1 iscsi01 iblock_0/iscsiarray1
lio_node --addnp 1
lio_node --disableauth 1
lio_node --addlunacl 1 1 1
lio_node --addlunacl 1 1 1
lio_node --enabletpg 1

lio_node --addlun 2 2 iscsi02 iblock_0/iscsiarray2
lio_node --addnp 2
lio_node --disableauth 2
lio_node --addlunacl 2 2 2
lio_node --addlunacl 2 2 2
lio_node --enabletpg 2

lio_node --addlun 3 3 iscsi03 iblock_0/iscsiarray3
lio_node --addnp 3
lio_node --disableauth 3
lio_node --addlunacl 3 3 3
lio_node --addlunacl 3 3 3
lio_node --enabletpg 3

lio_node --addlun 4 4 iscsi04 iblock_0/iscsiarray4
lio_node --addnp 4
lio_node --disableauth 4
lio_node --addlunacl 4 4 4
lio_node --addlunacl 4 4 4
lio_node --enabletpg 4
Read More

EMC Engineering Mode

2012-02-16 / SAN / 0 Comments

In Navisphere CTRL-SHIFT-F12

password : messner

Read More

EMC CLARiiON Best Practices for Fibre Channel Storage

2010-12-03 / SAN / 0 Comments

Included is a PDF document for the best practices when configuring a EMC Clariion for Fibre Channel Storage


Read More

EMC CX-300 Setup Guide

2010-10-21 / SAN / 0 Comments

I found myself needing this multiple times.

CX300 Setup Guide

Read More

Default QLogic SAN Surfer Password

2010-02-25 / SAN / 0 Comments

What is the default password for SANsurfer HBA Manager?  

The default password is ‘config’ 
Operating System

Linux Red Hat
Linux SUSE
Windows 2000
Windows XP
Windows Vista
Windows Server 2003

Read More