Re: [OpenIndiana-discuss] Booting from a drive detached from a ZFS mirrored root pool

2013-01-26 Thread Jim Klimov

On 2013-01-27 01:04, Reginald Beardsley wrote:

Because I can't boot from 3 TB drives, I'm trying to sort out plan B for 
configuring my N40L.

If I stick the 250 GB disk that came w/ the system in the ODD slot and use that 
for the root pool w/ a 4x3 TB RAIDZ, what happens if my root pool disk fails?  
ZFS keeps  a lot of state information in places I don't know about.


Actually, not much should be lost - if you don't keep needed data
(including unique setups, root scripts and log/note files, etc.)
on the single disk. The pool disks (your 4*3Tb) are self-contained
and can be imported by another OS installation that would come on
another root disk. You might want to protect the singular root
disk from spontaneous bit errors by forcing "copies=2" or even
"copies=3", preferably from the start (i.e. by manually creating
the rpool with this option). This has saved me quite a bit on a
system with a flaky root disk which had otherwise failed to boot
once or twice, before reformatting it with a new rpool with set
copies=2, due to lost pieces of system files.

You might also benefit from disk racks that fit into an ODD slot
and house several 2.5" disks (2, 4, 6 available) or a 3.5"+2.5"
couple...

HTH,
//Jim


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


Re: [OpenIndiana-discuss] i7 cpu that accepts ECC Ram

2013-01-26 Thread Edward Ned Harvey (openindiana)
> From: Harry Putnam [mailto:rea...@newsguy.com]
> 
> Summary:
> I hope someone here can tell me if there is a setup using recent i7
> cpus that supports ECC ram.

I expect most people don't know about these pages:
http://en.wikipedia.org/wiki/List_of_Intel_Core_i7_microprocessors

I've used that to look up various details of i5 and i7 processors.  I assume 
similar pages exist for other categories.  It beats the heck out of trying to 
look up individual processors by model number.

Anyway, according to "the internet" which is synonymous with wikipedia:
Core i7-610E, i7-620UE, i7-620LE and i7-660UE have support for ECC memory
Core i7-2610UE, Core i7-2655LE has support for ECC memory
Core i7-2715QE has support for ECC memory

I suspect that's the most useful answer you were dreaming of hoping for.   ;-)


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


Re: [OpenIndiana-discuss] Booting from a drive detached from a ZFS mirrored root pool

2013-01-26 Thread Jan Owoc
Hi Reginald,

I was in a similar situation when building my home-NAS.

On Sat, Jan 26, 2013 at 5:04 PM, Reginald Beardsley  wrote:
> If I stick the 250 GB disk that came w/ the system in the ODD slot and use 
> that for the root pool w/ a 4x3 TB RAIDZ, what happens if my root pool disk 
> fails?  ZFS keeps  a lot of state information in places I don't know about.

As far as I'm aware, assuming the HDDs don't lie about cache flushes,
the RAIDZ pool will always maintain internal consistency. As long as
your root disk isn't also the ZIL/SLOG, failure of the root disk
should not affect the RAIDZ pool residing on the remaining drives.

> My current plan B would be to use the eSATA port to mirror to an external 
> SATA drive and then detach it.  Is it reasonable to expect that I could 
> install the detached mirror drive in the system and boot from it or is there 
> something on the disk that says "you can't do that"?

Brian asked the same question about a year ago, but didn't get an answer:
http://openindiana.org/pipermail/openindiana-discuss/2012-February/007255.html

I suppose this could be tested on a virtual machine...

Cheers,
Jan

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


Re: [OpenIndiana-discuss] i7 cpu that accepts ECC Ram

2013-01-26 Thread cmwilli...@cw823.com

> Message: 7
> Date: Sat, 26 Jan 2013 19:17:25 -0500
> From: Harry Putnam 
> To: openindiana-discuss@openindiana.org
> Subject: [OpenIndiana-discuss] i7 cpu that accepts ECC Ram
> Message-ID: <878v7fqy22@newsguy.com>
> Content-Type: text/plain
>
> Summary:
> I hope someone here can tell me if there is a setup using recent i7
> cpus that supports ECC ram.
>
> Is there a motherboard that supports both?
>
> Further, please feel free to suggest the best setup in your opinion
> for running OI, (primarily for the zfs based storage setup with
> several mirrored pairs of discs) but also at least one vm with a win7
> based guest capable of running all the adobe tools and any of the
> associated cpu intensive chores involved with editing video and other
> intensive Graphics chores.
>
> Note: This would be a single user setup.
>
> --- - ---=--- - 
>
> More detail:
>
> I want to build up a system with 16-32 GB ram that can run openindiana
> but can also run vms with at least one of them hosting a heavy duty
> Win7 OS, capable of using all the adobe tools to the max. But also
> several other vms running various linux based OSs.
>
> I noticed, while using the "build it yourself" type things on ebay
> (mostly 'SuperMicro' sponsored) that when building any of the i7 based
> setups, none listed asus motherboards (or any other brand I found)
> that say explicitly they support ECC ram.
>
> Whereas, when building based on recent AMD cpus, nearly all the asus
> motherboards listed show explicit support for ECC ram.
>
> I've also seen threads in various online forums suggesting no i7 based
> system can use ECC ram. Hopefully someone here will know the actual
> state of affairs.
>
Define "recent i7 cpus".  I picked up a pair of L5520 (i7) and Supermicro
motherboard off ebay for <$250.  Add 48Gb of ram and it runs ESX with a OI VM.
 If 1366 is recent enough there are lots of options out there for you.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] i7 cpu that accepts ECC Ram

