[OmniOS-discuss] shareiscsi property missing

2013-09-10 Thread Muhammad Yousuf Khan
http://docs.oracle.com/cd/E23824_01/html/821-1459/fnnop.html#fnnoq
i m using this link as a reference, and i ran these commands.

  zfs create -o mountpoint=none  acipool/cmdiscsi
  zfs create -V 8G -s acipool/cmdiscsi/iTarget
  sbdadm create-lu /dev/zvol/rdsk/acipool/cmdiscsi/iTarget
  stmfadm add-view 600144f0522ec1780001

all necessary services are running.

root@omni:~# svcs -a | grep stmf
online 11:12:11 svc:/system/stmf:default

 svcs -a | grep iscsi
online 11:12:06 svc:/network/iscsi/initiator:default
online 11:12:12 svc:/network/iscsi/target:default

but still i can not see shareiscsi property in my created volume here is
the output

root@omni:~#  zfs get all acipool/cmdiscsi/iTarget
NAME  PROPERTY  VALUE
SOURCE
acipool/cmdiscsi/iTarget  type  volume -
acipool/cmdiscsi/iTarget  creation  Tue Sep 10 11:49 2013  -
acipool/cmdiscsi/iTarget  used  23.9K  -
acipool/cmdiscsi/iTarget  available 272G   -
acipool/cmdiscsi/iTarget  referenced23.9K  -
acipool/cmdiscsi/iTarget  compressratio 1.00x  -
acipool/cmdiscsi/iTarget  reservation   none
default
acipool/cmdiscsi/iTarget  volsize   8G local
acipool/cmdiscsi/iTarget  volblocksize  8K -
acipool/cmdiscsi/iTarget  checksum  on
default
acipool/cmdiscsi/iTarget  compression   off
default
acipool/cmdiscsi/iTarget  readonly  off
default
acipool/cmdiscsi/iTarget  copies1
default
acipool/cmdiscsi/iTarget  refreservationnone
default
acipool/cmdiscsi/iTarget  primarycache  all
default
acipool/cmdiscsi/iTarget  secondarycacheall
default
acipool/cmdiscsi/iTarget  usedbysnapshots   0  -
acipool/cmdiscsi/iTarget  usedbydataset 23.9K  -
acipool/cmdiscsi/iTarget  usedbychildren0  -
acipool/cmdiscsi/iTarget  usedbyrefreservation  0  -
acipool/cmdiscsi/iTarget  logbias   latency
default
acipool/cmdiscsi/iTarget  dedup off
default
acipool/cmdiscsi/iTarget  mlslabel  none
default
acipool/cmdiscsi/iTarget  sync  standard
default
acipool/cmdiscsi/iTarget  refcompressratio  1.00x  -
acipool/cmdiscsi/iTarget  written   23.9K  -
acipool/cmdiscsi/iTarget  logicalused   8K -
acipool/cmdiscsi/iTarget  logicalreferenced 8K -




however i can connect to the iSCSI LUN from my client but it size showed up
0.
but connection is fine.

Thanks.

Myk
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] shareiscsi property missing

2013-09-10 Thread Chavdar Ivanov
Shareiscsi property is not used at all.

Chavdar Ivanov
Sent from my BlackBerry® wireless device

-Original Message-
From: Muhammad Yousuf Khan sir...@gmail.com
Date: Tue, 10 Sep 2013 07:16:09 
To: omnios-discuss@lists.omniti.com
Subject: [OmniOS-discuss] shareiscsi property missing





http://docs.oracle.com/cd/E23824_01/html/821-1459/fnnop.html#fnnoq
i m using this link as a reference, and i ran these commands.
 
  zfs create -o mountpoint=none  acipool/cmdiscsi
  zfs create -V 8G -s acipool/cmdiscsi/iTarget
  sbdadm create-lu /dev/zvol/rdsk/acipool/cmdiscsi/iTarget
  stmfadm add-view 600144f0522ec1780001
 
all necessary services are running.

root@omni:~# svcs -a | grep stmf
online 11:12:11 svc:/system/stmf:default

 svcs -a | grep iscsi
online 11:12:06 svc:/network/iscsi/initiator:default
 online 11:12:12 svc:/network/iscsi/target:default

but still i can not see shareiscsi property in my created volume here is the 
output 

root@omni:~#  zfs get all acipool/cmdiscsi/iTarget
NAME  PROPERTY  VALUE  SOURCE
 acipool/cmdiscsi/iTarget  type  volume -
acipool/cmdiscsi/iTarget  creation  Tue Sep 10 11:49 2013  -
acipool/cmdiscsi/iTarget  used  23.9K  -
 acipool/cmdiscsi/iTarget  available 272G   -
acipool/cmdiscsi/iTarget  referenced    23.9K  -
acipool/cmdiscsi/iTarget  compressratio 1.00x  -
 acipool/cmdiscsi/iTarget  reservation   none   default
acipool/cmdiscsi/iTarget  volsize   8G local
acipool/cmdiscsi/iTarget  volblocksize  8K -
 acipool/cmdiscsi/iTarget  checksum  on default
acipool/cmdiscsi/iTarget  compression   off    default
acipool/cmdiscsi/iTarget  readonly  off    default
 acipool/cmdiscsi/iTarget  copies    1  default
acipool/cmdiscsi/iTarget  refreservation    none   default
acipool/cmdiscsi/iTarget  primarycache  all    default
 acipool/cmdiscsi/iTarget  secondarycache    all    default
acipool/cmdiscsi/iTarget  usedbysnapshots   0  -
acipool/cmdiscsi/iTarget  usedbydataset 23.9K  -
 acipool/cmdiscsi/iTarget  usedbychildren    0  -
