[OpenAFS] Add new device to the cell

Loren M. Lang lorenl@north-winds.org
Wed, 10 Dec 2008 17:17:05 -0800


--=-eDiwtuOqjaJszh7j/ztt
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On Sat, 2008-12-06 at 22:48 +0100, Jesus arteche wrote:
> hey,
>=20
> Someone knows how can i add a new device to the same volumme?, i
> mean... I had /afs/mycell/my_directory...created and mounted
> in /vicepa...and I added a hd in /vicepb...and I want to mount
> IN /afs/mycell/my_directory...so if my 1=C2=BA hd was 90GB and my 2=C2=BA=
 hd is
> 90GB...the result would be /afs/mycell/my_directory 180Gb....


If you want a single 180GB volume, you will have to use the volume
management facilities in your operating system to combine the two
drives.  AFS can't combine volumes/partitions to produce a larger
volume.  Assuming you are using Linux, first use LVM2 to create a volume
group on the second drive with one logical volume in it and format it as
Ext3.  You can then mount it as /vicepb and move volumes from /vicepa.
Once vicepa is empty, you can unmount it and add it to the volume group.
Finally, you can extend the existing logical volume and filesystem to
use all 180GB.  Solaris/ZFS and *BSD/Vinum can do similar volume
management underneath OpenAFS.

>=20
> thanks
--=20
Loren M. Lang
lorenl@north-winds.org
http://www.north-winds.org/


Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A  3FA4 DCEE BB39 7654 DE5B


--=-eDiwtuOqjaJszh7j/ztt
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBJQGoR3O67OXZU3lsRAl0eAJ4ggvPD4VWjY/tPRYont+9mLCvMagCbB5t0
Wyv34L8GmLOqmjW30svpUHo=
=TWD5
-----END PGP SIGNATURE-----

--=-eDiwtuOqjaJszh7j/ztt--