2013-01-26 Thread Bob Friesenhahn

On Sat, 26 Jan 2013, Harry Putnam wrote:


Summary:
I hope someone here can tell me if there is a setup using recent i7
cpus that supports ECC ram.


Typically such CPUs are "Xeon" branded and even the name Xeon is not 
sufficient to indicate that ECC RAM is supported.  You need to check 
Intel's product page for the specific CPU and also check the 
motherboard support.  Then you need to make sure to specify ECC 
memory.


As you noticed, AMD CPUs are much better about supporting ECC but 
there are some recent AMD CPUs which don't support ECC.



Is there a motherboard that supports both?


If you are not dead-set on having an an i7 CPU, then there are many 
more options.  SuperMicro makes some nice motherboards which work with 
Xeon CPUs and support ECC memory and built-in audio.  These 
motherboards are basically server-class motherboards with 
"workstation" options.  These run VirtualBox very well.


Here are some examples.  I think that OpenIndiana should work on all 
three:


http://www.supermicro.com/products/motherboard/Xeon/C600/X9SRA.cfm

http://www.supermicro.com/products/motherboard/Xeon/C600/X9DAL-i.cfm

http://www.supermicro.com/products/motherboard/Xeon/C600/X9DAi.cfm


Further, please feel free to suggest the best setup in your opinion
for running OI, (primarily for the zfs based storage setup with
several mirrored pairs of discs) but also at least one vm with a win7
based guest capable of running all the adobe tools and any of the
associated cpu intensive chores involved with editing video and other
intensive Graphics chores.

Note: This would be a single user setup.


As long as you choose good quality hardware and make sure that 
OpenIndiana supports the devices, then you should be fine.  Mirrored 
boot disks are a wise idea.


If you have the money, you can buy a chassis which supports 8 hot-swap 
disks plus two fixed disks.  For example, the 743TQ-1200B-SQ is an 
excellent choice (very solid and quiet) except for the annoying 
problem that the USB ports at the front are USB 3.0 and OpenIndiana 
does not support them yet.  The motherboards provide plenty of USB 2.0 
ports but they must all go to the back of the unit.


http://www.supermicro.com/products/chassis/4U/743/SC743TQ-1200-SQ.cfm

That is what I have.  I use the fixed disk slots for the boot drives 
so that all 8 hot-swap slots can be used for a main storage pool.  As 
a small annoyance, I already had to replace both of the fixed boot 
drives whereas the hot-swap drives had no problem.


Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/

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


[OpenIndiana-discuss] i7 cpu that accepts ECC Ram

2013-01-26 Thread Harry Putnam
Summary:
I hope someone here can tell me if there is a setup using recent i7
cpus that supports ECC ram.  

Is there a motherboard that supports both?

Further, please feel free to suggest the best setup in your opinion
for running OI, (primarily for the zfs based storage setup with
several mirrored pairs of discs) but also at least one vm with a win7
based guest capable of running all the adobe tools and any of the
associated cpu intensive chores involved with editing video and other
intensive Graphics chores.

Note: This would be a single user setup. 

----   ---=---   -   

More detail:

I want to build up a system with 16-32 GB ram that can run openindiana
but can also run vms with at least one of them hosting a heavy duty
Win7 OS, capable of using all the adobe tools to the max.  But also
several other vms running various linux based OSs.

I noticed, while using the "build it yourself" type things on ebay
(mostly 'SuperMicro' sponsored) that when building any of the i7 based
setups, none listed asus motherboards (or any other brand I found)
that say explicitly they support ECC ram.

Whereas, when building based on recent AMD cpus, nearly all the asus
motherboards listed show explicit support for ECC ram.

I've also seen threads in various online forums suggesting no i7 based
system can use ECC ram.  Hopefully someone here will know the actual
state of affairs.


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


[OpenIndiana-discuss] Booting from a drive detached from a ZFS mirrored root pool

2013-01-26 Thread Reginald Beardsley
Because I can't boot from 3 TB drives, I'm trying to sort out plan B for 
configuring my N40L. 

If I stick the 250 GB disk that came w/ the system in the ODD slot and use that 
for the root pool w/ a 4x3 TB RAIDZ, what happens if my root pool disk fails?  
ZFS keeps  a lot of state information in places I don't know about.

My current plan B would be to use the eSATA port to mirror to an external SATA 
drive and then detach it.  Is it reasonable to expect that I could install the 
detached mirror drive in the system and boot from it or is there something on 
the disk that says "you can't do that"?

I don't need maximal uptime.  What I need is easy recovery from failure w/o 
losing data from the RAIDZ pool.

Have Fun!
Reg

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


Re: [OpenIndiana-discuss] OI 1.57 on VMWare randomness

2013-01-26 Thread Roel_D
No i didn't , that is so strange. I didn't do any update/upgrade or what so
ever.

root@openindiana:/opt/opennms/logs/daemon# beadm list
BE  Active Mountpoint Space Policy Created
openindiana NR /  4.37G static 2013-01-23 13:08
root@openindiana:/opt/opennms/logs/daemon#

root@openindiana:/opt/opennms/logs/daemon# df -h
FilesystemSize  Used Avail Use% Mounted on
rpool/ROOT/openindiana
   27G  4.3G   23G  16% /
swap  203M  412K  202M   1% /etc/svc/volatile
/usr/lib/libc/libc_hwcap1.so.1
   27G  4.3G   23G  16% /lib/libc.so.1
swap  242M   40M  202M  17% /tmp
swap  203M   88K  202M   1% /var/run
rpool/export   23G   32K   23G   1% /export
rpool/export/home  23G  1.7M   23G   1% /export/home
rpool/export/home/ronald
   23G  495M   23G   3% /export/home/ronald
rpool  23G   45K   23G   1% /rpool
/export/home/ronald23G  495M   23G   3% /home/ronald
/dev/dsk/c4t0d0s2  13M   13M 0 100% /media/VMware Tools

root@openindiana:/opt/opennms/logs/daemon# zfs list
NAME   USED  AVAIL  REFER  MOUNTPOINT
rpool 6.86G  22.4G45K  /rpool
rpool/ROOT4.31G  22.4G31K  legacy
rpool/ROOT/openindiana4.31G  22.4G  4.25G  /
rpool/dump1023M  22.4G  1023M  -
rpool/export   496M  22.4G32K  /export
rpool/export/home  496M  22.4G  1.60M  /export/home
rpool/export/home/ronald   494M  22.4G   494M  /export/home/ronald   
rpool/swap1.06G  23.1G   375M  -

root@openindiana:/opt/opennms/logs/daemon# zpool list
NAMESIZE  ALLOC   FREE  EXPANDSZCAP  DEDUP  HEALTH  ALTROOT
rpool  29.8G  6.17G  23.6G -20%  1.00x  ONLINE  -

root@openindiana:/opt/opennms/logs/daemon# uname -a
SunOS openindiana 5.11 oi_151a7 i86pc i386 i86pc Solaris



-Original Message-
From: Jonathan Adams [mailto:t12nsloo...@gmail.com] 
Sent: zaterdag 26 januari 2013 23:50
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] OI 1.57 on VMWare randomness

On 26 January 2013 19:15, Roel_D  wrote:
> After giving oi more memory i restarted it and then strange problems
arose:
> Nsswitch.conf was without dns, nslookup.conf was empty, postgres lost
every setting but the database was still there.
> I put everything into place and did a restart to test it. I did 'init 6'
and ... Again everything was scrambled. No dns settings, no postgres ( i
even had to reinstall the postgres service) and a lot was lost.
>
> Any ideas how this can happen?

did you do an image-update, or something that creates a different BE?
if that has happened and you modify configuration files in /etc they will be
altered in the currently booted BE, not in the one that will be booted after
a shutdown.

"beadm list" should enable you to see the "boot environments" you have on
your system and with beadm you should be able to mount those environments to
check if the config files are set in those instances.

It confused me a few times ...

Jon

___
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] OI 1.57 on VMWare randomness

2013-01-26 Thread Jonathan Adams
On 26 January 2013 19:15, Roel_D  wrote:
> After giving oi more memory i restarted it and then strange problems arose:
> Nsswitch.conf was without dns, nslookup.conf was empty, postgres lost every 
> setting but the database was still there.
> I put everything into place and did a restart to test it. I did 'init 6' and 
> ... Again everything was scrambled. No dns settings, no postgres ( i even had 
> to reinstall the postgres service) and a lot was lost.
>
> Any ideas how this can happen?

did you do an image-update, or something that creates a different BE?
if that has happened and you modify configuration files in /etc they
will be altered in the currently booted BE, not in the one that will
be booted after a shutdown.

"beadm list" should enable you to see the "boot environments" you have
on your system and with beadm you should be able to mount those
environments to check if the config files are set in those instances.

It confused me a few times ...

Jon

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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Jim Klimov

On 2013-01-26 22:57, Reginald Beardsley wrote:

