Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.

http://www.openbsd.org/faq/faq14.html

share|improve this answer

Your Answer

 
discard

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.