The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
about fsck farhan_t49 UNIX for Dummies Questions & Answers 1 06-11-2009 06:58 AM
fsck -o melanie_pfefer SUN Solaris 2 01-06-2009 08:10 PM
fsck run efang SUN Solaris 2 07-20-2006 12:49 AM
fsck - what should be done? duke0001 UNIX for Dummies Questions & Answers 3 11-22-2005 09:10 PM
fsck run_time_error SUN Solaris 5 09-14-2005 07:16 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
mjos mjos is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 7
not able to run fsck

Gurus,

Please help, there are two file-systems, that I am not able to mount.
/opt/app & /opt/app/oracle
I did an mountall & got the below error
Code:
checking ufs filesystems
/dev/md/rdsk/d61: No such device or address
Can't open /dev/md/rdsk/d61: No such device or address
/dev/md/rdsk/d61: CAN'T CHECK FILE SYSTEM.
/dev/md/rdsk/d61: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).
Exit the shell when done to continue the boot process.
vfstab entries for these two file-systems -
Code:
/dev/md/dsk/d61 /dev/md/rdsk/d61        /opt/app        ufs     2       yes     -
/dev/md/dsk/d50 /dev/md/rdsk/d50        /opt/app/oracle ufs     2       yes     -
I tried to run an fsck & got the below errors
Code:
w > fsck /dev/md/rdsk/d61
Can't open /dev/md/rdsk/d61: No such device or address
w > fsck /dev/md/rdsk/d50
/dev/md/dsk/d50 IS CURRENTLY MOUNTED READ/WRITE.
CONTINUE? y
** /dev/md/dsk/d50
fsck: open mount point error: No such file or directory
Please help.

Last edited by pludi; 2 Weeks Ago at 03:23 AM.. Reason: code tags, please...
  #2 (permalink)  
Old 2 Weeks Ago
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,956
looks like d61 is missing and without d61 you can't mount d50. have a look at your metadevice configuration.
  #3 (permalink)  
Old 2 Weeks Ago
mjos mjos is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 7
Metastat output

Code:
d61: Concat/Stripe
    Size: 37752960 blocks (18 GB)
    Stripe 0:
        Device     Start Block  Dbase   Reloc
        c1t2d0s1          0     No      Yes
    Stripe 1:
        Device     Start Block  Dbase   Reloc
        c1t2d0s3          0     No      Yes

Device Relocation Information:
Device   Reloc  Device ID
c1t2d0   Yes    id1,sd@SSEAGATE_ST373207LSUN72G_4433046G____________3KT3046G
w > metastat d50
d50: Mirror
    Submirror 0: d60
      State: Needs maintenance
    Submirror 1: d70
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20972736 blocks (10 GB)

d60: Submirror of d50
    State: Unavailable
    Size: 20972736 blocks (10 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t2d0s0          0     No               -   Yes


d70: Submirror of d50
    State: Okay
    Size: 20972736 blocks (10 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t3d0s0          0     No            Okay   Yes


Device Relocation Information:
Device   Reloc  Device ID
c1t2d0   Yes    id1,sd@SSEAGATE_ST373207LSUN72G_4433046G____________3KT3046G
c1t3d0   Yes    id1,sd@w4849544143484920485553313033303733464c333830302056335757485059
41

in iostat -en, I am seeing hard errors for the disk c1t2d0


Code:
c1t2d0          Soft Errors: 2 Hard Errors: 8 Transport Errors: 2
Vendor: SEAGATE  Product: ST373207LSUN72G  Revision: 045A Serial No: 054433046G
Size: 73.40GB <73400057856 bytes>
Media Error: 6 Device Not Ready: 0 No Device: 1 Recoverable: 2
Illegal Request: 0 Predictive Failure Analysis: 0
  #4 (permalink)  
Old 2 Weeks Ago
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,956
two stripes on the same device... and the device has errors... maybe your data is gone.
  #5 (permalink)  
Old 2 Weeks Ago
tamitot tamitot is offline
Registered User
  
 

Join Date: Nov 2009
Location: currrently in kuwait
Posts: 8
metadevice d50 (mirror) is broken too. submirror d60 is on the same device c1t2d0.

Code:
d60: Submirror of d50
    State: Unavailable
    Size: 20972736 blocks (10 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t2d0s0          0     No               -   Yes
also check the status of your state databases. you might have some replicas on c1t2d0.

Code:
metadb -i

Last edited by tamitot; 2 Weeks Ago at 04:28 AM.. Reason: additional info
  #6 (permalink)  
Old 2 Weeks Ago
mjos mjos is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 7
Code:
w > metadb -i
        flags           first blk       block count
      Wm  p  l          16              8192            /dev/dsk/c1t2d0s7
     a    p  luo        16              8192            /dev/dsk/c1t3d0s7
Is there any way to recover these file-systems.
  #7 (permalink)  
Old 2 Weeks Ago
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,956
who created this filesystems? only one state database per disk... very riky... and the setup of the filesystems is risky, too. if you've no backup of the data i would asume it's gone.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0