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

2013-04-21 Thread Jay Heyl
On Sat, Apr 20, 2013 at 8:48 PM, Carl Brewer c...@bl.echidna.id.au wrote:


 Like this :

 root@hostie:~# zdb | egrep 'ashift| name'
 name: 'rpool'
 ashift: 12



 And as I understand it, the 12 means 4k blocks, good, right? :)


Yep, those are the good kind. You're future-proof for the foreseeable
future.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2013-04-21 Thread Carl Brewer

On 21/04/2013 7:37 PM, Jay Heyl wrote:

On Sat, Apr 20, 2013 at 8:48 PM, Carl Brewer c...@bl.echidna.id.au wrote:



Like this :

root@hostie:~# zdb | egrep 'ashift| name'
 name: 'rpool'
 ashift: 12



And as I understand it, the 12 means 4k blocks, good, right? :)



Yep, those are the good kind. You're future-proof for the foreseeable
future.


no-one will ever need more than 640k of RAM :)

Thank you for the help, it's much appreciated!

Carl



___
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


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

2013-04-20 Thread Carl Brewer

On 19/04/2013 11:29 AM, Carl Brewer wrote:

On 18/04/2013 11:08 AM, Jay Heyl wrote:


One thing I would recommend is trying to use the ashift=12 setting to
force
the use of 4k blocks. I ran into problems because my initial pools were
created with 512-byte blocks. When I bought some spare drives I couldn't
use them because they were advanced format with 4k blocks and zfs
won't mix
block sizes on the same vdev. Had I used 4k blocks when I initially set
everything up I wouldn't have had this problem with the new drives.


How can I check what they are at the moment?


Like this :

root@hostie:~# zdb | egrep 'ashift| name'
name: 'rpool'
ashift: 12



And as I understand it, the 12 means 4k blocks, good, right? :)

Carl



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


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 thinks it's a 32 bit system (huh?).
It regognises almost all the devices when I run the device manager, but
doesn't see any HDD's.  they're just not there at all.  At boot time it says
they're too big for a 32 bit kernel.  Why is it booting a 32 bit kernel
anyway?  Maybe some BIOS thing I need to set?  I booted the first (default)
image that the live CD displays.


I don't know why it always boots the 32-bit version (I have a hard
time imagining why anyone would *ever* want to boot a 32-bit kernel on
a 64-bit machine, let alone enough for it to be the default), but you
can tell it not to:
When you boot from the live cd, at the grub prompt choose the option
to edit the boot command line, and change $ISADIR to amd64.


That worked a treat, thank you


As well as thinking it's 32 bit, it also doesn't see any drives at all. I
have a single new Seagate 2TB (4k blocks?) ST2000DM001 in it that the live
CD doesn't see at all.


That's normal; the 32-bit environment can't access 2TB+ drives. If you
boot the 64-bit kernel it'll see it just fine.

BTW, is there a particular reason for the choice of Virtualbox over KVM?


I may need to run quite a variety of guests, VB is pretty versatile and 
I know and am comfortable with it.




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


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

2013-04-18 Thread Carl Brewer

On 18/04/2013 11:08 AM, Jay Heyl wrote:


One thing I would recommend is trying to use the ashift=12 setting to force
the use of 4k blocks. I ran into problems because my initial pools were
created with 512-byte blocks. When I bought some spare drives I couldn't
use them because they were advanced format with 4k blocks and zfs won't mix
block sizes on the same vdev. Had I used 4k blocks when I initially set
everything up I wouldn't have had this problem with the new drives.


How can I check what they are at the moment?

thanks!

Carl



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


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

2013-04-17 Thread Aneurin Price
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 thinks it's a 32 bit system (huh?).
 It regognises almost all the devices when I run the device manager, but
 doesn't see any HDD's.  they're just not there at all.  At boot time it says
 they're too big for a 32 bit kernel.  Why is it booting a 32 bit kernel
 anyway?  Maybe some BIOS thing I need to set?  I booted the first (default)
 image that the live CD displays.

I don't know why it always boots the 32-bit version (I have a hard
time imagining why anyone would *ever* want to boot a 32-bit kernel on
a 64-bit machine, let alone enough for it to be the default), but you
can tell it not to:
When you boot from the live cd, at the grub prompt choose the option
to edit the boot command line, and change $ISADIR to amd64.

 As well as thinking it's 32 bit, it also doesn't see any drives at all. I
 have a single new Seagate 2TB (4k blocks?) ST2000DM001 in it that the live
 CD doesn't see at all.

