[OpenIndiana-discuss] linux disk filter

2013-04-19 Thread DengEncore
Hi all, I am writing a linux kernel module to filter the disk IO. And I am facing the problems below: 1. When the system start, how can I set my module be loaded before the file system? If the file system is loaded first, maybe some disk IO will be out of filter before my module

Re: [OpenIndiana-discuss] linux disk filter

2013-04-19 Thread Michael Schuster
Hi, erm. This list is dedicated to OpenIndiana, which is NOT a flavour of linux. While userland may look similar in many aspects, the kernel most definitely does not, so even if you may get lucky and find someone who can help you, I'd suggest you look for a linux-oriented mailing list and ask

[OpenIndiana-discuss] zpool vdev membership misreported

2013-04-19 Thread Justin Warwick
jrw@valinor:~$ pfexec zpool attach media c2d1 c3d1 invalid vdev specification use '-f' to override the following errors: /dev/dsk/c3d1s0 is part of active ZFS pool rpool. Please see zpool(1M). Yet I do not see c3d1 in zpool status. Initially I had 4 disks total, all Seagate SATA drives, two

Re: [OpenIndiana-discuss] IPNAT redirection.

2013-04-19 Thread Jonathan Adams
Actually in the real system I am trying to forward a port from an external address (on the internet, the address I hid) to an internal RDP server (port 3389 tcp) ... but for testing I forwarded to an internal IMAP server iprb0 is the external interface, bge0 is the internal. I added bge0 to see

Re: [OpenIndiana-discuss] IPNAT redirection.

2013-04-19 Thread Jonathan Adams
more specific addresses to forward: root@oldfluffy:/etc/ipf# ipnat -l List of active MAP/Redirect filters: rdr iprb0 n.n.62.35/32 port 143 - 192.168.0.12 port 143 tcp rdr bge0 192.168.0.65/32 port 143 - 192.168.0.12 port 143 tcp List of active sessions: RDR 192.168.0.12 143 - -n.n.62.35

Re: [OpenIndiana-discuss] IPNAT redirection.

2013-04-19 Thread Gary Gendel
Jon, I redirect ports fine using nat. I'm trying to understand what's different between your and my setup. For example in my ipnat.conf file I have: rdr bge0 0.0.0.0/0 port 2022 - 10.101.1.9 port 22 tcp/udp Where bge0 is my external nic (bge1 is my internal nic). BTW, I use 0.0.0.0/0 so

Re: [OpenIndiana-discuss] IPNAT redirection.

2013-04-19 Thread Jonathan Adams
On 19 April 2013 11:45, Gary Gendel g...@genashor.com wrote: Jon, I redirect ports fine using nat. I'm trying to understand what's different between your and my setup. For example in my ipnat.conf file I have: rdr bge0 0.0.0.0/0 port 2022 - 10.101.1.9 port 22 tcp/udp Where bge0 is my

Re: [OpenIndiana-discuss] IPNAT redirection.

2013-04-19 Thread Gary Gendel
We've all been there. :( On 04/19/2013 08:08 AM, Jonathan Adams wrote: ignore me, i'm just being stupid! on the accelerated host I needed to add the route to the external server :( On 19 April 2013 12:58, Jonathan Adams t12nsloo...@gmail.com wrote: On 19 April 2013 11:45, Gary Gendel

Re: [OpenIndiana-discuss] IPNAT redirection.

2013-04-19 Thread Jonathan Adams
I kinda assumed that the packets would have been translated to be from the machine on the firewall ... it was only after snooping from the firewall that I noticed the originator ... I'm going to have to delegate because I don't trust the windows server to know anything about the outside world.

Re: [OpenIndiana-discuss] vdev reliability was: Recommendations for fast storage

2013-04-19 Thread Sebastian Gabler
Am 19.04.2013 11:22, schrieb openindiana-discuss-requ...@openindiana.org: Message: 1 Date: Thu, 18 Apr 2013 16:03:32 -0500 From: Timothy Coalsontsc...@mst.edu To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org Subject: Re: [OpenIndiana-discuss] vdev reliability was:

Re: [OpenIndiana-discuss] zpool vdev membership misreported

2013-04-19 Thread George Wilson
Justin, More than likely c3d1 contain a label from an old pool. If you run 'zdb -l /dev/dsk/c3d1s0' you should be able to if one exists. If does contain information for an old pool then using the '-f' option when attaching will solve your problem and relabel the device with the new pool

Re: [OpenIndiana-discuss] zpool vdev membership misreported

2013-04-19 Thread Jim Klimov
On 2013-04-19 11:20, Justin Warwick wrote: I broke the mirror on the media pool (i can't remember whey I did that). Since that time I have been getting that message which seems to mean somehow the disk is halfway stuck in the mirror. Agreeing with George's answer, I'd like to inquire: how did

Re: [OpenIndiana-discuss] vdev reliability was: Recommendations for fast storage

2013-04-19 Thread Timothy Coalson
On Fri, Apr 19, 2013 at 8:14 AM, Sebastian Gabler sequoiamo...@gmx.netwrote: On Thu, Apr 18, 2013 at 10:24 AM, Sebastian Gablersequoiamo...@gmx.net wrote: One of Elling's posts cited by another poster did take that into account, but the graphs don't load due to url changes (and they seem

Re: [OpenIndiana-discuss] vdev reliability was: Recommendations for fast storage

2013-04-19 Thread Richard Elling
[catching up...] On Apr 19, 2013, at 6:14 AM, Sebastian Gabler sequoiamo...@gmx.net wrote: Am 19.04.2013 11:22, schrieb openindiana-discuss-requ...@openindiana.org: Message: 1 Date: Thu, 18 Apr 2013 16:03:32 -0500 From: Timothy Coalsontsc...@mst.edu To: Discussion list for OpenIndiana

Re: [OpenIndiana-discuss] vdev reliability was: Recommendations for fast storage

2013-04-19 Thread Richard Elling
[catching up... comment below] On Apr 18, 2013, at 2:03 PM, Timothy Coalson tsc...@mst.edu wrote: On Thu, Apr 18, 2013 at 10:24 AM, Sebastian Gabler sequoiamo...@gmx.netwrote: Am 18.04.2013 16:28, schrieb

Re: [OpenIndiana-discuss] building a new box soon- HDD concerns and recommendations for virtual serving

2013-04-19 Thread Carl Brewer
On 17/04/2013 8:25 PM, Aneurin Price wrote: On 17 April 2013 03:53, Carl Brewer c...@bl.echidna.id.au wrote: Further to my original post, I have a new (desktop, I know ... but I am on a tight budget) Intel MB with an i5-3750 CPU and 32 GB of desktop RAM. Booting the 151a7 live DVD shows that it