読者です 読者をやめる 読者になる 読者になる

AKAI TSUKI

System development or Technical something

Install lxd in Ubuntu

I executed the command "sudo apt install zfs lxd" in Ubuntu 16.04. But...

lxd is already the newest version (2.0.8-0ubuntu1~ubuntu16.04.2).

ubu@ubuntu16:~$ sudo apt install zfs lxd
[sudo] password for ubu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zfsutils-linux' instead of 'zfs'
lxd is already the newest version (2.0.8-0ubuntu1~ubuntu16.04.2).
The following additional packages will be installed:
  libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-doc zfs-zed
Suggested packages:
  default-mta | mail-transport-agent samba-common-bin nfs-kernel-server zfs-initramfs
The following NEW packages will be installed:
  libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-doc zfs-zed zfsutils-linux
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 896 kB of archives.
After this operation, 2,902 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zfs-doc all 0.6.5.6-0ubuntu15 [49.9 kB]
Get:2 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libuutil1linux amd64 0.6.5.6-0ubuntu15 [27.4 kB]
Get:3 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnvpair1linux amd64 0.6.5.6-0ubuntu15 [23.4 kB]
Get:4 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libzpool2linux amd64 0.6.5.6-0ubuntu15 [384 kB]
Get:5 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libzfs2linux amd64 0.6.5.6-0ubuntu15 [106 kB]
Get:6 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zfsutils-linux amd64 0.6.5.6-0ubuntu15 [276 kB]
Get:7 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zfs-zed amd64 0.6.5.6-0ubuntu15 [29.6 kB]
Fetched 896 kB in 0s (1,683 kB/s)
Selecting previously unselected package zfs-doc.
(Reading database ... 91850 files and directories currently installed.)
Preparing to unpack .../zfs-doc_0.6.5.6-0ubuntu15_all.deb ...
Unpacking zfs-doc (0.6.5.6-0ubuntu15) ...
Selecting previously unselected package libuutil1linux.
Preparing to unpack .../libuutil1linux_0.6.5.6-0ubuntu15_amd64.deb ...
Unpacking libuutil1linux (0.6.5.6-0ubuntu15) ...
Selecting previously unselected package libnvpair1linux.
Preparing to unpack .../libnvpair1linux_0.6.5.6-0ubuntu15_amd64.deb ...
Unpacking libnvpair1linux (0.6.5.6-0ubuntu15) ...
Selecting previously unselected package libzpool2linux.
Preparing to unpack .../libzpool2linux_0.6.5.6-0ubuntu15_amd64.deb ...
Unpacking libzpool2linux (0.6.5.6-0ubuntu15) ...
Selecting previously unselected package libzfs2linux.
Preparing to unpack .../libzfs2linux_0.6.5.6-0ubuntu15_amd64.deb ...
Unpacking libzfs2linux (0.6.5.6-0ubuntu15) ...
Selecting previously unselected package zfsutils-linux.
Preparing to unpack .../zfsutils-linux_0.6.5.6-0ubuntu15_amd64.deb ...
Unpacking zfsutils-linux (0.6.5.6-0ubuntu15) ...
Selecting previously unselected package zfs-zed.
Preparing to unpack .../zfs-zed_0.6.5.6-0ubuntu15_amd64.deb ...
Unpacking zfs-zed (0.6.5.6-0ubuntu15) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for initramfs-tools (0.122ubuntu8.7) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-57-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu13) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up zfs-doc (0.6.5.6-0ubuntu15) ...
Setting up libuutil1linux (0.6.5.6-0ubuntu15) ...
Setting up libnvpair1linux (0.6.5.6-0ubuntu15) ...
Setting up libzpool2linux (0.6.5.6-0ubuntu15) ...
Setting up libzfs2linux (0.6.5.6-0ubuntu15) ...
Setting up zfsutils-linux (0.6.5.6-0ubuntu15) ...
zfs-import-cache.service is a disabled or a static unit, not starting it.
zfs-import-scan.service is a disabled or a static unit, not starting it.
zfs-mount.service is a disabled or a static unit, not starting it.
Processing triggers for initramfs-tools (0.122ubuntu8.7) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-57-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Setting up zfs-zed (0.6.5.6-0ubuntu15) ...
zed.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for systemd (229-4ubuntu13) ...
Processing triggers for ureadahead (0.100.0-19) ...
ubu@ubuntu16:~$

ubu@ubuntu16:~$ id
uid=1000(ubu) gid=1000(ubu) groups=1000(ubu),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd),115(lpadmin),116(sambashare)
ubu@ubuntu16:~$ newgrp lxd
ubu@ubuntu16:~$ id
uid=1000(ubu) gid=110(lxd) groups=110(lxd),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),115(lpadmin),116(sambashare),1000(ubu)
ubu@ubuntu16:~$

ubu@ubuntu16:~$ lxd --version
2.0.8
ubu@ubuntu16:~$ lxc --version
2.0.8
ubu@ubuntu16:~$