On Wednesday, March 21, 2018, 10:41:21 PM PDT, Jussi Sallinen 
<[email protected]> wrote:  
 
 
On 21/03/2018 22.12, LastQuark via smartos-discuss wrote:


I had the Smartos installed on a mirrored setup. The system crashed. The logs 
during bootup it too long to list.  I believe it's a failed hard drive in the 
mirror that failed to recover. I just want to recover the zones.
After installing a new drive, the zpool lists as follows:
[root@server /]# zpool status      pool : zones
     state : ONLINE
      scan : non requested
    config :
             NAME         STATE       READ WRITE CKSUM
             zones        ONLINE         0     0     0
               c2t0do     ONLINE         0     0     0
             logs               c3t1d0     ONLINE         0     0     0errors:  
No known data errors
The zones pool is the newly created zone where to put in the crashed zones.  A 
"logs" pool was created after a fresh install containing the original zones.  
How can I recover the zones that are in "logs"?

Hi,

 Could you post output of # zpool history

 -Jussi

Hi Jussi,
Here's the output of zpool history:
--- start ---History for 'zones':2018-03-21.19:26:30 zpool create -f zones 
c2t0d0 log c3t1d02018-03-21.19:26:35 zfs set atime=off zones2018-03-21.19:26:36 
zfs create -V 1378mb -o checksum=noparity zones/dump2018-03-21.19:26:38 zfs 
create zones/config2018-03-21.19:26:38 zfs set mountpoint=legacy 
zones/config2018-03-21.19:26:39 zfs create -o mountpoint=legacy 
zones/usbkey2018-03-21.19:26:39 zfs create -o quota=10g -o 
mountpoint=/zones/global/cores -o compression=gzip 
zones/cores2018-03-21.19:26:39 zfs create -o mountpoint=legacy 
zones/opt2018-03-21.19:26:40 zfs create zones/var2018-03-21.19:26:40 zfs set 
mountpoint=legacy zones/var2018-03-21.19:26:41 zfs create -V 32741mb 
zones/swap2018-03-21.19:28:44 zpool import -f zones2018-03-21.19:28:44 zpool 
set feature@extensible_dataset=enabled zones2018-03-21.19:28:45 zfs set 
checksum=noparity zones/dump2018-03-21.19:28:45 zpool set 
feature@multi_vdev_crash_dump=enabled zones2018-03-21.19:28:46 zfs destroy -r 
zones/cores2018-03-21.19:28:46 zfs create -o compression=gzip -o 
mountpoint=none zones/cores2018-03-21.19:28:52 zfs create -o quota=10g -o 
mountpoint=/zones/global/cores zones/cores/global2018-03-21.19:29:12 zfs create 
-o compression=lzjb -o mountpoint=/zones/archive 
zones/archive2018-03-22.05:20:28 zpool import -f zones2018-03-22.05:20:28 zpool 
set feature@extensible_dataset=enabled zones2018-03-22.05:20:29 zfs set 
checksum=noparity zones/dump2018-03-22.05:20:29 zpool set 
feature@multi_vdev_crash_dump=enabled zones--- end ---

Also, if I may add, installed a more later version of Smartos USB and I am 
still getting errors.  I hope I didn't lose the original zones.  I still have 
the other mirrored drive to try.



|  smartos-discuss | Archives | Modify Your Subscription |  |

  


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
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