Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have FreeBSD 8.3, two HDD drive.

1 HDD /var partition 80GB 2 HDD /var partition 300Mb

How they can be combined into single /var partition like Linux LVM?

share|improve this question
Are you sure that this is worth the effort (as in increasing from 80GB to 80,3GB)? Why not just copy the contents of the 300MB slice into the 80GB slice? – pauska Aug 1 '11 at 8:37
up vote 1 down vote accepted

If you just want the existing contents of the two to appear together, you could use a union mount. This overlays one mountpoint on another and shows you the files from both. Updates/changes are recorded against the mounted filesystem, so you'd want to mount the 80GB partition onto the 300MB one. Check out the union option to mount (it's in the manpage).

If you want to combine the two into a 80.3GB usable partition (and reformat in the process) you could join the two together using gconcat which takes two (or more) partitions/disks and presents them as one disk. You'd then partition and mount this disk as /var. The geom(8) and gconcat(8) manpages are required reading if you're going to do this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.