Help : Can't open /dev/rdsk/c0t0d0s7

Hello,

I have a Sun Blade 150, with SunOS 5.8.

And I had a problem with my disk, and now when I reboot it says:

(...)

/dev/dsk/c0t0d0s1: I/O error

The system is coming up. Please wait.

checking ufs filesystems

/dev/rdsk/c0t0d0s7: I/O error

Can't open /dev/rdsk/c0t0d0s7

/dev/rdsk/c0t0d0s7: CAN'T CHECK FILE SYSTEM.

/dev/rdsk/c0t0d0s7: 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.

(...)

When I run FSCK I checks /dev/rdsk/c0t0d0s0 OK, and then say's Can't open /dev/rdsk/c0t0d0s7.

I don't have any backup of this, is there a way to fix this?

Thanks,

JS

[818 byte] By [JulioSilvaa] at [2007-11-26 16:12:25]
# 1
Has anything changed? Does the system even come up to single user mode? If not you might need to boot cdrom to get the below info.Post the output of a "prtvtoc /dev/dsk/c0t0d0s2" and the output of /etc/vfstab.
Lee_McCreerya at 2007-7-8 22:35:03 > top of Java-index,Storage Forums,Storage General Discussion...
# 2

Hello,

It first happened this: http://forum.java.sun.com/post!reply.jspa?messageID=9460392

Then I use the SunOS install CD to use format to get the label backup, and now the system boots-up, and shows that errors.

Its only missing the SWAP (c0t0d0s1 and c0t0d0s7).

/etc/tab:

fd - /dev/fd fd - no -

/proc - /proc proc - no -

/dev/dsk/c0t0d0s1 - - swap - no -

/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no logging

/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 yes logging

swap - /tmp tmpfs - yes -

prtvtoc /dev/dsk/c0t0d0s2:

dimensions

512 bytes/sec

255 sect/track

16 tracks/cyl

4080 sect/cyl

38309 cyl

38307acessible cylinders

flags:

1:unmountable

10: read-only

partition tag flags first sector "sector count" "last sector" mount directory

0 0 00 0 156292560 156292559

2 5 01 0 156292560 156292559

Thanks,

JS

JulioSilvaa at 2007-7-8 22:35:03 > top of Java-index,Storage Forums,Storage General Discussion...
# 3

I have other equal PC, with the same configuration, and the prtvtoc command has more partitions, has :

0 2 000 1638528016385279 /

1 3 01 16385280 105264017437919

2 5 000 156292560 156292559

4 0 00 17437920 1638528033823199

7 8 00 33823200 122469360 156292559 /export/home

How can I put the same on the bad PC?

Thanks,

JS

JulioSilvaa at 2007-7-8 22:35:03 > top of Java-index,Storage Forums,Storage General Discussion...
# 4

I've copied the partition table with format command, and now I can acess the disk.

The only problem I have now, is when starting graphical openwindows, the screen blanks, and logs out, back to login prompt

How can I fix this?

Thanks,

JS

Message was edited by:

JulioSilva

JulioSilvaa at 2007-7-8 22:35:03 > top of Java-index,Storage Forums,Storage General Discussion...
# 5
Is this with GNOME or CDE?
Lee_McCreerya at 2007-7-8 22:35:03 > top of Java-index,Storage Forums,Storage General Discussion...
# 6
HelloThe problem was solved...All I need was to connect the mouse!! :)Thanks anyway,JS
JulioSilvaa at 2007-7-8 22:35:03 > top of Java-index,Storage Forums,Storage General Discussion...