Superuser

Autor Thema: Fehler bei Installation: zfs mount -a failed  (Gelesen 4507 mal)

PHILzstift

  • Gast
Fehler bei Installation: zfs mount -a failed
« am: 16. April 2007, 23:52:42 »
Hallo zusammen,

hab ein Probelm mit einer Fire v120 mit 2 SCSI-Platten.
Hatte Solaris drauf und hab mal FreeBSD sparc ausprobiert.
Hatt alles immer schön funktiniert.

Wenn ich jetzt wieder Solaris installieren will bricht die Installation nach der Konfiguration ab (Hardwarefehler oder unformatierte Festplatte). Da BSD weiterhin installierbar ist und auch läuft würde ich Hardwarefehler ausschließen.

Ich habe die Platten beide formattiert und gelabelt.

Über eine serielle Verbindung hab ich dann gestartet und gebootet (von einer original Solaris 11/06 DVD)

ok boot cdrom - nowin
Relativ am Anfang der Installation (nach der Initialisierung der Netzwerkkarten) bekomme ich folgende Fehlermeldung:

internal error: Bad file number
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 134
Apr 16 13:25:13 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.

Apr 16 13:25:14 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

svcs -xv sagt mit folgendes:

# svcs -xv
svc:/system/filesystem/local:default (local file system mounts)
 State: maintenance since Mo 16 Apr 2007 22:25:14 CEST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-filesystem-local:default.log
Impact: 2 dependent services are not running:
        svc:/system/system-log:default
        svc:/milestone/multi-user:default

und in dem Logfile steht dann das:

# cat /etc/svc/volatile/system-filesystem-local:default.log
[ start + 2.23s Enabled. ]
[ Apr 16 13:25:07 Executing start method ("/lib/svc/method/fs-local") ]
bootadm: this operation is not supported on sparc
Abort
WARNING: /usr/sbin/zfs mount -a failed: exit status 134
[ Apr 16 13:25:14 Method "start" exited with status 95 ]


und ich hab wieder mal keinen blassen Schimmer ...  ???


Kann mir irgendjemand helfen?



P.S.: Für Interessierte hier das ausführliche Log
ok boot cdrom -s
Resetti

LOM event: +2d+1h6m15s host reset

ng ...

ð

Processor Speed = 648 MHz

Baud rate is 9600

8 Data bits, 1 stop bits, no parity (configured from lom)


Firmware CORE  Sun Microsystems, Inc.