BTW what's the deal w/ 34?  If you try to set anything smaller it's disallowed, 
though I did manage somehow to get it set to 6.  There is a *lot* of 
inconsistency in the rules in the various parts of the format(1m) utility.


IIRC, 33 sectors was the classical cylinder size, and cylinder
alignment was required of partitions. While this is no longer
the case, many programsa (bootloaders, boot sector backups, etc)
expect the zero'th cylinder to be empty (sans the MBR sector)
and available for their work. So other tools play along ;)



It would be really nice if one could do a zfs send to an USB disk for backup.  
Even better if you could form a USB based RAIDZ w/ 3 TB disks.


Well, that is possible - some usb-flash raid sets were in YouTube Sun 
marketing clips ;)


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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Reginald Beardsley
Doesn't work w/ an initial offset of 256 either.  I suspect that it's something 
to do w/ it being an USB disk.  It's been an EFI label in both instances.  I 
tried offsets from 34 to ~64 w/o any change in behavior.

BTW what's the deal w/ 34?  If you try to set anything smaller it's disallowed, 
though I did manage somehow to get it set to 6.  There is a *lot* of 
inconsistency in the rules in the various parts of the format(1m) utility.

I had to dd /dev/zero to straighten up one of the messes I made.  I got into a 
situation where I could not write a label at all until I did that.

It would be really nice if one could do a zfs send to an USB disk for backup.  
Even better if you could form a USB based RAIDZ w/ 3 TB disks.

Have Fun!
Reg

--- On Sat, 1/26/13, Jim Klimov  wrote:


> Well, to be pedantic, I'd add that ashift only dictates
> minimum block
> size and alignment relative to the storage device provided
> to ZFS -
> the slice or partition. Hardware-alignment of 4kb writes
> would also
> need that the partition itself is aligned with 4KB sectors -
> i.e. that
> its starting offset is divisible by 8 (in classic 512b
> sector count).
> If you dedicate the disk to ZFS and it is automatically
> partitioned
> with GPT, then the problem is taken care of - with offset
> being 256.
> On MBR the default offset is 34 or so, and can present a
> problem that
> is solvable by manual partitioning.
> 
> HTH,
> //Jim
> 
> ___
> 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] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Jim Klimov

On 2013-01-26 22:17, Sašo Kiselkov wrote:

Are you going to be using ZFS on those? If so, how does the ashift of a
zpool created with them look like?

# zdb  | grep ashift

If it prints "ashift: 12", then you are good, zpool picked up the
correct settings.



Well, to be pedantic, I'd add that ashift only dictates minimum block
size and alignment relative to the storage device provided to ZFS -
the slice or partition. Hardware-alignment of 4kb writes would also
need that the partition itself is aligned with 4KB sectors - i.e. that
its starting offset is divisible by 8 (in classic 512b sector count).
If you dedicate the disk to ZFS and it is automatically partitioned
with GPT, then the problem is taken care of - with offset being 256.
On MBR the default offset is 34 or so, and can present a problem that
is solvable by manual partitioning.

HTH,
//Jim

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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Sašo Kiselkov
On 01/26/2013 09:54 PM, Reginald Beardsley wrote:
> Having got the 3 TB disk working in the Solaris 10 system where it belongs, I 
> think I'll pass on doing battle w/ booting from disks > 2 TB.
> 
> I've got a zpool on a 3 TB USB disk actually functioning w/ 151_a7 which is a 
> big improvement, but it complains about the alignment.  I've been studying:
> 
> http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks
> 
> trying to find a way to fix that.  I put what looked like the correct 
> incantations in sd.conf, but a reboot doesn't seem to have solved it.  It 
> would be very helpful to know how closely the identifier string needs to be 
> to what format(1m) reports.  As I read things, it should be the concatenation 
> of the Vendor & Product strings. I tried to copy it exactly, but have no clue 
> if it read it correctly or just silently ignored it.
> 
> After modifying sd.conf and rebooting, mdb reports:
> 
> un_sys_blocksize = 0x1000
> un_tgt_blocksize = 0x1000
> un_phy_blocksize = 0x200
> 
> for the USB disk.  However prtvtoc reports 4096 bytes/sector as does "format 
> -> verify"
> 
> Not sure where to from here.

Are you going to be using ZFS on those? If so, how does the ashift of a
zpool created with them look like?

# zdb  | grep ashift

If it prints "ashift: 12", then you are good, zpool picked up the
correct settings.

Cheers,
--
Saso

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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Reginald Beardsley
Having got the 3 TB disk working in the Solaris 10 system where it belongs, I 
think I'll pass on doing battle w/ booting from disks > 2 TB.

I've got a zpool on a 3 TB USB disk actually functioning w/ 151_a7 which is a 
big improvement, but it complains about the alignment.  I've been studying:

http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks

trying to find a way to fix that.  I put what looked like the correct 
incantations in sd.conf, but a reboot doesn't seem to have solved it.  It would 
be very helpful to know how closely the identifier string needs to be to what 
format(1m) reports.  As I read things, it should be the concatenation of the 
Vendor & Product strings. I tried to copy it exactly, but have no clue if it 
read it correctly or just silently ignored it.

After modifying sd.conf and rebooting, mdb reports:

un_sys_blocksize = 0x1000
un_tgt_blocksize = 0x1000
un_phy_blocksize = 0x200

for the USB disk.  However prtvtoc reports 4096 bytes/sector as does "format -> 
verify"

Not sure where to from here.

Have Fun!
Reg


--- On Sat, 1/26/13, Jim Klimov  wrote:

> From: Jim Klimov 
> Subject: Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk
> To: openindiana-discuss@openindiana.org
> Date: Saturday, January 26, 2013, 12:38 PM
> On 2013-01-26 17:29, Reginald
> Beardsley wrote:
> >> Again, in the above documentation it says that the
> label on
> >> the root
> >> disk *must* be SMI, and therefore cannot be EFI.
> Again, work
> >> may have
> >> been done since Solaris 10, but I'm not aware of
> >> OI-specific
> >> documentation of this problem.
> 
> FWIW, I read that EFI/GPT labels have a compatibility mode
> to SMI/MBR
> tables, allowing to present (part of) the lower 2Tb as a
> legacy MBR,
> and this was specifically a mode to allow booting older
> Windows and
> such from newer huge disks.
> 
> It may be worthwhile to research whether you can trick the
> OS, GRUB,
> ZFS and the installer into thinking it has an
> MBR-partitioned disk
> with a Solaris partition and slices dedicated to the rpool
> (further
> mirrored), and then use the rest of the disk as another GPT
> partition
> with a component of a data pool (further raidz1?)
> 
> In fact, it would suffice if you can trick ZFS, OS and GRUB
> into this
> partitioning setup. An uncooperating installer can be worked
> around
> by just cpio'ing the Live distro environment to an rpool
> you'd create
> manually, see Wiki:
> 
> http://wiki.openindiana.org/oi/Advanced+-+Manual+installation+of+OpenIndiana+from+LiveCD+media
> 
> Whether such trickery ultimately works or not - please let
> us know ;)
> 
> //Jim
> 
> 
> 
> 
> 
> ___
> 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] OI 1.57 on VMWare randomness

2013-01-26 Thread Sašo Kiselkov
On 01/26/2013 09:21 PM, Roel_D wrote:
> Well no-one told me that it changed ( the init part) and i still have some 
> solaris 10 and 11 servers so it's a habbit to use the init commands. 
> 
> I will check these new commands asap. 

Check your Solaris 10 manpages for "init" - that one already includes
SMF, i.e. "init X" has been made obsolete:

>From the init(1M) manpage:
 The run levels and system booting descriptions  given  below
 are  provided for compatibility purposes only, and otherwise
 made obsolete by the service management facility, smf(5).

Cheers,
--
Saso

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


Re: [OpenIndiana-discuss] OI 1.57 on VMWare randomness

2013-01-26 Thread Roel_D
Well no-one told me that it changed ( the init part) and i still have some 
solaris 10 and 11 servers so it's a habbit to use the init commands. 

I will check these new commands asap. 

Kind regards, 

The out-side

Op 26 jan. 2013 om 20:47 heeft Sašo Kiselkov  het 
volgende geschreven:

> On 01/26/2013 08:15 PM, Roel_D wrote:
>> I installed OI yesterday on VMWare server. After that i did some alterings 
>> and installed postgres and so. It all worked fine untill i ran out of memory 
>> so i did "Shutdown -y ". Bit this lead to single usermode so i did a init 5 
>> from the console. This didn't work so i halted the machine by vmware
>> 
>> After giving oi more memory i restarted it and then strange problems arose:
>> Nsswitch.conf was without dns, nslookup.conf was empty, postgres lost every 
>> setting but the database was still there. 
>> I put everything into place and did a restart to test it. I did 'init 6' and 
>> ... Again everything was scrambled. No dns settings, no postgres ( i even 
>> had to reinstall the postgres service) and a lot was lost. 
>> 
>> Any ideas how this can happen?
> 
> No ideas yet, but why do you power off your machine with such init-foo
> magic? Why not simply "poweroff" or "reboot"? Since Solaris Nevada
> sysv-style usage of "init" has been made obsolete. They also do not
> allow you to use the advanced reboot capabilities available since Nevada
> ("reboot -e" and "reboot -f").
> 
> Cheers,
> --
> Saso

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


Re: [OpenIndiana-discuss] OI 1.57 on VMWare randomness

