-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Rosenstrauch wrote: > Kurt B Cox wrote: >> I too have a server running with a LVM2 setup. >> >> My advice is put a 2G / on a real partition not an LVM2 partition. It >> makes maintenance and recovery much easier in case of trouble. > > I agree. I use a similar setup, and it works quite nicely. Only > correction I'd offer though is to not put the full /var tree onto a > logical volume (for the maintenance and recovery reasons you listed). > IIRC, there are elements of the system and/or certain daemons that > require /var to function. So with /var on a regular partition, if > something gets messed up with LVM, you'll still be able to run your machine. > > What I do instead is just put individual large sub-dirs (such as > /var/cache/pacman) onto their own LV's. > > DR
I agree. I almost forgot that I had run into problems with sshd, LVM and sudo. but an easy work-around is to use an "empty" /var located on the / partition. I only has the /var folder structure but not the contents, then mount the real /var on an LVM2 partition over it.... or as you put it, migrate sub-folders of /var to LVM if they grow too big... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRUr8msvODX+91FTAAQIhlAf9G8u4yXh1iDl+rRCXu3AFINk0FKv8vuZl YBoOFJwBeQWzCDPd+C+ahDwjWPzCLZCWDg1YfGKcdCGdv7Pu+qZuCOYsOJ1EyDTz QSqDoPZ6DnErXMu+HEYQPIFsGftbVxn5BXlxHu57t3dTOeaJZ6IJi36bpGEj7vNL +wngGBcYSEQTFDFZDQkhmjN7j4u/H+T200+eUhlwxoEbbEhDBwbZmcWuxNqzIMtu 7rMgNPkALE2sheL0vCn5diE1wsBVjxdRCfTU06jmYK6aySQo2nI/HqgNlbIi7jvr CP7djbB36heG9f0y9noBKtVyzfVYszeqwBvHKp+jULgXpn/t9AFIuA== =txz2 -----END PGP SIGNATURE----- _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
