|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Quote:
Code:
Reduced frags per cylinder group from 94088 to 94080 to enlarge last cyl group /dev/ad8s1d: 715402.3MB (1465144000 sectors) block size 16384, fragment size 2048 using 3894 cylinder groups of 183.75MB, 11760 blks, 23552 inodes. super-block backups (for fsck -b #) at: |
|
|||
I did it by writing zeros to the entire disk using "dd". It has been a long time, but see the man page for the syntax I have forgotten. Use "if" to be the zero, and "of" to be your disk. There is some info on the smartctl pages somewhere, IIRC. You can even find my posting in the forums, if you like.
|
|
|||
cool =). thanks! That helps alot. what about using badsect to mark the secotor bad? I was reading something in the handbook about bad144.. but it isn't exactly the clearest section of the book =).
|
|
|||
Sorry, I've not tried it. FWIW, when I did this last, FreeBSD was on 5.2 or a 6 beta -- namely, back in the old days. Back then there were no good tools to locate and mark bad sectors. That may well have changed, since this is one thing that comes up if you use a computer disk. I also recall that there were differences between SCSI and IDE drives, though the forced remapping I suggested should work for either.
If you do use that, you start from ground zero with a decent drive (all other things willing). |
|
||||
Newer drives (I guess about 2000 and later) already have spare sectors, if a sector goes bad, it uses a spare sector.
So if bad sectors show up, this means there are already a number of bad sectors, and the number will probably increase exponentially. By the way, there are a number of disk checking tools on the Ultimate boot CD", which may be able to tell you a bit more about the status/health of your disk This is a 750GB drive, which is probably rather new ... Most drives come with 4 or 5 years warranty, did you check if you still have warranty? Quote:
badsect(8) Quote:
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kernel file from 6.3 to 7.2 | l2fl2f | FreeBSD Installation and Upgrading | 3 | 14th September 2009 06:53 PM |
File system not properly dismounted | rex | FreeBSD General | 6 | 12th September 2008 02:45 PM |
File system at more than 100% | michaelrmgreen | FreeBSD General | 4 | 28th July 2008 01:52 PM |
Kernel configuration file ignored? | FWS | FreeBSD Installation and Upgrading | 16 | 26th June 2008 10:28 AM |
Which file system use to share data on Bsd system? | aleunix | Other BSD and UNIX/UNIX-like | 2 | 1st June 2008 04:14 PM |