solaris error BAD SUPER BLOCK


 
Thread Tools Search this Thread
Operating Systems Solaris solaris error BAD SUPER BLOCK
# 1  
Old 08-13-2007
solaris error BAD SUPER BLOCK

I want mount a disk. I have this error. I'm trying to correct with the superblock but i have the same error. Look my procedure.

bash-2.03# fsck -F ufs /dev/rdsk/c0t1d0s0
Alternate super block location: 9423392.
** /dev/rdsk/c0t1d0s0
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;


bash-2.03# newfs -N /dev/rdsk/c0t1d0s0
/dev/rdsk/c0t1d0s0: 17682084 sectors in 4924 cylinders of 27 tracks, 133 sectors
8633.8MB in 308 cyl groups (16 c/g, 28.05MB/g, 3392 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 57632, 115232, 172832, 230432, 288032, 345632, 403232, 460832, 518432,
576032, 633632, 691232, 748832, 806432, 864032, 921632, 979232, 1036832,

bash-2.03# fsck -F ufs -o b=32 /dev/rdsk/c0t1d0s0
Alternate super block location: 32.
** /dev/rdsk/c0t1d0s0
BAD SUPER BLOCK: NUMBER OF DIRECTORIES OUT OF RANGE
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
bash-2.03# fsck -F ufs -o b=57632 /dev/rdsk/c0t1d0s0
Alternate super block location: 57632.
** /dev/rdsk/c0t1d0s0
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
bash-2.03# fsck -F ufs -o b=17468960 /dev/rdsk/c0t1d0s0
Alternate super block location: 17468960.
** /dev/rdsk/c0t1d0s0
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
# 2  
Old 08-13-2007
Try with a few more of the superblock copies. I tend not to use the first couple. Then fsck with the fourth or fifth, then one from the middle then one from near the end.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

File System Error: BAD SUPERBLOCK AT BLOCK 16: NUMBER OF DIRECTORIES OUT OF RANGE

Hi All, we are having a file system error in one of our servers. The server failed to boot in usual user mode. Instead boot with single user mode and requesting to run a FSCK manually to repair the corrupted. see the below output. Netra T2000, No Keyboard Copyright 2008 Sun Microsystems,... (5 Replies)
Discussion started by: Buddhike G
5 Replies

2. Filesystems, Disks and Memory

Can't repair super block, bad magic number

Hello all, I have a hard drive that I can't repair. The drive is WD15EARS - Filesystem ext4 ( not 100% sure ) It's used in a Synology DS110j NAS. I try to run fsck -p /dev/sdb on the HD and I get this: Bad magic number in super-block while trying to open /dev/sdb /dev/sdb: The superblock... (4 Replies)
Discussion started by: dallasw1983
4 Replies

3. Filesystems, Disks and Memory

Bad super block: Magic number wrong

Whenever i run, # fsck -F ufs /dev/dsk/c0t0d0s7 The following error prompt out:- ** /dev/dsk/c0t0d0s7 BAD SUPER BLOCK: MAGIC NUMBER WRONG USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; eg. fsck -o b=# where # is the alternate super block. SEE fsck_ufs(1M). ... (3 Replies)
Discussion started by: beginningDBA
3 Replies

4. UNIX for Dummies Questions & Answers

Failed To Read Super Block With Solaris 9

Greetings: I am trying to re-install my system with the Solaris 9 CD. I typed boot cdrom from the OBP, the system restarted and started saying Failed To Read Super Block, and then proceeds to the screen where I was initially before I decided to re-install the OS. My system was working... (0 Replies)
Discussion started by: ogfunsho
0 Replies

5. Solaris

Failed To Read Super Block

Greetings: I am trying to re-install my system with the Solaris 9 CD. I typed boot cdrom from the OBP, the system restarted and started saying Failed To Read Super Block, and then proceeds to the screen where I was initially before I decided to re-install the OS. My system was working... (4 Replies)
Discussion started by: ogfunsho
4 Replies

6. Filesystems, Disks and Memory

Bad Super Block: Magic Number Wrong

I had a power outage a day ago and when the power came back on my FreeBSD 4.6 webserver had problems. It said it was unable to mount /var and made me start in single user mode and said to run fsck MANUALY. So i did and this is now what i get. www# fsck /dev/ad0s1e ** /dev/ad0s1e BAD SUPER... (4 Replies)
Discussion started by: matthewbane
4 Replies

7. HP-UX

BAD SUPER BLOCK - Run fsck with alternate super block number

Error received when I tried to restore a blank disk with an 'auto recovery' DDS tape via HP-UX recovery system 2.0 onto a 1Gb SCSI. I assumed it would do the setup, wrong. Could someone tell me the procedure to initial disk for recovering files using cpio. The system is a HP-UX 9.04 version on a... (1 Reply)
Discussion started by: admin wanabee
1 Replies

8. Filesystems, Disks and Memory

mounting an fs with bad block??

hi, one of my filesystem (HP 9000, hpux 10.??, HFS) has an bad block which could not be fixed by fsck. is there anybody with an idea how to mount it (in hpux 10 the mount command doesnt have the -f option ). or even how to modify the superblock (master directory block) ??!!?? (fs_clean... (5 Replies)
Discussion started by: dummix
5 Replies

9. UNIX for Dummies Questions & Answers

Bad magic number in super-block

I am running mandrake 8.2 and when booting I get the message: e2fschk: Bad magic number in super-block while trying to open /dev/hda8. The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and really contains a valid an ext2 filesystem (and... (1 Reply)
Discussion started by: Jay
1 Replies

10. UNIX for Dummies Questions & Answers

incorrect super block FreeBSD

working with FreeBSD 4.5 trying to mount my floppy like i did in red hat like $mount /dev/fd0 /mnt/floppy but i get the answer :incorrect super block i thought maybe it needs format: $fdformat /dev/rfd0.1440 still doesn't work and the man pages and the site of FreeBSD don't really help me :(... (2 Replies)
Discussion started by: termiEEE
2 Replies
Login or Register to Ask a Question