[OpenIndiana-discuss] Need thoughts on OpenIndiana+ZFS for backup server

2011-02-05 Thread Basil Kurian
Hi all


Currently in our company we are having a Dragonfly BSD backup server with
Hammer filesystem in it. One senior system administrator in our compay chose
Hammer filesystem some times back, because Hammer filesystem can easily
recover in times of power failures. I 'm compelling him to move to ZFS (on
FreeBSD or OpenIndiana). How durable is data on an ZFS pool (RAID or mirror)
when  power failure happen frequently.

-- 
Regards

Basil Kurian
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Need good beginner guide to network configuration in OpenIndiana/OpenSolaris with NWAM

2011-02-04 Thread Basil Kurian
Hi Jonathan


Thanks , but  I'm running OpenIndiana without display. So what i need is
commandline methods.

I already configured  static networking with classic network configuration
in solaris ( with the help of the link you gave)

Now i just want to know how networking can be configured in commandline
using NWAM.




On 4 February 2011 15:49, Jonathan Adams t12nsloo...@gmail.com wrote:

 I don't know of any ... It changed a lot between 134 to 148, which
 caused me grief because I have a local replica of an LDAP server and
 use that for all naming requests ... and LDAP and NIS+ are now able to
 be controlled via the nwam system ...

 If I was on a stand-alone system I would still use
 network/physical:default, but I'm on a laptop which moves between
 sites (and connects over openVPN sometimes), so I struggled with and
 got NWAM working for me.

 If you right click on the Network Status Notification Icon and go to
 Network Preferences

 change Show: to Network Profile

 click on User (if it is there) or create a new profile and click Edit

 you now have the ability to specify all the connections that you want
 to be enabled (if the cards aren't there click on the Connections
 button at the top)

 I have VirtualBox installed so my configuration has:

 Always enable these connections:
 Wired (vboxnet0) Addresses: (v4) 192.168...

 and
 Then enable exactly one of these connections:
 Wired (bge0) Addresses: (v4) DHCP ...
 Wireless (iwh0) Addresses: (v4) DHCP...

 If you then click on Show at the top you should be able to modify
 all the settings for the specific cards ordered by the profile then by
 the interfaces.

 If you click on Connection Status under Show, click on
 Locations, click on Automatic and click on Edit you have the
 ability to edit the name services that you need and can specify a
 custom nsswitch.conf file (do check that the file has the correct name
 by OKing everything and then trying it again, for some reason it
 went wrong sometimes and picked a random file from /etc

 you can't seem to set LDAP as a name service for NoNet as a location
 for some reason ... :)

 I hope this helps any.

 Jon

 On 3 February 2011 17:16, Basil Kurian basilkur...@gmail.com wrote:
  Hi Jonathan
 
  That document is a lot helpful. I 'm able to configure static networking
 on
  OpenIndiana . Thanks :)
 
  But in that method NWAM is disabled and older methods are used to
 configure
  networking. Is there any articles containing NWAM configuration examples
 ??
 
  On 3 February 2011 19:59, Basil Kurian basilkur...@gmail.com wrote:
 
  Thanks let me try it .
 
 
  On 3 February 2011 19:51, Jonathan Adams t12nsloo...@gmail.com wrote:
 
 
 
 http://www.slideshare.net/networksguy/opensolaris-how-to-guides-opensolaris-network-administration
 
  On 3 February 2011 14:16, Basil Kurian basilkur...@gmail.com wrote:
   I 'm pretty new to Solaris environment. Currently I'm using dhcp in
 my
   network configuration. I would like to set it to a static one. I 'm
  running
   openIndiana without display. I find it difficult to configure
 networking
   with NWAM. It will be nice if someone can give me some link to
 articles
  or
   blogs about good configuration examples.
  
   --
   Regards
  
   Basil Kurian
   http://basilkurian.tk
   ___
   OpenIndiana-discuss mailing list
   OpenIndiana-discuss@openindiana.org
   http://openindiana.org/mailman/listinfo/openindiana-discuss
  
 
  ___
  OpenIndiana-discuss mailing list
  OpenIndiana-discuss@openindiana.org
  http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 
 
 
  --
  Regards
 
  Basil Kurian
  http://basilkurian.tk
 
 
 
 
  --
  Regards
 
  Basil Kurian
  ___
  OpenIndiana-discuss mailing list
  OpenIndiana-discuss@openindiana.org
  http://openindiana.org/mailman/listinfo/openindiana-discuss
 

 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss




