Re: Removing SVM from system



Jakov Sosic <jsosic@xxxxxxxxxxxxxxxxxxx> wrote in
news:20eca6-78g.ln1@xxxxxxxxxxxxxxxxx:

On 2009-04-01, Drazen Kacar <dave@xxxxxxxxxxxxxx> wrote:

But how do I get rid of SVM configuration which would probably try to
boot from its own world?

At the end of /etc/system there is:

* Begin MDD root info (do not edit)
rootdev:/pseudo/md@0:0,10,blk
* End MDD root info (do not edit)

I could comment that out and edit /etc/vfstab after ufsrestore (I'm
assuming boot from network for ufsrestore work), but I doubt that's
all there is to it. Is there a documentation about this procedure
somewhere?

I think that is enough. At least that two are good enough to boot
broken mirror from first disk on x86.

But why don't you migrate to ZFS with LiveUpgrade? As guys already
said, u6 supports booting from ZFS... And you can (more or less)
easily do that from the SVM mirror configuration.



Just because I don't think it's already been said in this thread, I'll
go ahead and note that AFAIK update 6 adds support for ZFS root
*mirrors*. This is a wonderful thing, and indeed the common use case,
but I didn't see the OP mention his actual SVM configuration, which
could involve striping. To the OP I would suggest that ZFS is
substantially more robust in general than hardware RAID (based on the
checksumming). I would also refer him to zpool scrub if he decided to
go that route for his concerns of detecting errors. Also, smartmontools
is relatively portable and easy to compile for Solaris in my experience,
YMMV of course. I have been running ZFS on a Thumper since November in
production with excellent results (3-way mirror for rpool, and a 22-way
stripe-mirror set for a data pool, plus a hot standby disk). Also I'd
concur with the above that if you just want to ditch SVM, the
/etc/system and /etc/vfstab mods are probably sufficient, but deleting
the metadb replicas wouldn't hurt either.

Good luck, whichever route you go.

-Nathanael Hoyle
.



Relevant Pages

  • Re: Removing SVM from system
    ... Begin MDD root info (do not edit) ... assuming boot from network for ufsrestore work), ... But why don't you migrate to ZFS with LiveUpgrade? ...
    (comp.unix.solaris)
  • Re: cant boot Solaris9
    ... edit /a/etc/vfstab. ... and * End MDD root info ... Then you are ready to boot from disk0. ... If disk0 does not boot, ...
    (comp.unix.solaris)
  • ZFS Boot Environment Problem
    ... this seems to be related to incorrrect mount points of / and /var datasets as described below. ... The following excerpt is from Chapter 5, 'Installing and Booting a ZFS Root File System' on page 143 of 'Solaris ZFS Administration Guide' ... The best way to change the active boot environment is to use the luactivate command. ...
    (comp.unix.solaris)
  • RE: Sudden wierd SATA problem on RELENG_7 (Re: ZFS hanging at kernel boot now, but didnt before... (
    ... I saw really strange stuff with one bad SATA cable on my 6 drive ZFS array. ... kernel boot now, but didn't before... ... and the system booted just fine on the remaining 4 drives. ... (gmirror on 500Mb partition on each of five disks, ...
    (freebsd-stable)
  • Re: can you do a reg restore from a command prompt?
    ... Why can't you boot to normal mode? ... > hmmm,well when i tried to boot to safe w/ command prompt, i still got the ... >> That edit has nothing to do with your mouse and keyboard. ... >>>i edited some high and low filters from my reg trying to get xp home to ...
    (microsoft.public.windowsxp.general)