Autor Thema: ufs:ufs_fault  (Gelesen 2025 mal)

freak.0815

  • Gast
ufs:ufs_fault
« am: 20. November 2006, 09:12:30 »
Hallo Community,

ich hab auf einer V210 ein frisch installiertes Solaris 9, das Probleme macht.
Ich hab es wie folgt partitioniert:
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -   412        2.00GB    (413/0/0)     4202688
  1       swap    wu     413 -  1238        4.01GB    (826/0/0)     8405376
  2     backup    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
  3        usr    wm    1239 -  2064        4.01GB    (826/0/0)     8405376
  4 unassigned    wm    2065 -  2683        3.00GB    (619/0/0)     6298944
  5        var    wm    2684 -  6805       20.00GB    (4122/0/0)   41945472
  6 unassigned    wm    6806 -  6826      104.34MB    (21/0/0)       213696
  7       home    wm    6827 - 14086       35.23GB    (7260/0/0)   73877760

 
Anschließend habe ich ein Software RAID 1 erstellt. metastat liefert:
d70: Mirror
    Submirror 0: d71
      State: Okay
    Submirror 1: d72
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 73877760 blocks (35 GB)

d71: Submirror of d70
    State: Okay
    Size: 73877760 blocks (35 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s7          0     No            Okay   Yes


d72: Submirror of d70
    State: Okay
    Size: 73877760 blocks (35 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s7          0     No            Okay   Yes


d40: Mirror
    Submirror 0: d41
      State: Okay
    Submirror 1: d42
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 6298944 blocks (3.0 GB)

d41: Submirror of d40
    State: Okay
    Size: 6298944 blocks (3.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s4          0     No            Okay   Yes


d42: Submirror of d40
    State: Okay
    Size: 6298944 blocks (3.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s4          0     No            Okay   Yes


d30: Mirror
    Submirror 0: d31
      State: Okay
    Submirror 1: d32
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 8405376 blocks (4.0 GB)

d31: Submirror of d30
    State: Okay
    Size: 8405376 blocks (4.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s3          0     No            Okay   Yes


d32: Submirror of d30
    State: Okay
    Size: 8405376 blocks (4.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s3          0     No            Okay   Yes


d20: Mirror
    Submirror 0: d21
      State: Okay
    Submirror 1: d22
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 8405376 blocks (4.0 GB)

d21: Submirror of d20
    State: Okay
    Size: 8405376 blocks (4.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s1          0     No            Okay   Yes


d22: Submirror of d20
    State: Okay
    Size: 8405376 blocks (4.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s1          0     No            Okay   Yes


d10: Mirror
    Submirror 0: d11
      State: Okay
    Submirror 1: d12
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 4202688 blocks (2.0 GB)

d11: Submirror of d10
    State: Okay
    Size: 4202688 blocks (2.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s0          0     No            Okay   Yes


d12: Submirror of d10
    State: Okay
    Size: 4202688 blocks (2.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s0          0     No            Okay   Yes


d50: Mirror
    Submirror 0: d51
      State: Okay
    Submirror 1: d52
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 41945472 blocks (20 GB)
"vfstab" 12 lines, 475 characters
d51: Submirror of d50
    State: Okay
    Size: 41945472 blocks (20 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s5          0     No            Okay   Yes


d52: Submirror of d50
    State: Okay
    Size: 41945472 blocks (20 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s5          0     No            Okay   Yes


Soweit ist also alles in Ordnung. Allerdings crashed das System nach dem anschließenden reboot:

Rebooting with command: boot
Boot device: disk0  File and args:
SunOS Release 5.9 Version Generic_112233-12 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
Hardware watchdog enabled
configuring IPv4 interfaces: bge0.
Hostname: bla

panic[cpu0]/thread=30001601d00: free: freeing free frag, dev:0x5500000032, blk:1971, cg:0, ino:106, fs:/var

000002a1002bd040 ufs:ufs_fault_v+e0 (2a1002bd3e8, 14a3198, 2a1002bd230, 0, 0, 300000541c8)
  %l0-3: 0000000000000000 00000000014a3198 00000300000541c8 0000005500000032
  %l4-7: 00000300028ed720 0000030000054278 00000300028ed0d0 0000000000001000
000002a1002bd0f0 ufs:ufs_fault+1c (2a1002bd3e8, 14a3198, 5500000032, 7b3, 0, 6a)
  %l0-3: 000000000001a010 000000000149bc00 0000000000000000 0000000000000014
  %l4-7: 0000000001498b98 0000030001763eb0 0000000000000000 000002a1002bd320
000002a1002bd1a0 ufs:free+4fc (2a1002bd348, 300029420a8, 90255, 0, 30000054278, 7b0)
  %l0-3: 0000030002942460 0000030002970000 0000030002942000 00000300000541c8
  %l4-7: 0000000000001000 00000000000007b0 00000300028ed720 0000000000000000
000002a1002bd280 ufs:ufs_itrunc+74c (2a1002bd348, 0, 0, 3000026ff28, 0, c)
  %l0-3: 0000000000000000 0000030001710ba0 0000030002970000 0000000000000000
  %l4-7: 0000000000000008 ffffffffffffffff ffffffffffffffff 0000000000001000
000002a1002bd590 ufs:ufs_create+460 (0, 300015f7611, 0, 0, 103, 2a1002bd950)
  %l0-3: 0000030001710d00 0000030000054210 0000030001710cf8 0000030001710ba0
  %l4-7: 00000300000541c8 000003000026ff28 0000000000002b00 000002a1002bd958
000002a1002bd680 genunix:vn_createat+52c (12, 0, 103, 0, 180, 103)
  %l0-3: 000000000119d754 0000030001710c40 000002a1002bd950 0000030001710c40
  %l4-7: 000002a1002bd958 0000000000000000 0000000000000000 0000000000000000
000002a1002bd840 genunix:vn_openat+ec (200, 0, 303, 100, 103, 0)
  %l0-3: 0000000000000001 00000300015bfd20 0000000000000000 0000000000000180
  %l4-7: 0000000000000303 0000000000000000 00000000000fbf20 0000000000000000
000002a1002bd9e0 genunix:copen+2e0 (ffffffffffd19553, fbf20, 303, 1b6, 0, 0)
  %l0-3: 0000000001495400 0000000000000000 0000000000000303 0000000000000000
  %l4-7: 0000030000271ea8 0000000000000000 000002a1002bd7a0 000000000000000d

syncing file systems... done
dumping to /dev/md/dsk/d20, offset 860749824, content: kernel
100% done: 27154 pages dumped, compression ratio 8.82, dump succeeded
rebooting...
Probing system devices
Probing memory
Probing I/O buses

Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65727305.
Ethernet address 0:3:ba:ea:eb:49, Host ID: 83eaeb49.



Rebooting with command: boot
Boot device: disk0  File and args:
SunOS Release 5.9 Version Generic_112233-12 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
Hardware watchdog enabled
configuring IPv4 interfaces: bge0.
Hostname: bla
The / file system (/dev/md/rdsk/d10) is being checked.
/dev/md/rdsk/d10: 4171 files, 74156 used, 1984163 free
/dev/md/rdsk/d10: (3 frags, 248020 blocks, 0.0% fragmentation)
The /var file system (/dev/md/rdsk/d50) is being checked.
/dev/md/rdsk/d50: INCORRECT BLOCK COUNT I=106 (8 should be 0) (CORRECTED)
/dev/md/rdsk/d50: UNALLOCATED  I=1995  OWNER=root MODE=0
/dev/md/rdsk/d50: SIZE=0 MTIME=Nov 18 21:35 2006
/dev/md/rdsk/d50: NAME=/adm/messages

/dev/md/rdsk/d50: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.


WARNING - Unable to repair the /var filesystem. Run fsck
manually (fsck -F ufs /dev/md/rdsk/d50). Exit the shell when
done to continue the boot process.


Type control-d to proceed with normal startup,
(or give root password for system maintenance):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

Nov 20 08:39:16 su: 'su root' succeeded for root on /dev/console
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
# fsck -F ufs /dev/md/rdsk/d50
** /dev/md/rdsk/d50
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
UNALLOCATED  I=1995  OWNER=root MODE=0
SIZE=0 MTIME=Nov 18 21:35 2006
NAME=/adm/messages

REMOVE? y

UNALLOCATED  I=1994  OWNER=root MODE=0
SIZE=0 MTIME=Nov 18 21:35 2006
NAME=/log/syslog

REMOVE? y

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE  I=138  OWNER=root MODE=100600
SIZE=4 MTIME=Nov 18 21:40 2006
RECONNECT? y

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? y

2657 files, 6006 used, 20649523 free (43 frags, 2581185 blocks, 0.0% fragmentation)

***** FILE SYSTEM WAS MODIFIED *****
#
# reboot
syncing file systems... done
rebooting...

SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses

Sun Fire V210, No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.2, 4096 MB memory installed, Serial #65727305.
Ethernet address 0:3:ba:ea:eb:49, Host ID: 83eaeb49.



Rebooting with command: boot
Boot device: disk0  File and args:
SunOS Release 5.9 Version Generic_112233-12 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
Hardware watchdog enabled
configuring IPv4 interfaces: bge0.
Hostname: bla
The system is coming up.  Please wait.
checking ufs filesystems
/dev/md/rdsk/d40: is stable.
/dev/md/rdsk/d70: is stable.
starting rpc services: rpcbind done.
Setting netmask of bge0 to 255.255.255.224
Setting default IPv4 interface for multicast: add net 224.0/4: gateway bla
syslog service starting.
System dump time: Mon Nov 20 08:36:52 2006
Constructing namelist /var/crash/bla/unix.0
syslogd: /var/log/syslog: No such file or directory
Constructing corefile /var/crash/bla/vmcore.0
100% done: 27154 of 27154 pages saved
volume management starting.
The system is ready.

bla console login:



Weiss jemand Rat? Ich bin für jeden Tipp dankbar!

sonnenblen.de - Das unabhängige Sun User Forum

ufs:ufs_fault
« am: 20. November 2006, 09:12:30 »

Offline Jonny

  • Global Moderator
  • Sobl Guru
  • *****
  • Beiträge: 1063
Re: ufs:ufs_fault
« Antwort #1 am: 20. November 2006, 21:26:25 »
Hallo freak.0815,

erst mal herzlich willkommen hier im Forum  :D :D

Bitte poste mal deine /etc/vfstab, den Output von "df -kl" den passenden Teil der /etc/lvm/md.tab und den Output von metadb.

Gruß
Jonny
solaris is like a wigwam :
no windows, no gates and a apache inside !