Re: [OpenIndiana-discuss] Disappearing files on FAT32 flash drive

2012-12-21 Thread Dmitry Kozhinov

It's time to invent a mirrored ZFS-based flash drive...


Newest drive I have.



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


Re: [OpenIndiana-discuss] OI install fails on dell R820

2012-12-21 Thread Ram Chander
I  have downloaded a driver from below and want to include it in a  ISO -
any idea how to include this and rebuild ISO ?

http://blog.infrageeks.com/storage/software/mr_sas


On Thu, Dec 20, 2012 at 8:39 PM, Edward Ned Harvey (openindiana) 
openindi...@nedharvey.com wrote:

  From: Ram Chander [mailto:ramqu...@gmail.com]
 
  I have 8 disks in Raid0 in Dell Poweredge R820.  When tried to install
  latest OI (oi_151a),  it fails with below error. Any pointers on how to
  install drivers and get OI installed ?
 
 
  No disks found. Additional drivers needed

  -Original Message-
  From: Ram Chander [mailto:ramqu...@gmail.com]
 
  It has Perc H710 card.


 Sounds very much like this thread:

 http://openindiana.org/pipermail/openindiana-discuss/2012-December/thread.html
 (Search for this thread:)
 oi151a7 fails to see disks with dell perc h310   solarg


 ___
 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] Include driver and rebuild ISO

2012-12-21 Thread Ram Chander
HI,


I have downloaded OI  ISO and want to include below driver and rebuild ISO.
After extracting ISO, how do add this and rebuild ISO ?
Any steps would be helpful. Thanks.


http://blog.infrageeks.com/storage/software/mr_sas


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


Re: [OpenIndiana-discuss] Disappearing files on FAT32 flash drive

2012-12-21 Thread Jim Klimov

On 2012-12-21 13:44, Dmitry Kozhinov wrote:

It's time to invent a mirrored ZFS-based flash drive...


Make a single-disk pool on the flash and set copies=3? ;)


Newest drive I have.


It's not so much age that counts as the amount of use it has seen.
It might take half a year or so of intensive rewrite use pattern
to wear out the FAT region (as of one of my samples, on older
smaller flashes - newer may use a finer tech process and be less
robust).



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


Re: [OpenIndiana-discuss] Disappearing files on FAT32 flash drive

2012-12-21 Thread Reginald Beardsley
FWIW  fsck wouldn't run on OI, but did on Sol 10 which reported a bunch of 
errors which were fixed.  That left the situation that I can't delete the 
directories that the files disappeared from.  If I cd into them ls says 
.: no such file or directory but an rmdir complains that the directory is not 
empty.

The drive has seen very little use.

--- On Fri, 12/21/12, Jim Klimov jimkli...@cos.ru wrote:

 From: Jim Klimov jimkli...@cos.ru
 Subject: Re: [OpenIndiana-discuss] Disappearing files on FAT32 flash drive
 To: openindiana-discuss@openindiana.org
 Date: Friday, December 21, 2012, 7:21 AM
 On 2012-12-21 13:44, Dmitry Kozhinov
 wrote:
  It's time to invent a mirrored ZFS-based flash
 drive...
 
 Make a single-disk pool on the flash and set copies=3? ;)
 
  Newest drive I have.
 
 It's not so much age that counts as the amount of use it has
 seen.
 It might take half a year or so of intensive rewrite use
 pattern
 to wear out the FAT region (as of one of my samples, on
 older
 smaller flashes - newer may use a finer tech process and be
 less
 robust).
 
 
 
 ___
 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] Include driver and rebuild ISO

2012-12-21 Thread Edward Ned Harvey (openindiana)
 From: Ram Chander [mailto:ramqu...@gmail.com]
 
 I have downloaded OI  ISO and want to include below driver and rebuild ISO.
 After extracting ISO, how do add this and rebuild ISO ?
 Any steps would be helpful. Thanks.

