Re: [OpenIndiana-discuss] Edit file in /etc/ from InstallCD

2013-08-15 Thread Harry Putnam
Jonathan Adams  writes:

> what output do you get from a "zpool import -f" ?

OK, back in action with a clone.  That ouput sees the other os zpools:

,
|[...] snipped extraneous zpools
| 
|pool: rpool
|  id: 6524447739683880988
|   state: ONLINE
|  status: The pool was last accessed by another system.
|  action: The pool can be imported using its name or numeric identifier and
| the '-f' flag.
|see: http://illumos.org/msg/ZFS-8000-EY
|  config:
| 
| rpool   ONLINE
|   mirror-0  ONLINE
| c4d0s0  ONLINE
| c4d1s0  ONLINE
`


So back to mounting:

Seems all of JimK's commands now work (Thanks again JimK) and I'm able
to follow along and get the other OS root mounted using those commands
just as he laid them out, but with one exception seems that '-f'
flag MUST be added to the command as below in order for it to work
(Emphasis added -hp)

   zfs import **-f** -N -R /realroot rpool

Thanks to Lucas, Jim, Jason and Jonathan... all of who steered me in
the right direction with enough hand holding, finally got the
technique into my pea brain. 

I think I can be a little more confident about rescuing my OS, should
the need arise again.




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


Re: [OpenIndiana-discuss] Edit file in /etc/ from InstallCD

2013-08-15 Thread dormitionsk...@hotmail.com
> However, I really want to be able to perform an emergency rescue from
> the install media so am continuing with a clone in a few minutes.
> 


Once you get this figured out, would you please post or make a wiki page about 
how to do an emergency rescue from the install media?  I, for one, would really 
appreciate it.  And I think others would appreciate it as well.

Peter, hieromonk



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


Re: [OpenIndiana-discuss] Edit file in /etc/ from InstallCD

2013-08-15 Thread Alexander Eremin
On 15.08.2013, at 23:19, Harry Putnam  wrote:

> Harry Putnam  writes:
> 
>> Jonathan Adams  writes:
>> 
>>> what output do you get from a "zpool import -f" ?
>> 
>> OK, now were talking... so is something I can just combine with the
>> import command... or no?
> 
> Please hold off answering ... I'm making a clone and will be able to
> do stuff with no harm done.
> 
> I actually got into the OS I originally posted about once I tried sudo
> in maintenance mode... I was able to edit the needed files, then it
> booted just fine.
> 
> However, I really want to be able to perform an emergency rescue from
> the install media so am continuing with a clone in a few minutes.
> 

http://sourceforge.net/projects/fireflyfailsafe/files/

Alex

> ___
> 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] Edit file in /etc/ from InstallCD

2013-08-15 Thread Harry Putnam
Harry Putnam  writes:

> Jonathan Adams  writes:
>
>> what output do you get from a "zpool import -f" ?
>>
>
> OK, now were talking... so is something I can just combine with the
> import command... or no?

Please hold off answering ... I'm making a clone and will be able to
do stuff with no harm done.

I actually got into the OS I originally posted about once I tried sudo
in maintenance mode... I was able to edit the needed files, then it
booted just fine.

However, I really want to be able to perform an emergency rescue from
the install media so am continuing with a clone in a few minutes.


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


Re: [OpenIndiana-discuss] Edit file in /etc/ from InstallCD

2013-08-15 Thread Harry Putnam
Jonathan Adams  writes:

> what output do you get from a "zpool import -f" ?
>

OK, now were talking... so is something I can just combine with the
import command... or no?


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


Re: [OpenIndiana-discuss] Upgrade to oi_151a8 fails on one machine

2013-08-15 Thread Jim Klimov

On 2013-08-14 17:24, Richard Jones wrote:

On Wed, Aug 14, 2013 at 01:35:04PM +0100, Richard Jones wrote:

On Wed, Aug 14, 2013 at 11:57:42AM +0100, Jon Tibble wrote:

For debugging updates use the process here:

http://wiki.openindiana.org/oi/Troubleshooting+image-update+failures


Hi John, all,

I'm having trouble with the update, though I suspect it's a local issue:


[...]

Relocated /var onto the rpool seems to fix things.


/var itself and much of its content must be part of the rootfs and
cloned by beadm, etc. You can seperate several paths onto different
storage, and the system's usability will be subject to ability to
mount that storage - such as:

rpool/SHARED154M  4.57G31K  legacy
rpool/SHARED/var154M  1.85G31K  legacy
rpool/SHARED/var/adm   1.80M   498M97K  legacy
rpool/SHARED/var/cores  100M  0  99.9M  legacy
rpool/SHARED/var/crash   50K  1.85G32K  legacy
rpool/SHARED/var/log   1.27M  1.85G  92.5K  legacy
rpool/SHARED/var/mail   428K  1.90G   160K  legacy
rpool/SHARED/var/spool  650K  1.85G31K  legacy
rpool/SHARED/var/spool/clientmqueue 318K  1.85G  33.5K  legacy
rpool/SHARED/var/spool/mqueue   301K  1.85G60K  legacy

I have systems which work with this well as an explicit mountpoint
and with canmount=noauto on structural pieces rpool/SHARED/var and
rpool/SHARED/var/spool; however with the non-legacy "zfs mount -a"
refusing to overlay non-empty directories, I prefer legacy and
/etc/vfstab for this job. There are also some changes for SMF
scripts which mount the filesystem structure, I think I described
them in the wiki or bugtracker... or intended to, at least...

//Jim



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


Re: [OpenIndiana-discuss] VMware (OpenIndiana-discuss Digest, Vol 37, Issue 15) (OpenIndiana-discuss Digest, Vol 37, Issue 20)

2013-08-15 Thread Ong Yu-Phing

Hmm, sounds like some issue with the iscsi adapter on vmware?

This article isn't directly applicable, but the configuration discussion 
might give some pointers on what you can check?


http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007829

On 15/08/2013 03:42, James Relph wrote:

the same servers as iSCSI targets has no iSCSI errors at the same time as 
VMware is freaking out

Is VMware using iSCSI as well or NFS?


Tried it with both (iSCSI originally), and oddly it's basically the exact same 
issue (frequent disconnects) between NFS and iSCSI.  You would be convinced 
it's network related, but nothing shows up obviously wrong in the switch logs 
and obviously the OpenIndiana iSCSI initiators (two of which are guest OSs on 
the VMware cluster!) aren't affected at all.  You get a bizarre situation where 
VMware is complaining about iSCSI going up and down, yet the VMs themselves 
don't register any problems whatsoever.

Thanks,

James.






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


Re: [OpenIndiana-discuss] Edit file in /etc/ from InstallCD

2013-08-15 Thread Jonathan Adams
what output do you get from a "zpool import -f" ?


On 14 August 2013 21:30, Harry Putnam  wrote:

> jason matthews  writes:
>
> > On Aug 14, 2013, at 12:38 PM, Harry Putnam  wrote:
> >
> >
> >> Jim K responded:
> >>> No, this is an "alternate root" - a path prepended to all automatically
> >>> mounted datasets from rpool, so that they do not conflict with paths
> >>> that already exist on your system (from LiveCD). Disk names should not
> >>> be needed as ZFS should find the pools (at least, on those HBAs/disk
> >>> controllers for which the Live media has drivers).
> >>
> >> OK, but I'm a bit lost.  Maybe to unskilled to understand.  Lets start
> >> what do you mean by 'ZFS should find the pools'
> >>
> >> The live media must have drivers for all my disks since I've installed
> >> them from the live media.
> >>
> >> Are you saying that `zpool list' should 'see' them?
> >>
> >
> > Not initially. But, zpool import, should see them. Once imported,
> > zpool list will see them.
> >
> > Import the pool by following Kilmov's instructions.
>
> OK, but unless JimK meant something else was to be inserted in the
> command, it fails here:
>
> jack@openindiana:~$ zpool import -N -R /realroot rpool
> cannot import 'rpool': no such pool available
>
> I'm sure I must be really testing everyone's patience but I must just
> be a bit too dense to understand what I'm being told to do.
>
>
> ___
> 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