<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>We have a number of
secondary schools which use a RHEL3 pair of servers as their internet
cache.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>Unfortunately the initial
disk allocation has proved to be too small in the /
partition.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT
face=Arial><BR>Filesystem
1K-blocks Used Available Use% Mounted
on<BR>/dev/sda3
10394720 3245996 6620852 33%
/<BR>/dev/sda1
198321 25640 162442 14%
/boot<BR>none
1282636 0
1282636 0%
/dev/shm<BR>/dev/drbd0
62669424 55076 59430904 1%
/data<BR></FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>I recently used gparted to
resize the disks.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>This all seemed to work
fine initially, but now we get errors in /var/log/messages saying the OS is
trying to write off the end of the device.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>I have
:</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>On the standby
server</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007> <FONT face=Arial>#drbdadm
disconnect all</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007> <FONT face=Arial>#mke2fs
/dev/sda2 - reports correct disk allocation</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007> <FONT face=Arial>#drbdadm
connect all - do same on primary node</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007> <FONT face=Arial>#drbdadm
invalidate all</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>Secondary server then
'syncs'</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>Then failover the servers
and re-run on the other standby server.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>After a day of running,
fsck will report </FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>filesystem size (according
to superblock) is xxxxxxxxxxxxxxxxxxx</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>Physical size of device is
yyyyyyyyyyyyyyyyyy</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>quit
<y></FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>I am assuming drbd holds
information about partition size differently to the OS.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>I
tried:</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial># drbdadm resize
all</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial>On both servers but I still
get the same error.</FONT></SPAN></DIV>
<DIV><SPAN class=496382510-21082007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=496382510-21082007><FONT
face=Arial>Regards,</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left>
<P align=left><SPAN lang=en-us><FONT face=Arial>Doug Irvine</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial>Schools' Support</FONT></SPAN> <FONT
face=Arial>Team Leader</FONT></P>
<P><SPAN lang=en-gb><FONT face=Arial>Oxfordshire County Council</FONT></SPAN>
</P>
<P><FONT face=Arial></FONT> </P></DIV>
<DIV> </DIV>
<BR>
Oxfordshire County Council - rated a four-star 'Excellent' council by the Audit Commission<BR>
<BR>
The information in this e-mail, together with any attachments, is confidential. If you have received this message in error you must not print off, copy, use or disclose the contents. The information may be covered by legal and/or professional privilege. Please delete from your system and inform the sender of the error. As an e-mail can be an informal method of communication, the views expressed may be personal to the sender and should not be taken as necessarily representing the views of the Oxfordshire County Council. As e-mails are transmitted over a public network the Oxfordshire County Council cannot accept any responsibility for the accuracy or completeness of this message. It is your responsibility to carry out all necessary virus checks. You should be aware that all emails received and sent by this Council are subject to the Freedom of Information Act 2000 and therefore may be disclosed to other parties under that Act. www.oxfordshire.gov.uk<BR>
</BODY></HTML>