I will try to answer what I can, most is just based on my personal experience:

Upgrading:
The script you linked is fine, I wrote something close to that a while ago. Aside from it taken 10-15min to write the new files on the USB I have had not issues with doing it that way.

There is a page on how to do an inplace upgrade manually:
https://wiki.smartos.org/display/DOC/Remotely+Upgrading+A+USB+Key+Based+Deployment

You can also just rotate USB keys, take the old one, flash the new dd images. Swap the keys. If the new one doesn't work you have the old one as backup!, just repeat on the next upgrade.

As for the password, I think it is always root/root in noinstall mode. I think it used to (still does?) say so in the grub menu.

Zpool:
My zones pool is just a simple mirror setup, however I use 2 SSD's partitioned as ZIL (mirror of p1) and 2x cache on p2)

[root@core ~]# zpool status data
  pool: data
 state: ONLINE
scan: scrub repaired 0 in 3h19m with 0 errors on Mon Jan 25 05:19:21 2016
config:

        NAME                         STATE     READ WRITE CKSUM
        data                         ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            c0t5000C50048DED002d0    ONLINE       0     0     0
            c0t5000C50048DF3BDFd0    ONLINE       0     0     0
        logs
          mirror-1                   ONLINE       0     0     0
            c0t5001B44CB2349D0Cd0p1  ONLINE       0     0     0
            c0t5001B44A1692EB7Ad0p1  ONLINE       0     0     0
        cache
          c0t5001B44CB2349D0Cd0p2    ONLINE       0     0     0
          c0t5001B44A1692EB7Ad0p2    ONLINE       0     0     0

I have not had issues with my 2nd pool being imported after a reboot/upgrade. I did do all the paritioning of the SSD on SmartOS a long time ago, and I don't remember the exact commands.

Regards

Jorge

On 2016-01-28 09:35, the outsider wrote:

Dear all,

Many thanks to all that helped yesterday and tonight for restoring my server.

Everything works fine now, but I have some unanswered questions. Maybe someone can shed some light on this.

Since I ran into trouble after updating my USB drive with the latest SmartOS version some things are unclear at this moment.

Updating SmartOS

1.       What is the recommended update/upgrade strategy for SmartOS?

2. Where is the right wiki for updating the SmartOS USB or SmartOS OS?

3. I followed and used this https://github.com/calmh/smartos-platform-upgrade and it seemed to work ok. But is ok to use it?

ZPool:

1. I created a log and cache on a SSD, but used partitions c2d0p2 and c2d0p4 instead of slices. This seems to have caused the biggest error for my Zpool

2. The SSD was still alive but Zpool could not find the partitions. The SSD is not attached to the RAID controller but (due to some physical mounting problems) connected to the onboard SATA controller. Can this have caused the error?

SmartOS

1. The new SmartOS release I burned to USB was version 20160121T174331Z

2. During the "no install" procedure it asked for username and pass. The root/root was not correct. Thanks to someone on IRC I was guided to http://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos.html#20160121T174331Z

3. The password for root mentioned on this page was not working. The OS kept complaining about something and it looked to me that the OS was trying to verify the password to a central system. But since the network drivers were not loaded this failed of course. Is this normal or did I do something wrong?

4. My base version was 20151210T194528Z, and I could log in with root/root during the "noinstall". I didn't have to use the special password from the webpage?

SMARTOS-DISCUSS | Archives | Modify Your Subscription


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to