-- 
Regards

Basil Kurian
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Need good beginner guide to network configuration in OpenIndiana/OpenSolaris with NWAM

2011-02-03 Thread Basil Kurian
I 'm pretty new to Solaris environment. Currently I'm using dhcp in my
network configuration. I would like to set it to a static one. I 'm running
openIndiana without display. I find it difficult to configure networking
with NWAM. It will be nice if someone can give me some link to articles or
blogs about good configuration examples.

-- 
Regards

Basil Kurian
http://basilkurian.tk
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Doubt on ZFS

2011-02-02 Thread Basil Kurian
HI
*
I have some doubts on ZFS.*

[root@beastie /etc]# zpool create nas da0 da1
[root@beastie /etc]# zpool list
NAME   SIZE   USED  AVAILCAP  HEALTH  ALTROOT
nas   23.9G  73.5K  23.9G 0%  ONLINE  -
[root@beastie /etc]# zpool add nas da2
[root@beastie /etc]# zpool list
NAME   SIZE   USED  AVAILCAP  HEALTH  ALTROOT
nas   35.8G   134K  35.8G 0%  ONLINE  -


*Then I stored one big file on /nas . after that , I tried to remove newly
attached disk.*


[root@beastie /etc]# du -sh /nas/huge_file
464M/nas/huge_file
[root@beastie ~]# zpool remove nas da2
cannot remove da2: only inactive hot spares or cache devices can be removed
[root@beastie ~]# zpool offline  nas da2
cannot offline da2: no valid replicas
[root@beastie ~]# zpool detach  nas da2
cannot detach da2: only applicable to mirror and replacing vdevs

*
Though the data stored in the pool is much less that the size of individual
disks ,  I 'm unable to remove any of the members from the pool. How can I
do that without losing data ?
*



*I have one more doubt*

[root@beastie ~]# zpool create nas mirror ad4 ad6 mirror da0 da1
[root@beastie ~]# zpool status
  pool: nas
 state: ONLINE
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
nas ONLINE   0 0 0
  mirrorONLINE   0 0 0
ad4 ONLINE   0 0 0
ad6 ONLINE   0 0 0
  mirrorONLINE   0 0 0
da0 ONLINE   0 0 0
da1 ONLINE   0 0 0

[root@beastie ~]# zpool detach nas da0
[root@beastie ~]# zpool status
  pool: nas
 state: ONLINE
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
nas ONLINE   0 0 0
  mirrorONLINE   0 0 0
ad4 ONLINE   0 0 0
ad6 ONLINE   0 0 0
  da1   ONLINE   0 0 0

errors: No known data errors

[root@beastie ~]# zpool attach nas da0
missing new_device specification
[root@beastie ~]# zpool attach nas da0 da1
invalid vdev specification
use '-f' to override the following errors:
/dev/da1 is part of active pool 'nas'


*How can I reattach it to the pool ?*


*Finally one more doubt too*
[root@beastie ~]# zpool create nas mirror ad4 ad6 mirror da0 da1

*can we do this in two steps. something like*

[root@beastie ~]# zpool create nas1 mirror ad4 ad6
[root@beastie ~]# zpool create nas2 mirror da0 da1
[root@beastie ~]# zpool create nas nas1 nas 2
cannot open 'nas1': no such GEOM provider
must be a full path or shorthand device name


-- 
Regards

Basil Kurian
http://basilkurian.tk
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss