New instalation

erastus@connect

Verified User
Joined
Jun 1, 2013
Messages
36
I am redoing one server after a D crash.

It ran through all scripts etc up to :

2013-07-19 13:27:52 (35.9 MB/s) - `/var/named/named.local' saved [433/433]

All Checks have passed, continuing with install...
Setting hostname to `ns1.connect-at.net'
Checking quotas...
done

when I do a top it still shows quotacheck.

Is this normal?
 
Got all working except for the super block sizes.

I know this is not DA problem.
However can any body help me. When I do a fsck on /dev/md0 ( raid1) I get:

fsck -v /dev/md0
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)


/dev/md0: recovering journal
The filesystem size (according to the superblock) is 604360128 blocks
The physical size of the device is 604360000 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes


I tried fsck but am to dumb for it.

How can I get the re-size the super block to 604360000 where the volume size currently is 604360128.?

Can any one help me?
 
Had to do a bit of digging and the command is:

resize2fs -f /dev/mdo

It re-sized the /dev/md0 to the same file size of the HD.
I then ran a fsck es voila.

Be careful it can destroy some or all data.

Had to scratch a bit to my early kernel development days
 
Back
Top