[OpenAFS] Unmount foreign afs cells
Stefan Nobis
stefan-ml@snobis.de
Sat, 26 Jul 2003 18:08:14 +0200
Hi.
I used a script from Debian to create my afs root volume and that
script automatically mounted every cell from
/etc/openafs/CellServDB.
Here is the part of the perl-script:
open(CELLSERVDB, "/etc/openafs/CellServDB")
or die "Unable to open /etc/openafs/CellServDB: $!\n";
while(<CELLSERVDB>) {
chomp;
if (/^>\s*([a-z0-9_\-.]+)/ ) {
run("fs mkm /afs/$1 root.cell -cell $1 -fast");
unwind ("fs rmm /afs/$1");
}
}
Now i want to get rid of those foreign cells. I tried the command
from the unwind line, but i only get an error:
# fs rmmount /afs/openafs.org
fs: You can not change a backup or readonly volume
So i assume there is a little trick to do it, but i have no idea,
what to do. Any hints?
--
Until the next mail...,
Stefan.