@(#) core 1.0.12 2002/01/08 13:00

Software Power ON

Verifying NVRAM...Done

Bootmode is 0

[New I2C DIMM address]

MCR0 = 57b2ce06

MCR1 = 80008000

MCR2 = cf3000ff

MCR3 = a00000cf

Ecache Size = 512 KB

Clearing E$ Tags Done

Clearing I/D TLBs Done

Probing memory

Done

MEMBASE=0x40000000

MEMSIZE=0x20000000

Clearing memory...Done

Turning ON MMUs Done

Copy ROM to RAM (170040 bytes) Done

Orig PC=0x1fff0007e44  New PC=0xf0f07e9c

Processor Speed=648MHz

Looking for Dropin FVM ... found

Decompressing Client Done

Transferring control to Client...


ttya initialized
Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing upa at 1f,0 pci pci pci
Probing upa at 0,0 SUNW,UltraSPARC-IIe SUNW,UltraSPARC-IIe (512 Kb)
Loading Support Packages: kbd-translator
Loading onboard drivers: ebus flashprom eeprom idprom SUNW,lomh
Probing /pci@1,1 Device 3  pmu i2c temperature dimm dimm i2c-nvram
   idprom motherboard-fru fan-control
lomp
Probing Memory Bank #0 512 Megabytes
Probing Memory Bank #1 512 Megabytes
Probing Memory Bank #2   0 Megabytes
Probing Memory Bank #3   0 Megabytes
Probing /pci@1,1 Device 7  isa power serial serial
Probing /pci@1,1 Device c  network firewire usb
Probing /pci@1,1 Device 3 
Probing /pci@1,1 Device d  ide disk cdrom
Probing /pci@1,1 Device 5  pci108e,1100 network firewire usb
Probing /pci@1 Device 8  scsi disk tape scsi disk tape
Probing /pci@1 Device 5  pcib1d9,1
Probing /pci@1 Device 6  Nothing there
Probing /pci@1 Device 7  Nothing there
Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard
OpenBoot 4.0, 1024 MB memory installed, Serial #57163789.
Ethernet address 0:3:ba:68:40:d, Host ID: 8368400d.



Environment monitoring: disabled
Initializing     1 megs of memory at addr          5feca000    0
Initializing     1 megs of memory at addr          5fe80000    0
Initializing    14 megs of memory at addr          5f002000   10
Initializing    16 megs of memory at addr          5e002000   12
Initializing   480 megs of memory at addr          40000000  476
Initializing   512 megs of memory at addr                 0  508

Executing last command: boot cdrom -s
Boot device: /pci@1f,0/pci@1,1/ide@d/cdrom@0,0:f  File and args: -s
Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54.
FCode UFS Reader 1.12 00/07/17 15:48:16.
Redirected to slice: 1
Loading: /platform/SUNW,UltraAX-i2/ufsboot
Loading: /platform/sun4u/ufsboot
|
SunOS Release 5.10 Version Generic_118833-33 64-bit
Copyright 1983-2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Booting to milestone "milestone/single-user:default".
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface eri1...
Skipped interface eri1
Attempting to configure interface eri0...
Skipped interface eri0
Requesting System Maintenance Mode
SINGLE USER MODE
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <FUJITSU-MAP3367N SUN36G-0401-33.92GB>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
       1. c1t1d0 <FUJITSU-MAP3367N SUN36G-0401-33.92GB>
          /pci@1f,0/pci@1/scsi@8/sd@1,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]


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
        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
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> label
Ready to label disk, continue? y

format> disk


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <FUJITSU-MAP3367N SUN36G-0401-33.92GB>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
       1. c1t1d0 <FUJITSU-MAP3367N SUN36G-0401-33.92GB>
          /pci@1f,0/pci@1/scsi@8/sd@1,0
Specify disk (enter its number)[0]: 1
selecting c1t1d0
[disk formatted]
format> label
Ready to label disk, continue? y

format> quit
# halt
syncing file systems... done
Program terminated
ok boot cdrom - nowin
Resetti

LOM event: +2d+1h54m9s host reset

ng ...

ü

Processor Speed = 648 MHz

Baud rate is 9600

8 Data bits, 1 stop bits, no parity (configured from lom)


Firmware CORE  Sun Microsystems, Inc.