2013-01-26 Thread Sašo Kiselkov
On 01/26/2013 08:15 PM, Roel_D wrote:
> I installed OI yesterday on VMWare server. After that i did some alterings 
> and installed postgres and so. It all worked fine untill i ran out of memory 
> so i did "Shutdown -y ". Bit this lead to single usermode so i did a init 5 
> from the console. This didn't work so i halted the machine by vmware
> 
> After giving oi more memory i restarted it and then strange problems arose:
> Nsswitch.conf was without dns, nslookup.conf was empty, postgres lost every 
> setting but the database was still there. 
> I put everything into place and did a restart to test it. I did 'init 6' and 
> ... Again everything was scrambled. No dns settings, no postgres ( i even had 
> to reinstall the postgres service) and a lot was lost. 
> 
> Any ideas how this can happen?

No ideas yet, but why do you power off your machine with such init-foo
magic? Why not simply "poweroff" or "reboot"? Since Solaris Nevada
sysv-style usage of "init" has been made obsolete. They also do not
allow you to use the advanced reboot capabilities available since Nevada
("reboot -e" and "reboot -f").

Cheers,
--
Saso

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


[OpenIndiana-discuss] OI 1.57 on VMWare randomness

2013-01-26 Thread Roel_D
I installed OI yesterday on VMWare server. After that i did some alterings and 
installed postgres and so. It all worked fine untill i ran out of memory so i 
did "Shutdown -y ". Bit this lead to single usermode so i did a init 5 from the 
console. This didn't work so i halted the machine by vmware

After giving oi more memory i restarted it and then strange problems arose:
Nsswitch.conf was without dns, nslookup.conf was empty, postgres lost every 
setting but the database was still there. 
I put everything into place and did a restart to test it. I did 'init 6' and 
... Again everything was scrambled. No dns settings, no postgres ( i even had 
to reinstall the postgres service) and a lot was lost. 

Any ideas how this can happen?

Kind regards, 

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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Jim Klimov

On 2013-01-26 19:38, Jim Klimov wrote:

FWIW, I read that EFI/GPT labels have a compatibility mode to SMI/MBR
tables, allowing to present (part of) the lower 2Tb as a legacy MBR,
and this was specifically a mode to allow booting older Windows and
such from newer huge disks.


Ok, I refreshed my google-fu: the EFI/GPT label includes a "protective"
legacy (MBR-style, code 0xEE) partition which starts at sector 2 and
covers the MIN(whole disk; 2Tb) and thus forbids MBR-only tools from
using and partitioning the disk. So it's not compatibility, but...

It is possible to create a "hybrid" partitioning table by defining some
up-to-three MBR and GPT partitions to use the same boundaries, and then
adding a protective MBR-style partition to cover the rest of the disk.
This is an unintended method, not standardized and prone to errors with
different OSes; still, it was automated with "gdisk". See more here:

http://www.rodsbooks.com/gdisk/hybrid.html
http://www.rodsbooks.com/gdisk/mbr2gpt.html

HTH,
//Jim Klimov


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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Jim Klimov

On 2013-01-26 17:29, Reginald Beardsley wrote:

Again, in the above documentation it says that the label on
the root
disk *must* be SMI, and therefore cannot be EFI. Again, work
may have
been done since Solaris 10, but I'm not aware of
OI-specific
documentation of this problem.


FWIW, I read that EFI/GPT labels have a compatibility mode to SMI/MBR
tables, allowing to present (part of) the lower 2Tb as a legacy MBR,
and this was specifically a mode to allow booting older Windows and
such from newer huge disks.

It may be worthwhile to research whether you can trick the OS, GRUB,
ZFS and the installer into thinking it has an MBR-partitioned disk
with a Solaris partition and slices dedicated to the rpool (further
mirrored), and then use the rest of the disk as another GPT partition
with a component of a data pool (further raidz1?)

In fact, it would suffice if you can trick ZFS, OS and GRUB into this
partitioning setup. An uncooperating installer can be worked around
by just cpio'ing the Live distro environment to an rpool you'd create
manually, see Wiki:

http://wiki.openindiana.org/oi/Advanced+-+Manual+installation+of+OpenIndiana+from+LiveCD+media

Whether such trickery ultimately works or not - please let us know ;)

//Jim





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


Re: [OpenIndiana-discuss] Java7 on OI

2013-01-26 Thread Jim Klimov

On 2013-01-26 18:00, Alan Coopersmith wrote:

On 01/26/13 05:11 AM, Ram Chander wrote:

I downloaded jre  from below url and extracted. But when run,  it gives
below error. Anything should I install additional ?

http://docs.oracle.com/javase/7/docs/webnotes/install/index.html

root@hostl~/jre1.7.0_11/bin/amd64# ./java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
root@storage2.digital:~/jre1.7.0_11/bin/amd64#


Did you follow the step in the instructions where you install the 32-bit
version first?   A lot of common files, like compiled java bytecode, are
provided in the 32-bit download and the 64-bit download depends on them.




