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

Our present OpenBSD server needed more disk space, so we replaced the 13 GB disk (it's pretty old too) with 150GB. An image was made and then restored on the new disk. So far, so good. The new disk has a 13GB OpenBSD partition, it boots and works as before.

Next order of business: use the other 135 GB. With fdisk I can see it's there and I can change the file type (originally Extended LBA and it's back to that). But using df it doesn't show the new space. I had a look at fdisk and disklabel but I can't figure out what to do to make the space available.

share|improve this question

It turned out I needed to use disklabel to make it look at the proper size of the disk, as it still was looking at the old parameters it got in the image and therefore saw a 13GB disk. The chosen filesystem is OpenBSD (added this for completeness sake).

share|improve this answer

The correct procedure is make a new disk-partition and copy files using cpio.

Read the fdisk and disklabel.

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.