I migrated my root from UFS to zfs file system, all was working great. Then I 
did mirror my disk, was unable to boot from second disk in my mirror so I did 
issue command:

installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk 
/dev/rdsk/c1t0d0s0

and now I cannot boot from either disk.

[22:31:35] @adas: /root > init 0
[22:31:36] @adas: /root > stopping NetWorker daemons:
  nsr_shutdown -q
svc.startd: The system is coming down.  Please wait.
svc.startd: 90 system services are now being stopped.
Nov  6 22:33:15 adas syslogd: going down on signal 15
umount: /appl busy
svc.startd: The system is down.
syncing file systems... done
Program terminated
{0} ok boot disk0

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses

Sun Fire V210, No Keyboard
Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.22.33, 4096 MB memory installed, Serial #64938415.
Ethernet address 0:3:ba:de:e1:af, Host ID: 83dee1af.



Rebooting with command: boot disk0
Boot device: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0  
File and args:
The file just loaded does not appear to be executable.
{1} ok boot disk
Boot device: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0  
File and args:
The file just loaded does not appear to be executable.
{1} ok boot disk1
Boot device: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0  
File and args:
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
Hostname: adas
Reading ZFS config: done.
Mounting ZFS filesystems: (3/3)

adas console login: Nov  6 22:36:25 squid[366]: Squid Parent: child process 368 
started
Nov  6 22:36:30 adas ufs: NOTICE: mount: not a UFS magic number (0x0)
starting NetWorker daemons:
  nsrexecd

adas console login:
adas console login: root
frePassword:
Login incorrect
adas console login: root
Password:
Last login: Thu Nov  6 22:31:31 on console
Nov  6 22:43:04 adas login: ROOT LOGIN /dev/console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
You have mail.
# bash
[22:43:05] @adas: /root > installboot /usr/platform/SUNW,Sun-Fire-V240/lib/fs/z
fs/bootblk /dev/rdsk/c1t0d0s0
[22:44:07] @adas: /root > init 0
[22:44:19] @adas: /root > stopping NetWorker daemons:
  nsr_shutdown -q
svc.startd: The system is coming down.  Please wait.
svc.startd: 90 system services are now being stopped.
Nov  6 22:44:53 adas syslogd: going down on signal 15
svc.startd: The system is down.
syncing file systems... done
Program terminated
{0} ok boot disk0

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses

Sun Fire V210, No Keyboard
Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.22.33, 4096 MB memory installed, Serial #64938415.
Ethernet address 0:3:ba:de:e1:af, Host ID: 83dee1af.



Rebooting with command: boot disk0
Boot device: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0  
File and args:

Can't mount root

Evaluating:
The file just loaded does not appear to be executable.
{1} ok boot disk0
Boot device: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0  
File and args:

Can't mount root

The file just loaded does not appear to be executable.
{1} ok boot -L
Boot device: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a  
File and args: -L

Can't open bootlst

The file just loaded does not appear to be executable.
{1} ok



I guess there is no way to recover either of my disks...

I dont know, but to be honest I am quite disapointed with zfs boot disk 
feature... I know its learing curve, but its quite strange learning curve, 
first 
I was getting problems with cpio, so I had to use my solaris 9 cpio binary. 
Then 
I was getting strange behavior when I did try boot -L, then I was unable to 
boot 
from my second mirror that I've added I did decide to do installboot and then 
it 
did destroy both mirrors making my system unbootable...

:(


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to