@(#) core 1.0.12 2002/01/08 13:00

Software Power ON

Verifying NVRAM...Done

Bootmode is 0

[New I2C DIMM address]

MCR0 = 57b2ce06

MCR1 = 80008000

MCR2 = cf3000ff

MCR3 = a00000cf

Ecache Size = 512 KB

Clearing E$ Tags Done

Clearing I/D TLBs Done

Probing memory

Done

MEMBASE=0x40000000

MEMSIZE=0x20000000

Clearing memory...Done

Turning ON MMUs Done

Copy ROM to RAM (170040 bytes) Done

Orig PC=0x1fff0007e44  New PC=0xf0f07e9c

Processor Speed=648MHz

Looking for Dropin FVM ... found

Decompressing Client Done

Transferring control to Client...


ttya initialized
Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing upa at 1f,0 pci pci pci
Probing upa at 0,0 SUNW,UltraSPARC-IIe SUNW,UltraSPARC-IIe (512 Kb)
Loading Support Packages: kbd-translator
Loading onboard drivers: ebus flashprom eeprom idprom SUNW,lomh
Probing /pci@1,1 Device 3  pmu i2c temperature dimm dimm i2c-nvram
   idprom motherboard-fru fan-control
lomp
Probing Memory Bank #0 512 Megabytes
Probing Memory Bank #1 512 Megabytes
Probing Memory Bank #2   0 Megabytes
Probing Memory Bank #3   0 Megabytes
Probing /pci@1,1 Device 7  isa power serial serial
Probing /pci@1,1 Device c  network firewire usb
Probing /pci@1,1 Device 3 
Probing /pci@1,1 Device d  ide disk cdrom
Probing /pci@1,1 Device 5  pci108e,1100 network firewire usb
Probing /pci@1 Device 8  scsi disk tape scsi disk tape
Probing /pci@1 Device 5  pcib1d9,1
Probing /pci@1 Device 6  Nothing there
Probing /pci@1 Device 7  Nothing there
Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard
OpenBoot 4.0, 1024 MB memory installed, Serial #57163789.
Ethernet address 0:3:ba:68:40:d, Host ID: 8368400d.



Environment monitoring: disabled
Initializing     1 megs of memory at addr          5feca000    0
Initializing     1 megs of memory at addr          5fe80000    0
Initializing    14 megs of memory at addr          5f002000   10
Initializing    16 megs of memory at addr          5e002000   12
Initializing   480 megs of memory at addr          40000000  476
Initializing   512 megs of memory at addr                 0  508

Executing last command: boot cdrom - nowin
Boot device: /pci@1f,0/pci@1,1/ide@d/cdrom@0,0:f  File and args: - nowin
Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54.
FCode UFS Reader 1.12 00/07/17 15:48:16.
Redirected to slice: 1
Loading: /platform/SUNW,UltraAX-i2/ufsboot
Loading: /platform/sun4u/ufsboot
SunOS Release 5.10 Version Generic_118833-33 64-bit
Copyright 1983-2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface eri1...
Skipped interface eri1
Attempting to configure interface eri0...
Skipped interface eri0
internal error: Bad file number
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 134
Apr 16 13:25:13 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.

Apr 16 13:25:14 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

Setting up Java. Please wait...
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...


Select a Language

   0. English
   1. French
   2. German
   3. Italian
   4. Japanese
   5. Korean
   6. Simplified Chinese
   7. Spanish
   8. Swedish
   9. Traditional Chinese

Please make a choice (0 - 9), or press h or ? for help: 2

--- snip ---

Die Systemidentifikation ist abgeschlossen.
Das Solaris-Installationsprogramm wird gestartet...
Ausführen der JumpStart Preinstall-Phase...
Suche nach SolStart-Verzeichnis...
Datei rules.ok wird geprüft...
Start-Skript wird benutzt: install_begin
Beendigungs-Skript wird benutzt: patch_finish
Ausführen der SolStart Preinstall-Phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.
Warnung qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Es wurden Festplatten gefunden. Eines der folgenden

Probleme ist jedoch aufgetreten:


> Hardwarefehler


> Unformatierte Festplatte.
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
F2_OK
>Das Solaris-Installationsprogramm wurde beendet.

# svcs -xv
svc:/system/filesystem/local:default (local file system mounts)
 State: maintenance since Mo 16 Apr 2007 22:25:14 CEST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-filesystem-local:default.log
Impact: 2 dependent services are not running:
        svc:/system/system-log:default
        svc:/milestone/multi-user:default
# cat /etc/svc/volatile/system-filesystem-local:default.log
[ start + 2.23s Enabled. ]
[ Apr 16 13:25:07 Executing start method ("/lib/svc/method/fs-local") ]
bootadm: this operation is not supported on sparc
Abort
WARNING: /usr/sbin/zfs mount -a failed: exit status 134
[ Apr 16 13:25:14 Method "start" exited with status 95 ]
# halt
syncing file systems... done
Program terminated
ok

sonnenblen.de - Das unabhängige Sun User Forum

Fehler bei Installation: zfs mount -a failed
« am: 16. April 2007, 23:52:42 »

Offline Freud-Schiller

  • Sobl Guru
  • *****
  • Beiträge: 927
Re: Fehler bei Installation: zfs mount -a failed
« Antwort #1 am: 17. April 2007, 09:16:06 »
Hi PHIL, also formatiere bitte beide platten noch einmal mit "format->format". Falls dies keine Besserung bringt, versucht bitte testweise mal eine partition zu mounten. mal sehen was passiert. nächste möglichkeit: linux booten und NUR nen Sun Disklabel schreiben und dann normal format mit label und format durchlaufen lassen. HTH und Grüße David

Offline escimo

  • Sobl Guru
  • *****
  • Beiträge: 1674
  • SPARCstation 2
    • Youtube-Kanal opensparcbox.org
Re: Fehler bei Installation: zfs mount -a failed
« Antwort #2 am: 17. April 2007, 11:56:13 »
Hallo PHIL,

könntest du bitte mal die Partitionierungstabelle - Output von "print" im format-tool unter partition oder mit "current" unter format - posten.

# format
...
format> current

Hier noch ein Paar Infos zum format-Tool.
Gruß
escimo

Offline Sparky

  • Sobl Guru
  • *****
  • Beiträge: 3260
  • HyperSPARC ! Das fetzt......
    • HyperSTATION
Re: Fehler bei Installation: zfs mount -a failed
« Antwort #3 am: 17. April 2007, 12:20:17 »
Da gab es mal Probleme,
wenn Solaris eine Festplatte formatieren/labeln soll,
auf der vorher BSD war.
Die Platten in einem "Windows-Rechner" formatieren und dann nochmal in der SUN.
Das sollte auf alle Fälle klappen.
www.hyperstation.de
alles zu HyperSPARC, SBus-Karten und AG-10E Howto

Offline Ebbi

  • Sobl Administrator
  • Sobl Guru
  • *****
  • Beiträge: 1315
  • Minusgeek
Re: Fehler bei Installation: zfs mount -a failed
« Antwort #4 am: 17. April 2007, 13:59:05 »
Wenn dir das Formatieren zu lange dauert, kannst du auch mit Knoppix eine neue DOS-Partitionstabelle erstellen.

Offline latscho

  • Sobl Newbie
  • *
  • Beiträge: 35
Re: Fehler bei Installation: zfs mount -a failed
« Antwort #5 am: 17. April 2007, 14:55:47 »
FYI

Description:   Top

When performing a DVD installation of Solaris 10[TM] 06/06 (Update 2) and
Solaris 10 11/06 (Update 3) error messages indicating 'zfs mount -a failed' are
seen on the console.


Document Body:   Top

Installing Solaris 10 06/06 (Update 2) and Solaris 10 11/06 (Update 3) from DVD
will result in the following error messages being displayed during the initial
boot prior to installation:

internal error: Bad file number
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed:
exit status 134
Aug 22 10:27:36 svc.startd[7]: svc:/system/filesystem/local:default: Method
"/lib/svc/method/fs-local" failed with exit status 95.
Aug 22 10:27:36 svc.startd[7]: system/filesystem/local:default failed fatally:
transitioned to maintenance (see 'svcs -xv' for details)

These error messages do not impact Solaris installation and the installer will
continue to operate as expected.  These error messages are only seen when
installing from DVD.  CD or Network or Jumpstart installations do not emit these
error messages.

PHILzstift

  • Gast
Fehler bei Installation: zfs mount -a failed
« Antwort #6 am: 19. April 2007, 22:02:17 »
Also ...

erst mal vielen Dank für die schnellen Antworten! Thumbs up!

Hier nun meine Lösung:

Windows Rechner hab ich leider keinen mit SCSI-Controller und Knoppix für SPARC hab ich nicht gefunden.
Gentoo ging aber hervorragend. Allerdings hat das erstellen einer DOS-Partitionstabellen nix gebracht. Ebensowenig wie nochmals formatieren.

Erst die "Brechstange" war erfolgreich:

Booten mit Linux (in diesem Fall Gentoo für sparc64) und dann
dd if=/dev/zero of=/dev/sda
dd if=/dev/zero of=/dev/sdb

Das dauert dann jeweils ne Weile aber dannach kann man wieder Solaris im single-user-mode starten und mit
formatdie Platten neu labeln.

Dann tut's!

Gruß und Danke ncohmal an alle!