Home
About this site:
Disclaimer
Change your settings,
Setup
links to other sites on this server:
Birds
Insects
Edimax mod
Webserver on Edimax
Mailserver on Edimax
links to other sites:
Tranquil PC
Ubuntu Linix kernels
Put Linux on a memory stick
grub2 manuals in progress

13. create logical volumes

Configure logical volumes

First edit the file logical-volumes.sh to your needs. Its format is the same as fstab, however a column size is added.

In the example swap, boot and root are already there. You may alter the size.
Var cannot be created here: when mounted after reboot, it would hide /var/lock and alike, that would prevent the system to work. You have to do that later, and create lock etc. immediately.

Be sure to create not more logical disk space than you can spend from mirrired disk space at this moment. (you may not have inserted all disks).
You can increase logical volumes later, as well as add new ones !

Create logical volumes

Run the script 3.create_logical_volumes.sh from a root terminal.

Check the results with the following commands:

Want a separated /var partition ?

If you want a large root fileystem with all your data on it, you entered a large number in variables.sh, and you're fine. Skip the rest of this paragraph.

If you want a small root filesystem with a large separated (mounted) /var filesystem, then:

Create extra logical volumes

And some more ...

Maybe you want some more partitions to prevent the rest of the system from flooding with this data.

Candidates are:

Just do as described before.

You might want to do this later, when all mirrored devices are included into the volume group. Then you have some more space. You have also more partitions, allowing you to divide the data over more md's (stripes) for better perfomance.


For remarks about this page, click here email: philip@van.geens.nl