Also, it may help to set JAVA_HOME to the base of your needed java 
installation, i.e.


export JAVA_HOME="$HOME/jre1.7.0_11"
export PATH="$JAVA_HOME/bin:$PATH"

You are not required to prepend "amd64/" paths, use "java -d64" instead.
And under Solaris do make sure to have both 32 and 64 bit JDK or JRE 
installed, 64-bit overlaying the 32-bit one. Under other OSes these are

independent distros to be installed separately.

//Jim

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


Re: [OpenIndiana-discuss] Java7 on OI

2013-01-26 Thread Alan Coopersmith
On 01/26/13 05:11 AM, Ram Chander wrote:
> I downloaded jre  from below url and extracted. But when run,  it gives
> below error. Anything should I install additional ?
> 
> http://docs.oracle.com/javase/7/docs/webnotes/install/index.html
> 
> root@hostl~/jre1.7.0_11/bin/amd64# ./java -version
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
> root@storage2.digital:~/jre1.7.0_11/bin/amd64#

Did you follow the step in the instructions where you install the 32-bit
version first?   A lot of common files, like compiled java bytecode, are
provided in the 32-bit download and the 64-bit download depends on them.

-- 
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

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


Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Reginald Beardsley
Sigh...  Thanks Jan.  On to plan B, whatever that is.  I'd really been hoping 
to have 4x3 TB RAIDZ w/ a mirrored root pool.  It's still doable, but it will 
be tedious to stuff two more disks in the box.

FWIW The drive in question is a replacement for a 512 byte HGST drive that I 
had to RMA.  It lies about the sector size and causes format(1m) to dump core 
on Solaris 10 U8.  As it turns out, I was able to properly label the drive 
using the OI 151_a7 text installer shell.  With that done, Solaris 10 allowed 
me to create a pool and I'm currently copying files from a USB drive using zfs 
send.  I'm not sure if I'm out of the woods yet, but it's at least a hopeful 
sign.

I tried to do this before, but via a USB/SATA adaptor which apparently didn't 
work past 2 TB.  My regular OI box only has one SATA port.

Note the wiki entry for 4k sector drives has broken links to a modified zpool 
command that sets ashift=12.  

Have Fun!
Reg

--- On Sat, 1/26/13, Jan Owoc  wrote:

> From: Jan Owoc 
> Subject: Re: [OpenIndiana-discuss] OI 151_a7 install on 4k sector disk
> To: "Discussion list for OpenIndiana" 
> Date: Saturday, January 26, 2013, 8:44 AM
> On Sat, Jan 26, 2013 at 7:08 AM,
> Reginald Beardsley 
> wrote:
> > I'm trying to install on a 3 TB HGST disk which reports
> 512 byte sectors using the text installer. The system is an
> HP N40L and is intended to be a ZFS based NFS server for a
> Solaris 10 workstation.
> >
> > format(1m) correctly sees the size of the disk and I'm
> able to create a 128 GB slice for a root pool and the rest
> (2.6 TB) for the eventual RAIDZ pool.
> >
> > However, the installer keeps telling me that I can't
> use more than 2 TB.
> >
> > I can't find anything about installing onto 4K sector
> disks in the wiki or elsewhere.
> 
> I'm not aware of OpenIndiana-specific documentation to this
> problem,
> but I recall reading that both the most recent OpenSolaris
> as well as
> the current Solaris 11 can't be installed on disks >2TB.
> It had
> something to do with booting off a disk with a GPT label.
> 
> I can't find the documentation in Solaris 11 describing the
> problem
> (maybe Oracle fixed it), but here it is in Solaris 10:
> http://docs.oracle.com/cd/E23823_01/html/819-5461/zfsboot-2.html
> (toward the bottom).
> 
> 
> > I can't see why the installer wouldn't look at the EFI
> label and just ask which slice I want to install on instead
> of wanting to redo it.  Will the desktop installer do
> what I need?
> 
> Again, in the above documentation it says that the label on
> the root
> disk *must* be SMI, and therefore cannot be EFI. Again, work
> may have
> been done since Solaris 10, but I'm not aware of
> OI-specific
> documentation of this problem.
> 
> 
> Cheers,
> Jan
> 
> ___
> 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] Amanda Backup in SFE?

2013-01-26 Thread ken mays
Hi Stefan,

Using Amanda 3.2.3, I checked on the Amanda spec file today and it now builds 
against Perl 5.10.0 which is on most recent systems.

I've asked Milan to add it to the repo when he has the time.

~ Ken Mays




 From: Milan Jurik 
To: Discussion list for OpenIndiana  
Sent: Saturday, January 26, 2013 1:49 AM
Subject: Re: [OpenIndiana-discuss] Amanda Backup in SFE?
 
Hi,

