> On 23/09/2010 11:06 PM, casper....@sun.com wrote:
> >
> >> Ok, that doesn't seem to have worked so well ...
> >>
> >> I took one of the drives offline, rebooted and it
> just hangs at the
> >> splash screen after prompting for which BE to boot
> into.
> >> It gets to
> >> hostname: blah
> >> and just sits there.
> >
> >
> > When you say "offline", did you:
> >
> >     - remove the drive physically?
> >     - or did you zfs detach it?
> >     - or both?
> 
> zpool offline rpool <drive>
> 
> It's plugged back in now (I'm trying all sorts of
> things!)
> 
> 
> > In order to remove half of the mirror I suggest
> that you:
> >
> >
> >     split the mirror (if your ZFS is recent enough;
> seems to be
> >          supported since 131)
> >         [ make sure you remove /etc/zfs/zpool.cache
> from the
> >            split half of the mirror. ]
> > or
> >     detach
> >
> >
> > only then remove the disk.
> >
> > Depending on the hardware it may try to find the
> missing disk and this
> > may take some time.
> 
> "some time" being a minute, an hour?  How long should
> I wait before giving in and trying something else?
> 
> >
> > You can boot with the debugger and/or -v to find
> out was is going on.
> 
> How is this done on a PC?  On SPARC I'd just have
> said 'boot -s" or whatever the arguments are for that
> these days, but x86 PC's?
> 
> Thanks Casper (I remember you from the 1990's and
> your early Solaris 2.x FAQ!)

Hi--

I would re-connect the original disk and re-attach it to your rpool. After it 
resilvers,  
re-apply the boot blocks. 

Do you really need such a large root pool (2 TBs)?  You might consider creating 
a
separate data pool with the 2 TB disks and move some of your non-OS root pool
data over to the data pool to reduce your root pool space consumption.

If you still want to increase your root pool by using the 2 TB disks, start 
over with the 
replacement process. In general, you would replace a smaller root pool disk by 
using 
one of the following options:

1. Attach the larger disk, let it resilver, apply the bootblocks, confirm that 
you can 
boot from it. Then, detach the smaller disk.

2. Replace the smaller disk with the larger disk, one disk at a time, by using 
the 
zpool replace command. This process is a bit riskier if anything is wrong  with 
the 
replacement disk. 

Do you have enough slots to connect all 4 disks at once (the two smaller ones 
and the 
two larger ones)? If so, I would recommend a combination of the above options 
because 
your root pool is already mirrored. Something like this:

disk1 = 750 GB
disk2 = 750 GB
disk3 = 2 TB
disk4 = 2 TB

# zpool replace rpool disk2 disk3
/* Use zpool status to check resilvering status
/* Apply bootblocks to disk3
/* Test booting from disk3
/* If disk3 boot succeeds, continue:
# zpool attach rpool disk3 disk4
/* Use zpool status to check resilvering status
/* Apply bootblocks to disk4
/* Test booting from disk4
# zpool detach rpool disk1

You might review some of the steps here:

http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide

Replacing/Relabeling the Root Pool Disk 

Thanks,

Cindy
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to