[OpenIndiana-discuss] zpool and nfs

Bernd Helber bernd at helber-it-services.com
Thu Jan 20 15:13:50 UTC 2011


Sorry i forgot,

you're on x86

format>fdisk

y

label
select SMI Label

thanks in advance.



Am 20.01.11 15:22, schrieb ann kok:
> Hi Bernd
> 
> The label won't work and I also provide /var/adm/message
> 
> Thank you
> 
> 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
>        2. c8t2d0 <DEFAULT cyl 1534 alt 2 hd 128 sec 32>
>           /pci at 0,0/pci15ad,1976 at 10/sd at 2,0
> Specify disk (enter its number): 2
> selecting c8t2d0
> [disk formatted]
> No Solaris fdisk partition found.
> 
> 
> FORMAT MENU:
>         disk       - select a disk
>         type       - select (define) a disk type
>         partition  - select (define) a partition table
>         current    - describe the current disk
>         format     - format and analyze the disk
>         fdisk      - run the fdisk program
>         repair     - repair a defective sector
>         label      - write label to the disk
>         analyze    - surface analysis
>         defect     - defect list management
>         backup     - search for backup labels
>         verify     - read and display labels
>         save       - save new disk/partition definitions
>         inquiry    - show vendor, product and revision
>         scsi       - independent SCSI mode selects
>         cache      - enable, disable or query SCSI disk cache
>         volname    - set 8-character volume name
>         !<cmd>     - execute <cmd>, then return
>         quit
> format> label 
> WARNING - This disk may be in use by an application that has
>           modified the fdisk table. Ensure that this disk is
>           not currently in use before proceeding to use fdisk.
> 
> /var/adm/message
> 
> Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
> Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is /pseudo/pm at 0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is /pseudo/nsmb at 0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: lx_systrace0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is /pseudo/lx_systrace at 0
> Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR: getOptRdata - unknown opt 4
> Jan 20 09:18:16 opensolaris last message repeated 5 times
> 
> 
> 
> 
> --- On Wed, 1/19/11, Bernd Helber <bernd at helber-it-services.com> wrote:
> 
>> From: Bernd Helber <bernd at helber-it-services.com>
>> Subject: Re: [OpenIndiana-discuss] zpool and nfs
>> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
>> Received: Wednesday, January 19, 2011, 5:37 PM
>> format
>> label --> select SMI Label.
>>
>> that should solve the issue,
>>
>> if there are more issues, please provide
>>
>> /var/adm/messages*
>>
>> thanks in advance.
>>
>>
>> Am 19.01.11 22:53, schrieb ann kok:
>>> 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
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenIndiana-discuss mailing list
>>> OpenIndiana-discuss at openindiana.org
>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>>
>> -- 
>> with kind regards
>>
>>          
>>    _.-|-/\-._
>>           \-'     
>>     '-.
>>          /   
>> /\    /\    \/
>>        \/  <   
>> .  >  ./.  \/
>>    _   /  < 
>>        > /___\ |.
>>  .< \ /  <     /\ 
>>   > ( #) |#)
>>    | |    <   
>>    /\   -.   __\
>>     \   < 
>> <   V      > )./_._(\
>>    .)/\   < 
>> <  .-     /  \_'_) )-..
>>        \ 
>> <   ./  /  > > 
>>      /._./
>>    
>>    /\   <  '-'
>>>     >    /
>>          '-._ < v 
>>   >   _.-'
>>            /
>> '-.______.·' \
>>              
>>    \/
>>
>>
>> ***********************************************************
>>  *This message has been scanned by DrWeb AV and
>> Spamassassin
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
> 
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


-- 
with kind regards

 Bernd Helber

 phone  +49 7331 81982
 mobile +49 177 7494439

 Filsstraße 20
 73329
 Kuchen Fils

 mailto:bernd at helber-it-services.com
 http://helber-it-services.com

             _.-|-/\-._
          \-'          '-.
         /    /\    /\    \/
       \/  <    .  >  ./.  \/
   _   /  <         > /___\ |.
 .< \ /  <     /\    > ( #) |#)
   | |    <       /\   -.   __\
    \   <  <   V      > )./_._(\
   .)/\   <  <  .-     /  \_'_) )-..
       \  <   ./  /  > >       /._./
       /\   <  '-' >    >    /
         '-._ < v    >   _.-'
           / '-.______.·' \
                 \/

 ***********************************************************
 *This message has been scanned by DrWeb AV and Spamassassin



More information about the OpenIndiana-discuss mailing list