If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
Sometimes the error messages really do help. I think people are so accustomed to them being useless that they barely read them asnymore
From: Bela Lubkin <belal@sco.com> Subject: Re: filesystem help Date: Tue, 29 Jul 2003 08:41:54 GMT References: <1059465779.a3dc9180yousuf@myrealbox.com> Yousuf wrote: > sco cannot mount one of my (critical) filesystems. > running fsck -ofull yields the following: > > Phase 1 - Check Blocks and Sizes > DANGER: Filesystem being checked is larger than the device in which > it is stored (/dev/ru2). The filesystem is 18311029K while the > device is 18303814K. Backup filesystem and recreate as soon as ossible. > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Synchronous Write Log > ** Phase 6 - Check Free List Bitmap > > CANNOT READ: BLK 36615806 > CONTINUE? [yn] n
The block number it's complaining about is in 1/2K blocks. In 1K units, it's at 18307903K into the division. Since the size of the division is 18303814K, naturally `fsck` cannot read data at offset 18307903K. > any tips on how i can recover it? Do what it says: back up the filesystem, recreate it, and restore. To back it up you will need to mount it read-only: mount -r /dev/u2 /u2 Once you've made a verified backup, recreate the filesystem. First make sure it is unmounted. Then run: divvy /dev/u2
Use the "c[reate]" command to remake the filesystem. Then mount it and restore the backup. You may have lost up to about 7MB of files (the difference between the size of the division and the filesystem structure within it). Likely much less, because the filesystem will have started behaving weirdly as soon as you hit the edge of reality. The only way I know of for a filesystem to get misshapen like this is if someone manually ran: mkfs /dev/u2 36622058 # don't do this! This would complain about the size mismatch, unless you also used the "-y" flag to force it. Forcing `mkfs -y` with a miscalculated size is a self-inflicted injury... >Bela<
/Bofcusm/2241.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar