Re: [OpenIndiana-discuss] Deleting zpool.cache on OI

2013-12-01 Thread Steve Gonczi
Yes, I suggest you follow the guidance given by Jim. 
Once you have the system up and running, you may want to try 
to import the pool using an explicit zpool import command. 

Esp. older versions of zfs had a problem when large files were deleted. 
The fs mount path tries to perform any interrupted delete-s that have been 
started before the pool is mounted. Did you by any chance delete 
some large files? 

The pool may come up eventually, but it may take a long time. 
(possibly days). 

Once you decouple the startup from the pool mount, you can either just 
destroy the problem pool, or let it finish what it is doing in the background. 

Steve 


- Original Message -
Yes, Steve, exactly. I'd like to save the rest of my installation, but 
I have a pool that when mounted on any system, prevents a reboot when 
mounted. 

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


Re: [OpenIndiana-discuss] usb vesrion

2013-12-01 Thread Jim Klimov

On 2013-12-01 18:49, Pavel Vlček wrote:

Good evening,
I can not install the usb version. I have 32 gb flash, usb file and usb
installer. The installer write all completed, but I can not boot to the
usb. Windows 7 X64, but on MacBook Air 2011. Can you help?


My main guess at the moment would be that there are some driver
problems; in particular - lack of USB3 support in illumos kernel.
Possibly you used a USB port connected to the USB3 hub (if any),
and your other ports might be on an older USB2 hub? In short, try
plugging your USB flash into other ports, maybe you'd have better
luck with those :)

Do you know if the boot attempt returns any errors or just hangs?
If so - at what stage? Possibly, you could post a screenshot (i.e.
with a phone-camera) of the problem, if there is anything on screen?

Hope this helps,
//Jim Klimov



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


Re: [OpenIndiana-discuss] usb vesrion

2013-12-01 Thread Pavel Vlček
I have usb 2.0 only and I can not see the flash drive in boot manager. 
When I install the usb version to the flash drive, it takes 10 seconds 
only and all data are there. It are lost when I disconnect and connect 
the flash driver after the installation.


Dne 1.12.2013 18:59, Jim Klimov napsal(a):

On 2013-12-01 18:49, Pavel Vlček wrote:

Good evening,
I can not install the usb version. I have 32 gb flash, usb file and usb
installer. The installer write all completed, but I can not boot to the
usb. Windows 7 X64, but on MacBook Air 2011. Can you help?


My main guess at the moment would be that there are some driver
problems; in particular - lack of USB3 support in illumos kernel.
Possibly you used a USB port connected to the USB3 hub (if any),
and your other ports might be on an older USB2 hub? In short, try
plugging your USB flash into other ports, maybe you'd have better
luck with those :)

Do you know if the boot attempt returns any errors or just hangs?
If so - at what stage? Possibly, you could post a screenshot (i.e.
with a phone-camera) of the problem, if there is anything on screen?

Hope this helps,
//Jim Klimov



___
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] usb vesrion

2013-12-01 Thread Pavel Vlček

Here is log from usb creator app.
**USB Image
 File: C:\OsolLiveUSB003\oi-dev-151a8-live-x86.usb
 Size: 1060174336
** Target Device
 Device: \\.\PHYSICALDRIVE1
 Model: JetFlash Transcend 32GB USB Device
 Total Size: 31263424512

** Writting image to USB Stick ...
** Writting Completed !


Dne 1.12.2013 19:05, Pavel Vlček napsal(a):
I have usb 2.0 only and I can not see the flash drive in boot manager. 
When I install the usb version to the flash drive, it takes 10 seconds 
only and all data are there. It are lost when I disconnect and connect 
the flash driver after the installation.


Dne 1.12.2013 18:59, Jim Klimov napsal(a):

On 2013-12-01 18:49, Pavel Vlček wrote:

Good evening,
I can not install the usb version. I have 32 gb flash, usb file and usb
installer. The installer write all completed, but I can not boot to the
usb. Windows 7 X64, but on MacBook Air 2011. Can you help?


My main guess at the moment would be that there are some driver
problems; in particular - lack of USB3 support in illumos kernel.
Possibly you used a USB port connected to the USB3 hub (if any),
and your other ports might be on an older USB2 hub? In short, try
plugging your USB flash into other ports, maybe you'd have better
luck with those :)

Do you know if the boot attempt returns any errors or just hangs?
If so - at what stage? Possibly, you could post a screenshot (i.e.
with a phone-camera) of the problem, if there is anything on screen?

Hope this helps,
//Jim Klimov



___
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 mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] USB 3.0 in illumos

2013-12-01 Thread Ron Dawson
Is anyone aware of work or a time line for USB 3 support in illumos?  I'm
looking at replacing my laptop and also my home NAS server in the coming
months and lack of USB 3 in illumos/OI is starting to limit my options
especially with regard to the laptop replacement.

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


Re: [OpenIndiana-discuss] Split-root installations

2013-12-01 Thread Jim Klimov

I've pursued the idea of a separate SMF service which would take
care of local ZFS-based split-root systems instead of hacking into
existing scripts (network or filesystem). All the logic that I've
earlier added into fs-root and fs-minimal has now moved into the
new script and service fs-root-zfs. This service declares as its
dependants the networking services as well as filesystem/root, to
ensure that it runs before consumers of /usr and other filesystems
that make up a root hierarchy. In fact, it mounts all of the ZFS
filesystems which are children of the current bootfs or of the
$rpool/SHARED dataset, and /var/run in particular, fulfilling
much of filesystem/minimal in one early blow. This should be
appreciated by NWAM in particular :)

It does check for filesystems listed in /etc/vfstab and provided
by non-ZFS technologies - this script should skip mounting those
mountpoints and any under them. Also, it only runs for a ZFS root.

The large changes I proposed before to the older scripts are no
longer needed for the local-ZFS split-root setups; though smaller
changes (provided in new patches) are still added - to skip
zfs-mounting in case that the filesystem in question has already
been mounted.

My local tests were quite successful, so I posted the update at
the Wiki:

http://wiki.openindiana.org/oi/Advanced+-+Split-root+installation

http://wiki.openindiana.org/download/attachments/27230229/fs-root-zfs
http://wiki.openindiana.org/download/attachments/27230229/fs-root-zfs.xml

Slight but important fixes to the older fs-root and fs-minimal
scripts (as well as the whole of the new fs-root-zfs script) can
be reviewed in this patch:

http://wiki.openindiana.org/download/attachments/27230229/fs-root-zfs.patch

An example of console output for booting a BE with bad mountpoint
due to untimely reset while this BE was mounted for administrative
tasks from another running BE (with console debugging enabled by
touch /$BEMOUNT/.debug_mnt):

OpenIndiana Build oi_151a8 64-bit (illumos 7256a34efe)
SunOS Release 5.11 - Copyright 1983-2010 Oracle and/or its affiliates.
All rights reserved. Use is subject to license terms.
Rootfs mountpoint not '/' but '/tmp/tmp.a5aGOb', trying to fix.
Fixing 'rpool/ROOT/test/opt' to use '/opt' mountpoint instead of 
'/tmp/tmp.a5aGOb/opt': shifted in same root hierarchy
Fixing 'rpool/ROOT/test/usr' to use '/usr' mountpoint instead of 
'/tmp/tmp.a5aGOb/usr': shifted in same root hierarchy
Fixing 'rpool/ROOT/test/usr/local' to use '/usr/local' mountpoint 
instead of '/tmp/tmp.a5aGOb/usr/local': shifted in same root hierarchy
Fixing 'rpool/ROOT/test/var' to use '/var' mountpoint instead of 
'/tmp/tmp.a5aGOb/var': shifted in same root hierarchy

Mounting '/usr': use 'rpool/ROOT/test/usr': in same root hierarchy
Mounting '/var': use 'rpool/ROOT/test/var': in same root hierarchy
Mounting '/var/adm': use 'rpool/SHARED/var/adm': the only option
Not ZFS-mounting '/tmp': equal or under a non-ZFS mountpoint '/tmp'
Mounting '/opt': use 'rpool/ROOT/test/opt': in same root hierarchy
Not mounting: '/usr' from 'rpool/ROOT/test/usr': something already mounted
Mounting '/usr/local': use 'rpool/ROOT/test/usr/local': in same root 
hierarchy

Not mounting: '/var' from 'rpool/ROOT/test/var': something already mounted
Not mounting: '/var' from 'rpool/SHARED/var': canmount!=on
Not mounting: '/var/adm' from 'rpool/SHARED/var/adm': something already 
mounted
Mounting '/var/cores': use 'rpool/SHARED/var/cores': in shared root 
hierarchy
Mounting '/var/crash': use 'rpool/SHARED/var/crash': in shared root 
hierarchy

Mounting '/var/log': use 'rpool/SHARED/var/log': in shared root hierarchy
Mounting '/var/mail': use 'rpool/SHARED/var/mail': in shared root hierarchy
Not mounting: '/var/spool' from 'rpool/SHARED/var/spool': canmount!=on
Mounting '/var/spool/clientmqueue': use 
'rpool/SHARED/var/spool/clientmqueue': in shared root hierarchy
Mounting '/var/spool/mqueue': use 'rpool/SHARED/var/spool/mqueue': in 
shared root hierarchy

Mounting '/var/tmp': use 'rpool/SHARED/var/tmp': in shared root hierarchy
fs-root-zfs: completed without fatal errors
Hostname: openindiana
...



The filesystem tree on this box is:

# df -k
Filesystem   1K-blocks  Used Available Use% Mounted on
rpool/ROOT/test2065321314150   1751171  16% /
swap   1347972  1112   1346860   1% /etc/svc/volatile
rpool/ROOT/test/usr2576515825344   1751171  33% /usr
rpool/ROOT/test/var1809675 58504   1751171   4% /var
rpool/SHARED/var/adm   1751283   112   1751171   1% /var/adm
swap   134691252   1346860   1% /var/run
rpool/ROOT/test/opt1752589  1418   1751171   1% /opt
rpool/ROOT/test/usr/local
   175120231   1751171   1% /usr/local
rpool/SHARED/var/cores
   1762117 10946   1751171   1% /var/cores
rpool/SHARED/var/crash
   175120231   1751171   1% /var/crash
rpool/SHARED/var/log