02-16-2008
Can't mount showing 0506-342 The superblock on /dev/fslv00 is dirty
Dear All
Last day in Aix 5.2 server by executing
# df –g
I found following:
Filesystem GB blocks Free %Used Iused %Iused Mounted on
.
.
/dev/fslv00 58.00 136.70 -135% 212103 1% /sprod
After shutting down by following command
# shutdown –h
And when the Aix start there is no /sprod
# df –g
result not showing /sprod
!!! I tried to mount it by
# mount /sprod
and found
Replaying log for /dev/fslv00.
Failure replaying log: -1
mount: 0506-324 Cannot mount /dev/fslv00 on /sprod: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/fslv00 is dirty. Run a full fsck to fix.
Then tried
# fsck
Results like following …
The current volume is: /dev/hd1
File system is currently mounted.
fsck: Performing read-only processing does not produce dependable results.
**Phase 1 - Check Blocks, Files/Directories, and Directory Entries
**Phase 2 - Count links
**Phase 3 - Duplicate Block Rescan and Directory Connectedness
**Phase 4 - Report Problems
**Phase 7 - Verify File/Directory Allocation Maps
File system inode map is corrupt (NOT FIXED)
**Phase 8 - Verify Disk Allocation Maps
2555904 kilobytes total disk space.
1774 kilobytes in 533 directories.
2484237 kilobytes in 21467 user files.
68288 kilobytes are available for use.
fsck: Performing read-only processing does not produce dependable results.
And also tried with #fsck –p /sprod and fsck -p /dev/fslv00 and also # fsck -y /sprod and fsck -y /dev/fslv00
but still faild.
Then I tried to replace the first super block by second super block using
dd count=1 bs=4k skip=1 seek=31 if=/dev/fslv00 of=/dev/fslv00
But still failed to mount the /sprod and getting same error as before
Failure replaying log: -1
mount: 0506-324 Cannot mount /dev/fslv00 on /sprod: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/fslv00 is dirty. Run a full fsck to fix.
Please help me. Is there any way I can mount the /sprod directory or at least is there any data recovery software or what ever by using which I can recover those data from that directory?
10 More Discussions You Might Find Interesting
1. Solaris
I've searched through unix.com and google for this issue I am having on one particular Sun E280R with installing netbackup software from CD. I know the cd is good because i installed the software on 4 other servers right before this one.
This is the issue I am seeing. vold does not mount the CD... (2 Replies)
Discussion started by: dangral
2 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. Filesystems, Disks and Memory
Hi, I'm trying to mount a usb drive but the path /dev/sda1 does not show up under /dev when I plug in the usb device.
In fact I see no differences under /dev before and after I plugin my usb drive.
Any ideas why the system is not recognizing the usb drive and how to fix?
This is on a... (3 Replies)
Discussion started by: orahi001
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
May I know the meaning of the following command
mount /dev/dsk/c1t0d0s3 /mnt
Will I be able to use my tape drive after that?
Thanks (3 Replies)
Discussion started by: rahmantanko
3 Replies
5. UNIX for Advanced & Expert Users
Good morning!
I met a problem on a FS with AIX 5.3
It's not possible to mount the FS because of a dirty superblock.
I tried few things without success. I need your help to solve my problem guys. Do you have any idea please?
Thanks a lot
drp01,/home/root # mount /GSPRES/data
Replaying... (9 Replies)
Discussion started by: Castelior
9 Replies
6. Red Hat
on RHEL 5.3 i did
mount -o remount,rw /dev/hda8 ( this is /tmp directory )
now OS not coming up.
How to resolve ??
---------- Post updated at 04:57 PM ---------- Previous update was at 03:36 PM ----------
one of my friend told me that you have changed sticky bit permissions on /tmp... (6 Replies)
Discussion started by: rehantayyab82
6 Replies
7. AIX
Hi guys,
I'm an IT student from France, I'm not very fluent in english.
I have do make an virtual bootable system backup disk.
mkcd to /dev/cd1, the cd1 is served by the VIOS with a virtual blank disk
I've all ready create the virtual cd drive with mkvdev -fbo
I can see my drive with my... (0 Replies)
Discussion started by: Tharsan
0 Replies
8. AIX
Dear all
First of all, my English not so good.
We have p52a (production server) and p52a (test server). Tape drives are VXA2.
When both servers were AIX 5.3, mksysb on production server and restoring to test server was OK.
The production server was AIX 5.3 and recently upgraded to... (3 Replies)
Discussion started by: fifa15pc
3 Replies
9. Linux
I have a failed 160 GB Western Digital Netcenter NAS disk and its image after failing in .DSK format.
When I connect the disk to my ubuntu machine and typed:
# losetup -o 512006144 /dev/loop1 /dev/sdc
# mkdir /tmp/sdc
# mount -r -t reiserfs /dev/loop1 /tmp/sdc
I get my folders and... (0 Replies)
Discussion started by: jalil1408
0 Replies
10. Red Hat
Hi Friends . my linux try to start very slowly after give it this error:
mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_root,
missing codepage or helper program, or other error
in some cases useful info is found in syslog - try
dmesg : tail or so
Kernel panic... (3 Replies)
Discussion started by: blackjuan
3 Replies
vfstab(4) File Formats vfstab(4)
NAME
vfstab - table of file system defaults
DESCRIPTION
The file /etc/vfstab describes defaults for each file system. The information is stored in a table with the following column headings:
device device mount FS fsck mount mount
to mount to fsck point type pass at boot options
The fields in the table are space-separated and show the resource name (device to mount), the raw device to fsck (device to fsck), the
default mount directory (mount point), the name of the file system type (FS type), the number used by fsck to decide whether to check the
file system automatically (fsck pass), whether the file system should be mounted automatically by mountall (mount at boot), and the file
system mount options (mount options). (See respective mount file system man page below in SEE ALSO for mount options.) A '-' is used to
indicate no entry in a field. This may be used when a field does not apply to the resource being mounted.
The getvfsent(3C) family of routines is used to read and write to /etc/vfstab.
/etc/vfstab can be used to specify swap areas. An entry so specified, (which can be a file or a device), will automatically be added as a
swap area by the /sbin/swapadd script when the system boots. To specify a swap area, the device-to-mount field contains the name of the
swap file or device, the FS-type is "swap", mount-at-boot is "no" and all other fields have no entry.
EXAMPLES
The following are vfstab entries for various file system types supported in the Solaris operating environment.
Example 1: NFS and UFS Mounts
The following entry invokes NFS to automatically mount the directory /usr/local of the server example1 on the client's /usr/local directory
with read-only permission:
example1:/usr/local - /usr/local nfs - yes ro
The following example assumes a small departmental mail setup, in which clients mount /var/mail from a server mailsvr. The following entry
would be listed in each client's vfstab:
mailsvr:/var/mail - /var/mail nfs - yes intr,bg
The following is an example for a UFS file system in which logging is enabled:
/dev/dsk/c2t10d0s0 /dev/rdsk/c2t10d0s0 /export/local ufs 3 yes logging
See mount_nfs(1M) for a description of NFS mount options and mount_ufs(1M) for a description of UFS options.
Example 2: pcfs Mounts
The following example mounts a pcfs file system on a fixed hard disk on an x86 machine:
/dev/dsk/c1t2d0p0:c - /win98 pcfs - yes -
The example below mounts a Jaz drive on a SPARC machine. Normally, the volume management daemon (see vold(1M)) handles mounting of remov-
able media, obviating a vfstab entry. If you choose to specify a device that supports removable media in vfstab, be sure to set the mount-
at-boot field to no, as below. Such an entry presumes you are not running vold.
/dev/dsk/c1t2d0s2:c - /jaz pcfs - no -
For removable media on a SPARC machine, the convention for the slice portion of the disk identifier is to specify s2, which stands for the
entire medium.
For pcfs file systems on x86 machines, note that the disk identifier uses a p (p0) and a logical drive (c, in the /win98 example above) for
a pcfs logical drive. See mount_pcfs(1M) for syntax for pcfs logical drives and for pcfs-specific mount options.
Example 3: CacheFS Mount
Below is an example for a CacheFS file system. Because of the length of this entry and the fact that vfstab entries cannot be continued to
a second line, the vfstab fields are presented here in a vertical format. In re-creating such an entry in your own vfstab, you would enter
values as you would for any vfstab entry, on a single line.
device to mount: svr1:/export/abc
device to fsck: /usr/abc
mount point: /opt/cache
FS type: cachefs
fsck pass: 7
mount at boot: yes
mount options:
local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache
See mount_cachefs(1M) for CacheFS-specific mount options.
Example 4: Loopback File System Mount
The following is an example of mounting a loopback (lofs) file system:
/export/test - /opt/test lofs - yes -
See lofs(7FS) for an overview of the loopback file system.
SEE ALSO
fsck(1M), mount(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M), mount_tmpfs(1M), mount_ufs(1M), swap(1M), getvfsent(3C)
System Administration Guide: Basic Administration
SunOS 5.10 21 Jun 2001 vfstab(4)