[OpenAFS] Add new device to the cell
Loren M. Lang
Wed, 10 Dec 2008 17:17:05 -0800
Content-Type: text/plain; charset=utf-8
On Sat, 2008-12-06 at 22:48 +0100, Jesus arteche wrote:
> 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=
> 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.
Loren M. Lang
Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A 3FA4 DCEE BB39 7654 DE5B
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)
-----END PGP SIGNATURE-----