That's normal; the 32-bit environment can't access 2TB+ drives. If you
boot the 64-bit kernel it'll see it just fine.

BTW, is there a particular reason for the choice of Virtualbox over KVM?

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


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

2013-04-17 Thread Carl Brewer

On 17/04/2013 12:53 PM, Carl Brewer 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 thinks it's a 32 bit
system (huh?). It regognises almost all the devices when I run the
device manager, but doesn't see any HDD's.  they're just not there at
all.  At boot time it says they're too big for a 32 bit kernel.  Why is
it booting a 32 bit kernel anyway?  Maybe some BIOS thing I need to set?
  I booted the first (default) image that the live CD displays.


Further to this, as suggested, I interrupted the GRUB boot and swapped 
$ISOMETHING for amd64 in both lines of GRUB and it started in 64 bit 
mode, saw the drive and cheerfully installed:


root@hostie:~# uname -a
SunOS hostie 5.11 oi_151a7 i86pc i386 i86pc Solaris

Virtualbox runs a treat on this beastie :)

Thank you

Carl




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


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

2013-04-17 Thread Jay Heyl
On Tue, Apr 16, 2013 at 7:53 PM, Carl Brewer c...@bl.echidna.id.au wrote:


 2 x 2TB HDDs for rpool (ZFS mirror)
 4 x 2TB HDD's to get at least a 4TB mirror (or is RAID-Z a better option?)

 Would I be better off with some 500GB HDD's for the rpool?  And while I
 fiddle with this thing, is there any way to get the live CD installer to
 work with these drives without poking around with some other OS to
 partition the drive?


In my rather limited experience, dedicating two 2TB drives to the rpool for
a home server is rather a waste. I have mirrored 500GB drives on mine and
they are a vast wasteland of unused capacity. In my opinion you could go
even smaller if you could put the money to better use.

The raid-z vs mirrors question can quickly get rather complicated. I'd say
if you think 4TB is going to hold you for a good long while, then go with
mirrors. If the six drives you're already talking about are going to
stretch the capacity of your case and you think you may need to expand
beyond 4TB in the reasonably near future, then you might want to consider
raid-z1 to get 6TB usable space from your data pool.

One thing I would recommend is trying to use the ashift=12 setting to force
the use of 4k blocks. I ran into problems because my initial pools were
created with 512-byte blocks. When I bought some spare drives I couldn't
use them because they were advanced format with 4k blocks and zfs won't mix
block sizes on the same vdev. Had I used 4k blocks when I initially set
everything up I wouldn't have had this problem with the new drives.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2013-04-16 Thread Carl Brewer
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 thinks it's a 32 bit 
system (huh?). It regognises almost all the devices when I run the 
device manager, but doesn't see any HDD's.  they're just not there at 
all.  At boot time it says they're too big for a 32 bit kernel.  Why is 
it booting a 32 bit kernel anyway?  Maybe some BIOS thing I need to set? 
 I booted the first (default) image that the live CD displays.


The MB is a DH77EB which is an H77 Express chipset.

As well as thinking it's 32 bit, it also doesn't see any drives at all. 
I have a single new Seagate 2TB (4k blocks?) ST2000DM001 in it that the 
live CD doesn't see at all.  I know there was a recent thread on 
installing to these drives that seemed inconclusive as to how best to 
install to them.  I want to have :


2 x 2TB HDDs for rpool (ZFS mirror)
4 x 2TB HDD's to get at least a 4TB mirror (or is RAID-Z a better option?)

Would I be better off with some 500GB HDD's for the rpool?  And while I 
fiddle with this thing, is there any way to get the live CD installer to 
work with these drives without poking around with some other OS to 
partition the drive?


help!

Thank you

Carl




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


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

2013-04-12 Thread Reginald Beardsley
I suggest reading this:

http://wiki.openindiana.org/oi/Building+a+small+NAS+using+OI

I'm running double parity RAIDZ for /export and a 4 way mirror for the root 
pool.

Have Fun!
Reg

--- On Thu, 4/11/13, Carl Brewer c...@bl.echidna.id.au wrote:

From: Carl Brewer c...@bl.echidna.id.au
Subject: [OpenIndiana-discuss] building a new box soon- HDD concerns and 
recommendations for virtual serving
To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
Date: Thursday, April 11, 2013, 7:44 PM


G'day,
I'm going to be building a new home/small office server soon, with ~24GB or so 
of RAM and hopefully 6-8 TB of ZFS mirrored storage, as well as a couple of 1TB 
HDDs for a ZFS root partition.

