07-08-2013
what is the output from file data-file as well as strings data-file? if neither of these commands are able to read the file, there is a very high probability that your file is corrupted since disk and filesystem corruption "has already been" ruled out ...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a doubt with an error message, and i want to be sure if this is a normal situation or not.
Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a Linux - Mandrake box at home that run as a web server and a Internet router. So often to the system after reboot that it come has the messages saying that the hda1 (I think is the root file system) has some inconsitencies and some inodes has to be removed. When the drive is fixed,... (2 Replies)
Discussion started by: vtran4270
2 Replies
3. AIX
Dear All,
I am working on AIX 5.2, and I have allocated 3072M disk space to /home filesystem. Now system has no free space at /home filesystem. But when I checked data on /home, I have only 900M data. Please if anybody can tell me about this difference and how this can be resolved.
Thank You.... (9 Replies)
Discussion started by: system-admin
9 Replies
4. Solaris
How to Check the disk error (both hard disk & DVD Rom) In Sun Netra 20 Server..Pls help (2 Replies)
Discussion started by: gini
2 Replies
5. Solaris
I want to image solaris 8 with flarcreate like ghost in windows. the error come like errno 28, No space left?
this is error message
absapp@nepalabs1 # flarcreate -n "sol8utl" -S -R / -x /var/tmp /var/tmp/s8.utl.061222
Determining which filesystems will be included in the archive...
Creating... (15 Replies)
Discussion started by: 197oo302
15 Replies
6. AIX
Hi to all,
Hope you can help me to figure out this problem that I have with one of our servers. I get disk errors but I cannot explain the reason why it is happening. Below is the error: Thanks in advance. By the way were using NETAPPS data storage and using 5.3 O.S version.
LABEL: ... (1 Reply)
Discussion started by: cabloy
1 Replies
7. Solaris
I received a new error that I have not seen before on my Solaris 10 server last night:
From /var/adm/messages
Jan 8 04:59:26 nediaccomp005j scsi: /pci@780/pci@0/pci@9/scsi@0 (mpt0):
Jan 8 04:59:26 nediaccomp005j Log info 31010000c received for target 1.
Jan 8 04:59:26 nediaccomp005j ... (4 Replies)
Discussion started by: FredSmith
4 Replies
8. Solaris
Hi,
I have a production solaris 10 SPARC system (portal). Yesterday legato/Networker gave an I/O Error on one of the files on its SAN mounted disk.
I went to that particular file on the system, did an ls and it showed the file. However, ls -l did not work and it said IO error.
... (6 Replies)
Discussion started by: Mack1982
6 Replies
9. Solaris
Hi Guys,
Wondering if anyone has seen/has a fix for this, when i try boot my system from CDROM at the solaris/ttya/ttyb selection menu i get stuck in a loop:
kernel$ /boot/multiboot kernel/$isadir/unix -B install_media=cdrom,console=ttya
loading "/boot/multiboot kernel/$isadir/unix -B... (0 Replies)
Discussion started by: A-Train
0 Replies
10. Solaris
Hello,
We are running solaris 8 and there is a disk having problem with consistency
The following devices (soft partitions from NetApp are inconsistent, unable to be repaired with fsck and need to be restored:
root@server1 # df -k
Filesystem kbytes used ... (4 Replies)
Discussion started by: gull05
4 Replies
LEARN ABOUT REDHAT
e2image
E2IMAGE(8) System Manager's Manual E2IMAGE(8)
NAME
e2image - Save critical ext2 filesystem data to a file
SYNOPSIS
e2image [ -r ] device image-file
DESCRIPTION
The e2image program will save critical filesystem data on the ext2 filesystem located on device to a file specified by image-file. The
image file may be examined by dumpe2fs and debugfs, by using the -i option to those programs. This can be used by an expert in assisting
the recovery of catastrophically corrupted filesystems. In the future, e2fsck will be enhanced to be able to use the image file to help
recover a badly damaged filesystem.
If image-file is -, then the output of e2image will be sent to standard output.
The -r option will create a raw image file instead of a normal image file. A raw image file differs from a normal image file in two ways.
First, the filesystem metadata is placed in the proper position so that e2fsck, dumpe2fs, debugfs, etc. can be run directly on the raw
image file. In order to minimize the amount of disk space consumed by a raw image file, the file is created as a sparse file. (Beware of
copying or compressing/decompressing this file with utilities that don't understand how to create sparse files; the file will become as
large as the filesystem itself!) Secondly, the raw image file also includes indirect blocks and data blocks, which the current image file
does not have, although this may change in the future.
It is a very good idea to periodically (at boot time and every week or so) to create image files for all of filesystems on a system, as
well as saving the partition layout (which can be generated using the using fdisk -l command). Ideally the image file should be stored on
some filesystem other that the filesystem whose data it contains, to ensure that its data is accessible in the case where the filesystem
has been badly damaged.
To save disk space, e2image creates the image file as a sparse file. Hence, if the image file needs to be copied to another location, it
should either be compressed first or copied using the --sparse=always option to GNU version of cp.
The size of an ext2 image file depends primarily on the size of the filesystems and how many inodes are in use. For a typical 10 gigabyte
filesystem, with 200,000 inodes in use out of 1.2 million inodes, the image file be approximately 35 megabytes; a 4 gigabyte filesystem
with 15,000 inodes in use out of 550,000 inodes will result in a 3 megabyte image file. Image files tend to be quite compressible; an
image file taking up 32 megabytes of space on disk will generally compress down to 3 or 4 megabytes.
AUTHOR
e2image was written by Theodore Ts'o (tytso@mit.edu).
AVAILABILITY
e2image is part of the e2fsprogs package and is available from anonymous http://e2fsprogs.sourceforge.net.
SEE ALSO
dumpe2fs(8), debugfs(8)
E2fsprogs version 1.32 November 2002 E2IMAGE(8)