You don't need to rebuild ISO.  Here's what you do:

Before you begin, see below, the command that says specific per-HBA  The 
command I pasted is for a 3ware adapter (I can look up the model number if 
needed) and came from 9.5.4-Codeset-Complete.iso, and the specific command was 
posted on some discussion forum by a 3ware software developer, who said I'm 
the only person who knows this, and we were just instructed to stop developing 
for opensolaris, so we won't be developing new installers moving forward, and 
you're going to need this command to use the driver...

You really best look inside the opensolaris installation package for your 
driver.  They'll probably have a less manual way of installing it.  But the 
notes below might be useful for you anyway - Even if the specifics are not 
useful to you, at least the general concept will be useful.  So you can stop 
trying to figure out how to rebuild the ISO.   ;-)

Long story short:  Boot from the live CD.  In your live environment, install 
the driver.  Then launch the OS installer.  The driver should get automatically 
built into the boot loader for the OS, but if it doesn't, there's a command you 
can run in the live CD to force it.

These are my notes for the systems that I did this on:

Boot from the openindiana live CD.
You're going to be glad you do this, so you can use copy/paste below.  ;-)  
Open a terminal, 
sudo svcadm enable svc:/network/ssh:default

Now, you can sftp or ssh into the machine
username:  jack
password:  jack

Somehow, copy the tw file (which is the actual driver) to jack's home 
directory.

If necessary, (for example, if driver is downloaded inside an iso file, such as 
was the case for my 3ware HBA) here is how to mount an ISO:
sudo mkdir /mnt/cd
sudo mount -F hsfs file.iso /mnt/cd

Live CD environment, to get OS installed:
Somehow, copy tw /kernel/drv/amd64/
sudo cp /mnt/cd/packages/drivers/opensolaris/amd64/tw /kernel/drv/amd64/

The following command is going to be specific per-HBA.
sudo add_drv -m * 0666 root sys -i 'pci13c1,1003 pci13c1,1004 
pci13c1,1005 pci13c1,1010' -c scsi tw

Now you can install the OS.

I don't know how critical the timing is for the commands below, but they need 
to be done after the filesystem is created, and before everything is closed.  
Or maybe they don't need to be done at all; I don't know.  But I *do* know this 
is what I did, and it works, and it's repeatable.  Timing may not be very 
critical, and these steps might actually be optional.

When the installer gets to about 30% or so, do this:
sudo cp /kernel/drv/amd64/tw /a/kernel/drv/amd64/

When it gets to around 75%, do this:
sudo rm /a/var/run/AdDrEm.lck
# (don't do this one)   sudo add_drv -b /a -m * 0666 root sys -i 
'pci13c1,1003 pci13c1,1004 pci13c1,1005 pci13c1,1010' -c scsi tw
sudo bootadm update-archive -R /a

You should be long since completed with the above commands, before the 
installer reaches 90%

When the installer gives you the Reboot button...  Reboot.

Notice, it boots up but doesn't go through grub or anything.  Shutdown, halt, 
or go to the Shutdown menu and un-select Skip boot menu on restart.   Or use 
reboot -p This will force the system to completely reset, and go through 
BIOS, and grub.

This should solidly confirm for you, that the system is able to load the 
necessary drivers during boot.


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


Re: [OpenIndiana-discuss] Finding pools after reinstall

2012-12-21 Thread Thommy M . Malmström
Thanks, I appreciate your help. I've just not so much time just now to
check your suggestions.

I might have a drained battery as the time was reset, I noticed. I'll get a
new one. The MB is a GIGABYTE K8N ProSli and I haven't done more than
disconnecting
the disks during new install of b147 (just to make sure I didn't destroy
anything).

Let me check the battery and I'll be back after holidays.



/Thommy M.