acipool/cmdiscsi/iTarget  usedbyrefreservation  0  -
acipool/cmdiscsi/iTarget  logbias   latency    default
 acipool/cmdiscsi/iTarget  dedup off    default
acipool/cmdiscsi/iTarget  mlslabel  none   default
acipool/cmdiscsi/iTarget  sync  standard   default
 acipool/cmdiscsi/iTarget  refcompressratio  1.00x  -
acipool/cmdiscsi/iTarget  written   23.9K  -
acipool/cmdiscsi/iTarget  logicalused   8K -
 acipool/cmdiscsi/iTarget  logicalreferenced 8K -





however i can connect to the iSCSI LUN from my client but it size showed up 0.

but connection is fine. 
 

Thanks.


Myk
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] poor nfs performence.

2013-09-10 Thread Muhammad Yousuf Khan
i am using Raidz2 with 4 drives.

i am using dell 490 with 2x3.0 Xeon processors.
12 GB RAM.


1 40gb HD for omni OS
4 different size disks for Raidz2. set of 2x160gb and 2x250 gb.
every thing is working well except VM file transfer performance. hosted on
NFS.

when i SCP from omniOS to another linux server it copy

root@omni:/acipool# scp test.tmp root@10.x.x.13:/
The authenticity of host '10.x.x.13 (10.xx.xx.13)' can't be established.
RSA key fingerprint is da:x:xx:xx:8f:b1:ed:d9:f4:dd:e3xxx:21:5f:01:23.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.xx.xx.13' (RSA) to the list of known hosts.
root@10.x.x.13's password:
test.tmp 100%
||
5120 MB07:37


which i think is fine due to Raidz and 2 parities.

however on VM hosted on NFS taking too much time.

a file of 500 MB copying from NFS to my desktops took 20 minutes.

but file from my desktop to NFS is normal. for example a file of 500Mb
taking less then a minute to copy.

but same file when i try to copy from NFS to desktop some time it shows 100
plus minutes  and dynamically changing time but eventually it is taking too
much time.

some time copying from NFS is a bit quicker and some time dead slow.

one thing i have also noticed that once the copy is dead slow it suddenly
starts copying the data very fast and it happens for few seconds and then
again dead slow.


any idea what is happening what mistake i am doing here ?

any advice would be highly appreciated.

i will share my further testing later.

Thanks,

Yousuf
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] poor nfs performence.

2013-09-10 Thread Fábio Rabelo
Hi to all ..

This article were my guideline in my first implementation :

http://constantin.glez.de/blog/2010/04/ten-ways-easily-improve-oracle-solaris-zfs-filesystem-performance

My gess, you need more RAM .

In your description of the system, you have a lot of processing power,
but very litle RAM ...

Sata controler can impact that too .


Fábio Rabelo

2013/9/10 Muhammad Yousuf Khan sir...@gmail.com:
 i am using Raidz2 with 4 drives.

 i am using dell 490 with 2x3.0 Xeon processors.
 12 GB RAM.


 1 40gb HD for omni OS
 4 different size disks for Raidz2. set of 2x160gb and 2x250 gb.
 every thing is working well except VM file transfer performance. hosted on
 NFS.

 when i SCP from omniOS to another linux server it copy

 root@omni:/acipool# scp test.tmp root@10.x.x.13:/
 The authenticity of host '10.x.x.13 (10.xx.xx.13)' can't be established.
 RSA key fingerprint is da:x:xx:xx:8f:b1:ed:d9:f4:dd:e3xxx:21:5f:01:23.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added '10.xx.xx.13' (RSA) to the list of known hosts.
 root@10.x.x.13's password:
 test.tmp 100%
 ||
 5120 MB07:37


 which i think is fine due to Raidz and 2 parities.

 however on VM hosted on NFS taking too much time.

 a file of 500 MB copying from NFS to my desktops took 20 minutes.

 but file from my desktop to NFS is normal. for example a file of 500Mb
 taking less then a minute to copy.

 but same file when i try to copy from NFS to desktop some time it shows 100
 plus minutes  and dynamically changing time but eventually it is taking too
 much time.

 some time copying from NFS is a bit quicker and some time dead slow.

 one thing i have also noticed that once the copy is dead slow it suddenly
 starts copying the data very fast and it happens for few seconds and then
 again dead slow.


 any idea what is happening what mistake i am doing here ?

 any advice would be highly appreciated.

 i will share my further testing later.

 Thanks,

 Yousuf








 ___
 OmniOS-discuss mailing list
 OmniOS-discuss@lists.omniti.com
 http://lists.omniti.com/mailman/listinfo/omnios-discuss

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] rsync issues

2013-09-10 Thread Tim Rice
On Mon, 9 Sep 2013, Ian Kaufman wrote:

 Hi all,
 
 I am trying to slurp data over from one IllumOS based system
 (Illumian) to another (latest stable OmniOS), and I am running into a
 problem. I keep seeing the error:
 
 rsync: failed to set permissions on FILENAME: Not owner (1)
 
 which is leaving me with all of my dirs/files either 777 or 666. I am
 using the -a flag, both as root and as the directory/file owner, and
 the namespace/user ids are consistent across the system. My idmapd
 domain is also consistent.
 
 Has anyone else seen this problem?

I just go through migrating the data from my UnixWare server to
OmniOS (omnios-b281e50) and saw a very similar error message. I say
similar because if I remember correctly it came from tar not rsync.
Then doing a rsync tuned up things nicely. The problem files all seemed
to be suid root.

 
 Thanks,
 
 Ian
 

-- 
Tim RiceMultitalents
t...@multitalents.net


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss