install BIND 9.9.8

Asked by Ernesto Sanchez on 2016-04-11

Hi, my name is Ernesto and i'm trying to install BIND version 9.9.8 because i need to work with DNSSEC extension. When i run make install, i get an error "No space left on device". Please, how can i increase space disk? Thanks and Regards

Question information

English Edit question
marionnet Edit question
No assignee Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Jean-Vincent Loddo (loddo) said : #2

(First answer from Luca Saiu:)
Marionnet virtual machines are nothing more than partition images, which can be mounted as loopback devices on GNU/Linux.
Making a new empty file of the correct size, creating a filesystem over it with mkfs, mounting it and copying the content of an existing image should do the trick.

Notice that "project files" will not be compatible across these "hand-resized" images: they store changed disk blocks, with offsets
relative to the original images.

(Second answer from J-V. Loddo:)
A simpler solution may be to use `dd' to enlarge the virtual disk, then `gparted' to fix the size of the inner partition. For instance:

$ cp /usr/local/share/marionnet/filesystems/machine-guignol-21852 /tmp/

$ du -sh /tmp/machine-guignol-21852
55M /tmp/machine-guignol-21852

$ e2fsck /tmp/machine-guignol-21852
e2fsck 1.42.12 (29-Aug-2014)
/tmp/machine-guignol-21852 : clean, 2021/2464 files, 47453/55624 blocks

$ dd if=/dev/zero bs=1M count=10 >> /tmp/machine-guignol-21852

# (resize2fs may also do the work)
$ sudo gparted /tmp/machine-guignol-21852
# Menu Partition -> Verify
# Apply changes

$ du -sh /tmp/machine-guignol-21852
65M /tmp/machine-guignol-21852

$ e2fsck /tmp/machine-guignol-21852
e2fsck 1.42.12 (29-Aug-2014)
/tmp/machine-guignol-21852 : clean, 2021/3168 fles, 47549/65864 blocks

# Mount the image (in loopback) and install your programs, then continue:

# Change the .conf related file:
$ cp /usr/local/share/marionnet/filesystems/machine-guignol-21852.conf /tmp/

$ stat -c "%Y" /tmp/machine-guignol-21852

$ sum /tmp/machine-guignol-21852
46723 65864

# Fix the name of the image and the related file .conf :
$ rename 's/21852/46723/' /tmp/machine-guignol-21852*

# Fix the modification time (MTIME) of the image (relevant for sharing projects):
$ sed -i -e 's/MTIME=.*/MTIME=1461753434/' /tmp/machine-guignol-46723.conf

# Install both files:
sudo mv /tmp/machine-guignol-46723* /usr/local/share/marionnet/filesystems/
sudo mkdir /usr/local/share/marionnet/filesystems/machine-guignol-46723_variants

Can you help with this problem?

Provide an answer of your own, or ask Ernesto Sanchez for more information if necessary.

To post a message you must log in.