[OpenAFS] OpenAFS and LVM2
Tue, 1 Nov 2005 18:12:09 +0100 (CET)
On Tue, 1 Nov 2005, Mike Bydalek wrote:
> I did some looking around, and the only references I can find regarding LVM
> and OpenAFS are over a year old, hence this e-mail. Basically, I've setup a
> /vicepa partition using LVM2 and ext2. Well, we're out of space and I'm
> wondering if anyone knows how well OpenAFS handles LVM?
I do not see any problem with that configuration. LVM is transparent to
the ext2-filesystem above it and AFS doesn't do any nasty things with
the filesystem anymore.
> From what I can see, the thing to do would be to shutdown the bos server,
> extend the partition using lvm and ext2, and then just bring the server back
> up. Will OpenAFS correctly recognize the volume size changes and not freak
> out in any way?
Yes. Shutdown of all afs-related services is recommended
bos -shutdown -all
lvresize /dev/$vg/$lv +$numG
e2fsck -f /dev/$vg/$lv
bos restart -all (or something like that)
Good Luck. In doubt, make a backup before.
Chris Huebsch www.huebsch-gemacht.de | TU Chemnitz, Informatik, RNVS
GPG-Encrypted mail welcome! ID:7F2B4DBA | Str. d. Nationen 62, B204
Chemnitzer Linux-Tage 2006, 4.-5.Maerz | D-09107 Chemnitz
http://chemnitzer.linux-tage.de/ | +49 371 531-1377, Fax -1803