[OpenIndiana-discuss] zpool and nfs

ann kok oiyankok at yahoo.ca
Wed Jan 19 21:53:05 UTC 2011


Hi Edward

Thank you for your mail

I follow your advice to reboot my computer. It is fine

Now. I have problem to attach it. What can I do this?

root at opensolaris:~# format -e
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c8t0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
          /pci at 0,0/pci15ad,1976 at 10/sd at 0,0
       1. c8t1d0 <DEFAULT cyl 1303 alt 2 hd 255 sec 63>
          /pci at 0,0/pci15ad,1976 at 10/sd at 1,0
Specify disk (enter its number): ^C
root at opensolaris:~# zpool add rpool c8t1d0
cannot label 'c8t1d0': EFI labeled devices are not supported on root pools.

2/ For the command devfsadm -Cv, I run it the first time. It showed many message but I can't catch it. 
I try to run again, but show nothing
How can I catch those message?

Thank you so much


--- On Wed, 1/19/11, Edward Ned Harvey <openindiana at nedharvey.com> wrote:

> From: Edward Ned Harvey <openindiana at nedharvey.com>
> Subject: Re: [OpenIndiana-discuss] zpool and nfs
> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
> Received: Wednesday, January 19, 2011, 4:23 PM
> > From: ann kok [mailto:oiyankok at yahoo.ca]
> > 
> > As I haven't received the response, I run the formart
> -e
> > It said it needs around 3 hours
> > 
> > format> format
> > Ready to format.  Formatting cannot be
> interrupted
> > and takes 232 minutes (estimated). Continue?
> > Continue? y
> 
> Oh my goodness.  No.
> When you run format -e, it should just display a list of
> all the disks in
> the system (instantly), and ask you which one you want to
> work on, and then
> you quit.  I'm sure I said that.  Quit without
> changing anything.  (And be
> careful not to break anything.)  I am extremely
> certain I never told you to
> type "format" after you got into the format prompt. 
> And when it prompted
> you "Continue?"  You should definitely have said "n"
> instead of "y"
> 
> You have entered the format prompt, and then entered the
> format command on
> the format prompt, which apparently does something
> horrific.  Hopefully
> you're doing it to a disk you don't care about.
> 
> I suggest rebooting first, just to ensure you haven't
> destroyed your system.
> You may have destroyed it.
> 
> Here is an example:
>     [root at FILER ~]# format -e
>     Searching for disks...done
>     
>     
>     AVAILABLE DISK SELECTIONS:
>            0. c0d0
> <ST325082-     
>    5QE4X6G-0001-232.83GB>
>              
> /pci at 0,0/pci15ad,7a0 at 15/pci-ide at 0/ide at 0/cmdk at 0,0
>            1.
> c2t0d0 <DEFAULT cyl 3913 alt 2 hd 255 sec 63>
>              
> /pci at 0,0/pci15ad,1976 at 10/sd at 0,0
>            2.
> c2t1d0 <VMware-Virtual disk-1.0-200.00GB>
>              
> /pci at 0,0/pci15ad,1976 at 10/sd at 1,0
>            3.
> c2t2d0 <VMware-Virtual disk-1.0-170.00GB>
>              
> /pci at 0,0/pci15ad,1976 at 10/sd at 2,0
>     Specify disk (enter its number): ^C
> 
> I'm sure I said this too.  Don't bother formatting any
> disks.  Just use
> zpool add.  End of story.  It will use the whole
> device, and it's an instant
> operation.
> 
> 
> > 4/ What is the different betwen zpool attach zpool and
> zpool add 
> 
> Zpool attach will create a mirror of a device which was not
> previously
> mirrored.
> Zpool add will add storage to a pool.  If you add a
> single device, then it's
> not redundant.  If you add a mirror or a raidz, then
> it's redundant.
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 





More information about the OpenIndiana-discuss mailing list