On 20 December 2012 18:15, Jason Matthews ja...@broken.net wrote:



 Sent from Jasons' hand held

 On Dec 20, 2012, at 7:05 AM, Edward Ned Harvey (openindiana) 
 openindi...@nedharvey.com wrote:

  But he didn't change the hardware - in the OP he said he replaced one
 disk (the boot disk) and installed openindiana where he was previously
 running opensolaris.

 sure. he also didnt say that he didnt turn any knobs. perhaps the cmos
 battery is dead and settings were lost. maybe he didnt perceive the loss of
 accurate time to be a big deal.

 maybe he didnt know the clock was off or settings were lost because as you
 suggest he never went into the bios to check.

 when troubleshooting i prefer to start on step one, not step five. how
 about a little patience while we work through this?

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




-- 
Thommy M. Malmström
Vipemöllevägen 109
224 66 Lund
Home: +46 46 990 57
Mobile: +46 (0)73 802 7427
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Finding pools after reinstall

2012-12-21 Thread Doug Hughes
That isn't necessarily a driver. What model hba do you have? If it is among
many versions of megaraid or similar, you won't see any disks until you
create logical units from the raid card bios interface.
On Dec 19, 2012 9:53 AM, Thommy M. Malmström thommy.m.malmst...@gmail.com
wrote:

 Sorry I didn't read this thread till today - The first thing is, you *must*
  be able to see the disks via
  sudo format -e  /dev/null
  If they're not there, reboot, make sure they're enabled in BIOS, and
  sudo devfsadm -Cv
  After that, they should be visible, or else you're missing a driver.
 

 I'm definitely missing a driver. Can't see the disks with format.

 Will test Solaris 11.1 now to see if it finds all my disks.

 Thanks for response.

 /Thommy M.
 ___
 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] Include driver and rebuild ISO

2012-12-21 Thread solarg

On 12/21/12 13:52, Ram Chander wrote:

HI,


I have downloaded OI  ISO and want to include below driver and rebuild ISO.
After extracting ISO, how do add this and rebuild ISO ?
Any steps would be helpful. Thanks.


http://openindiana.org/pipermail/openindiana-discuss/2012-December/010878.html



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


Re: [OpenIndiana-discuss] Disappearing files on FAT32 flash drive

2012-12-21 Thread Apostolos Syropoulos

FWIW  fsck wouldn't run on OI, but did on Sol 10 which reported a bunch 
of errors which were fixed. 

That left the situation that I can't 
delete the directories that the files disappeared from.  If I cd into 
them ls says 
.: no such file or directory but an rmdir complains that the directory is 
not empty.

The drive has seen very little use.
 
Have you tried the flash drive on a system with a different OS? FAT32 support 
under Solaris is not that
good and chances are that the pcfs driver fails to operate well.

A.S.

--
Apostolos Syropoulos
Xanthi, Greece



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


[OpenIndiana-discuss] Ugly Failsafe OI session (xterm)

2012-12-21 Thread cpforum
Why Solaris 11 and OpenIndiana Failsafe Session are so ugly ? Just a small 
xterm with ugly fonts, no twm launched, and a system.twmrc same as 25 years ago.

If you broke Gnome, working with Failsafe to repair is not very funny.

Here is a tar archive to install a smart Failsafe Session (called twm) with 
Xterm TrueType Fonts Smart colors and windows buttons the same as Gnome.

To add twm-session just :

- Download archive : http://ossi.pagesperso-orange.fr/twm-session.tar

- As root do :

cd /
tar xf twm-session.tar

Then logout Gnome and after username and before entering password select TWM 
and try.

PS.

Only 8 files are added. Files .twmrc and .Xressources are created in your HOME 
on first login.

$ tar tf twm-session.tar
usr/share/X11/twm/twm-session
usr/share/X11/twm/user.twmrc
usr/share/X11/twm/user.Xdefaults
usr/share/xsessions/twm.desktop
usr/include/X11/bitmaps/menu
usr/include/X11/bitmaps/iconify
usr/include/X11/bitmaps/maximize
usr/include/X11/bitmaps/kill





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