It's going to run Virtualbox to virtualise a Linux (CentOS 5) and Windows SBS 
2003 server on it, thus the heaps of RAM etc. I will also be using it as a 
native CIFS fileserver (and maybe whatever Apple uses natively for file serving 
these days? It's been quite a while since I did any Mac networking, who 
remembers Localtalk? ) - eventually going to shut down the SBS 2003 server 
and run most of its jobs.  The SVS server is just a fileserver and exchange, I 
don't need AD or any of that garbage and we're going to ditch exchange ASAP!  
If it proves to be stable enough I'm also going to virtualise a NetBSD box on 
it (historical baggage) and bring my local hardware count down to 1 physical 
server.

I know there's been discussion of large block sizes with modern SATA HDD's (I 
was planning on using off the shelf Seagate Barracuda desktop drives, they're 
cheap and fast enough for this box).  Am I likely to run into any problems with 
modern drives with OI's current beta release? I'm running oi_151a7 and hoping 
to keep doing so unless there's a better illumos based distribution for my 
purpose?  It's not really going to need much in the way of a GUI, but I do like 
having an X11 desktop occasionally to work with the VB console.

Suggestions? Advice?

thank you

Carl





___
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


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

2013-04-11 Thread Carl Brewer


G'day,
I'm going to be building a new home/small office server soon, with ~24GB 
or so of RAM and hopefully 6-8 TB of ZFS mirrored storage, as well as a 
couple of 1TB HDDs for a ZFS root partition.


It's going to run Virtualbox to virtualise a Linux (CentOS 5) and 
Windows SBS 2003 server on it, thus the heaps of RAM etc. I will also be 
using it as a native CIFS fileserver (and maybe whatever Apple uses 
natively for file serving these days? It's been quite a while since I 
did any Mac networking, who remembers Localtalk? ) - eventually 
going to shut down the SBS 2003 server and run most of its jobs.  The 
SVS server is just a fileserver and exchange, I don't need AD or any of 
that garbage and we're going to ditch exchange ASAP!  If it proves to be 
stable enough I'm also going to virtualise a NetBSD box on it 
(historical baggage) and bring my local hardware count down to 1 
physical server.


I know there's been discussion of large block sizes with modern SATA 
HDD's (I was planning on using off the shelf Seagate Barracuda desktop 
drives, they're cheap and fast enough for this box).  Am I likely to run 
into any problems with modern drives with OI's current beta release? 
I'm running oi_151a7 and hoping to keep doing so unless there's a better 
illumos based distribution for my purpose?  It's not really going to 
need much in the way of a GUI, but I do like having an X11 desktop 
occasionally to work with the VB console.


Suggestions? Advice?

thank you

Carl





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


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

2013-04-11 Thread Geoff Nordli


I have a couple of all-in-one server OI+Vbox servers running.

Supermicro X8DTH-6F
32GB of RAM
Seagate Constellation ES SAS Drives (both 1 and 2TB drives; the 
SEAGATE-ST1000NM0001 is the 1TB version).


These have been really solid boxes and I am virtualizing Ws08R2, centos 
(running a pbx) and ubuntu, and debian (running Kolab for mail).


Geoff

On 13-04-11 05:44 PM, Carl Brewer wrote:


G'day,
I'm going to be building a new home/small office server soon, with 
~24GB or so of RAM and hopefully 6-8 TB of ZFS mirrored storage, as 
well as a couple of 1TB HDDs for a ZFS root partition.


It's going to run Virtualbox to virtualise a Linux (CentOS 5) and 
Windows SBS 2003 server on it, thus the heaps of RAM etc. I will also 
be using it as a native CIFS fileserver (and maybe whatever Apple uses 
natively for file serving these days? It's been quite a while since I 
did any Mac networking, who remembers Localtalk? ) - eventually 
going to shut down the SBS 2003 server and run most of its jobs.  The 
SVS server is just a fileserver and exchange, I don't need AD or any 
of that garbage and we're going to ditch exchange ASAP!  If it proves 
to be stable enough I'm also going to virtualise a NetBSD box on it 
(historical baggage) and bring my local hardware count down to 1 
physical server.


I know there's been discussion of large block sizes with modern SATA 
HDD's (I was planning on using off the shelf Seagate Barracuda desktop 
drives, they're cheap and fast enough for this box).  Am I likely to 
run into any problems with modern drives with OI's current beta 
release? I'm running oi_151a7 and hoping to keep doing so unless 
there's a better illumos based distribution for my purpose?  It's not 
really going to need much in the way of a GUI, but I do like having an 
X11 desktop occasionally to work with the VB console.


Suggestions? Advice?

thank you

Carl





___
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