On pá, 2013-01-25 at 13:46 +, Stefan Müller-Wilken wrote:
> Dear all,
> 
> I read on illumos.org that there was an Amanda package in "spec-files-extra" 
> but it needed a new maintainer (see https://www.illumos.org/issues/1302). 
> Does anyone know about its current status? Is there a repo with existing 
> package / metadata files?
> 

there is old spec file for Amanda in SFE -
http://pkgbuild.sourceforge.net/spec-files-extra/

I did not touch it for very long time because I have no interest in
Amanda these days. You are welcome to look at it, update and fix it.
Then I can push binary packages to SFE publisher.

> Cheers
> Stefan
> 


Best regards,

Milan


___
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] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Jan Owoc
On Sat, Jan 26, 2013 at 7:08 AM, Reginald Beardsley  wrote:
> I'm trying to install on a 3 TB HGST disk which reports 512 byte sectors 
> using the text installer. The system is an HP N40L and is intended to be a 
> ZFS based NFS server for a Solaris 10 workstation.
>
> format(1m) correctly sees the size of the disk and I'm able to create a 128 
> GB slice for a root pool and the rest (2.6 TB) for the eventual RAIDZ pool.
>
> However, the installer keeps telling me that I can't use more than 2 TB.
>
> I can't find anything about installing onto 4K sector disks in the wiki or 
> elsewhere.

I'm not aware of OpenIndiana-specific documentation to this problem,
but I recall reading that both the most recent OpenSolaris as well as
the current Solaris 11 can't be installed on disks >2TB. It had
something to do with booting off a disk with a GPT label.

I can't find the documentation in Solaris 11 describing the problem
(maybe Oracle fixed it), but here it is in Solaris 10:
http://docs.oracle.com/cd/E23823_01/html/819-5461/zfsboot-2.html
(toward the bottom).


> I can't see why the installer wouldn't look at the EFI label and just ask 
> which slice I want to install on instead of wanting to redo it.  Will the 
> desktop installer do what I need?

Again, in the above documentation it says that the label on the root
disk *must* be SMI, and therefore cannot be EFI. Again, work may have
been done since Solaris 10, but I'm not aware of OI-specific
documentation of this problem.


Cheers,
Jan

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


[OpenIndiana-discuss] OI 151_a7 install on 4k sector disk

2013-01-26 Thread Reginald Beardsley
I'm trying to install on a 3 TB HGST disk which reports 512 byte sectors using 
the text installer. The system is an HP N40L and is intended to be a ZFS based 
NFS server for a Solaris 10 workstation.

format(1m) correctly sees the size of the disk and I'm able to create a 128 GB 
slice for a root pool and the rest (2.6 TB) for the eventual RAIDZ pool.

However, the installer keeps telling me that I can't use more than 2 TB. 

I can't find anything about installing onto 4K sector disks in the wiki or 
elsewhere.

I can't see why the installer wouldn't look at the EFI label and just ask which 
slice I want to install on instead of wanting to redo it.  Will the desktop 
installer do what I need?

Is there a purely manual approach to installing that's documented somewhere?  I 
just need to know how to unpack the distribution properly.

Thanks,
Reg



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


Re: [OpenIndiana-discuss] Java7 on OI

2013-01-26 Thread Ram Chander
I downloaded jre  from below url and extracted. But when run,  it gives
below error. Anything should I install additional ?

http://docs.oracle.com/javase/7/docs/webnotes/install/index.html

root@hostl~/jre1.7.0_11/bin/amd64# ./java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
root@storage2.digital:~/jre1.7.0_11/bin/amd64#
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] VMware vmxnet3

2013-01-26 Thread James Relph

Hi all,

We've been running a few instances of Oi151a7 under VMware 5.1 and have been 
able to get the vmxnet3 driver working reasonably well, except oddly for iSCSI 
traffic (CIFS and AFP via netatalk are absolutely fine). After a while running 
iSCSI over the interface crashes the system and iSCSI won't come back up over 
that interface. 

It seems like a really odd error and I wondered if anyone had any ideas?

Thanks,

James. 

Sent from my iPhone

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


Re: [OpenIndiana-discuss] Java7 on OI

2013-01-26 Thread Peter Tribble
Hi,

> How to compile and install java7 ? Is there any pkg readily available ?
> Pls help

Just use the regular Java 7 for Solaris from Oracle.

(Personally, I would recommend *not* using the packaged version.
If you download the Solaris x86 and x64 tar.gz files from the
Oracle download site, you just have to untar them wherever you
wish and you're ready to go.)

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

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


Re: [OpenIndiana-discuss] Java7 on OI

2013-01-26 Thread Jim Klimov

On 2013-01-26 06:30, Ram Chander wrote:

How to compile and install java7 ? Is there any pkg readily available ?
Pls help


"Compile" puzzles me... Do you mean GNU Java (from the GCC stack) or an
OpenJava build? I'd just use a standard Sun/Oracle distro package or the
tarball, and install that. Don't see a reason why it won't work...

//Jim


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