[OpenAFS] Resizing an ext2-partition on linux

Derek Atkins warlord@MIT.EDU
Mon, 20 Nov 2006 09:43:47 -0500

Kai Moritz <kai.m.moritz@gmx.de> writes:

> Anyway, ext3 would not solve my problem. I have to check the 
> vice-partition by hand (via "fsck.ext2 -f"), because resize2fs forces me 
> to do so (otherwise it refuses to resize the partition, because the 
> possibility of data-loss).
> So, that's my plan:
> - stop the openafs-fileserver
> - unmount the vice-partition
> - check it via linux-fsck
> - enlarge the partition
> - resize it with resize2fs
> - mount it again
> - restart the openafs-fileserver
> That's exactly the same, like what I do with a normal partition (expect 
> stop/start openafs-fileserver).
> Is that the correct way? Or are there any special openafs-things that I 
> should do additionally?!

Yes, this is exactly what you should do.

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available