When will all the goodness described in the lucreate manpage (or on  
http://docs.sun.com) become reality?

Reading how lucreate can split my mirror for /, creating a new one  
with the split off side preserving the contents, ready to be  
upgraded, I tried upgrading build 34 to build 40 only to find  
sunsolve doc 81130 ...

Which would be the steps to manually do

      # lucreate -m /:/dev/md/dsk/d20:ufs,mirror \
      -m /:/dev/dsk/c0t0d0s0:detach,attach,preserve -n nextBE

?

I assume this would be correct and my problem has moved on to biosdev?

wicked# df -h /
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d30        9.9G   1.5G   8.2G    16%    /
wicked# metastat -p d30
d30 -m d10 d20 1
d10 1 1 c2d0s0
d20 1 1 c1d0s0

wicked# metadetach d30 d10
d30: submirror d10 is detached
wicked# metainit d40 -m d10
d40: Mirror is setup

wicked# lucreate -n snv_40 -m /:/dev/md/dsk/d40:ufs,preserve
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment <snv_34> file systems with the file
system(s) you specified for the new boot environment. Determining which
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Searching /dev for possible boot environment filesystem devices

Updating system configuration files.
Creating configuration for boot environment <snv_40>.
Source boot environment is <snv_34>.
Creating boot environment <snv_40>.
Checking for GRUB menu on boot environment <snv_40>.
biosdev: Could not match any!!
ERROR: Device mapping command </sbin/biosdev> failed. Please reboot  
and try again.
ERROR: GRUB slice lookup failed.
ERROR: Cannot determine GRUB slice.
ERROR: Cannot make file systems for boot environment <snv_40>.
wicked# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
snv_34                     yes      yes    yes       no     -
snv_40                     no       no     no        yes    -
wicked# ludelete snv_40
biosdev: Could not match any!!
ERROR: Device mapping command </sbin/biosdev> failed. Please reboot  
and try again.
ERROR: Cannot determine logical boot slice.Unable to delete boot  
environment.
wicked#

wicked# /sbin/biosdev -d
adding /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0
adding /pci at 0,0/pci-ide at 8/ide at 1/cmdk at 0,0
matching biosdev-0x80
magic not valid 0 pathinfolen 0
matched first block
0x80 /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0
matching biosdev-0x81
magic not valid 0 pathinfolen 0
matched first block
0x81 /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0
matching biosdev-0x82
magic not valid 0 pathinfolen 0
matched first block
0x82 /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0
0x80 /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0 matchcount 3
0x81 /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0 matchcount 3
0x82 /pci at 0,0/pci-ide at 8/ide at 0/cmdk at 0,0 matchcount 3
biosdev: Could not match any!!
wicked#

I haven't rebooted, yet.  Not sure what purpose it could serve.   
Booting of SATA disks.  Not understanding much in that biosdev debug  
output... which direction should I go now?

- mo


Reply via email to