[zfs-discuss] How can I get the unuse partition size or usage after it is been used.

2010-04-14 Thread likaijun
Hello,all, I use opensolaris snv-133 
I use comstar to share IPSAN a partition werr/pwd to window client.
Now I copy a 1.05GB file to the format disk. then the partition usage is about 
80%,now I delete  the file and the disk is idle.cancel IPSAN share  I thought 
the partition usage is drop to about 3%.But the result is not like that.
# zpool list
NAMESIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
rpool  3.75G  2.34G  1.41G62%  1.00x  ONLINE  -
werr   1.98G  1.10G   908M55%  1.00x  ONLINE  

# zfs list werr/pwd
NAME   USED  AVAIL  REFER  MOUNTPOINT
werr/pwd  1.35G   876M  1.10G  -
How can I get the partiton usage after I delete the partion after the IPSAN 
share?
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] select a qlogic fc HBA port to a qlc/qlt mode?

2010-04-13 Thread likaijun
hello,all,I want to add a dual ports  FC HBA (qlogic 2462)to my opensolaris 
snv-133.
My Purpose is one port is set to Initiator mode and another is target mode.

#luxadm -e port
/device/pci...@...  connected
/device/pci...0,1...@..  connected
I konw  it is the initiator mode.
then I updadate_drv -a -i 'pci0,1@' qlt
after reboot,
Changes is not effected.It is to say .now I only use them all to qlc or qlt 
mode.
updadate_drv -a -i 'pci0@' qlt
is the same.
I can only add or remove : update_drv -a(-d) -i 'pciex1077,2432' qlc(qlt)
I read the /etc/path_to inst
/p...@0,0/pci8086,3...@6/pci1077,1...@0 0 qlc
/p...@0,0/pci8086,3...@6/pci1077,1...@0 0 qlt
/p...@0,0/pci8086,3...@6/pci1077,1...@0 1 qlc
/p...@0,0/pci8086,3...@6/pci1077,1...@0 1qlt

I find a basic doc web:
http://wikis.sun.com/display/OpenSolarisInfo/How+to+Configure+Fibre+Channel+Ports
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] can I configure a fc-san initiator for a storage array?

2010-03-16 Thread likaijun
I have a machine with opensolaris snv111b .I want to let it use to a fc-san 
initiator NAS header in my total system.
Now I configure FC HBA port from qlt to qlc mode as initiator wich command 
update_drv . 
I can use stmfadm list-target -v to find the  FC-SAN target  is conneted
Target: wwn.211B328A3224
Operational Status: Online
Provider Name : qlt
Alias : qlt2,0
Protocol  : Fibre Channel
Sessions  : 1
   [i] Initiator: wwn.211B328AF72C[/i]
Alias: -
Logged in since: Tue Mar 16 11:49:01 2010

How can I configure a fcsan initiator nor a iscsi initiator? can you give me 
some suggestion?
thanks.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss