LINUX.ORG.RU

Проверяй свой дистр.

Debian jessie, kernel 3.16.7

$ sudo lvcreate -n lvhomecache -L3.6G vg0
  Rounding up size to full physical extent 3.60 GiB
  Logical volume "lvhomecache" created

$ sudo lvcreate -n lvhomecachemeta -L32M vg0
  Logical volume "lvhomecachemeta" created

$ sudo lvconvert --type cache-pool --cachemode writeback --poolmetadata vg0/lvhomecachemeta vg0/lvhomecache
  WARNING: Converting logical volume vg0/lvhomecache and vg0/lvhomecachemeta to pool's data and metadata volumes.
  THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
Do you really want to convert vg0/lvhomecache and vg0/lvhomecachemeta? [y/n]: y
  Logical volume "lvol0" created
  Converted vg0/lvhomecache to cache pool.

anonymous
()
Ответ на: комментарий от anonymous

Добавил репы, но, вроде, до удаления нельзя было поставить, он много удаляет.

Impact on packages: The following packages would be installed: libgnome-2-0, libgnutls-deb0-28, libgnutls-deb0-28:i386, liblvm2cmd2.02, libperl5.20, libgmp10:i386, libhogweed2:i386, dmeventd, libnettle4:i386, libsystemd0, libgcrypt20

The following packages would be removed: libbonobo2-common, cups-core-drivers, perl, cups-server-common, libpango-perl, libfile-fcntllock-perl, libnet-ssleay-perl, perl-base, hexchat-common, libgnome2-canvas-perl, system-config-lvm, dpkg, dmsetup, libgnome2-perl, libnet-dbus-perl, libperlio-gzip-perl, libcups2, libcups2:i386, cups-daemon, libselinux1, libselinux1:i386, liblist-moreutils-perl, libcupsmime1, cups-client, libcupsimage2, libcupsimage2:i386, fontconfig, libuuid-perl, libgnome2-common, cups, libperl5.18, libtext-charwidth-perl, p11-kit-modules, libnet-libidn-perl, libhtml-parser-perl, hexchat, libnet-dns-perl, perl-modules, libpurple0, libtext-iconv-perl, cups-bsd, libgmp10, libgtk2-perl, libhogweed2, libsub-name-perl, libglib-perl, libapt-pkg-perl, libbonobo2-0, libp11-kit0, libp11-kit0:i386, pidgin-libnotify, libgnome2-vfs-perl, libcupscgi1, libgnome2-0, libsub-identify-perl, liblocale-gettext-perl, libcupsppdc1, libdevmapper1.02.1, libgnome2-bin, libtext-soundex-perl, libnettle4, cli-common, cups-common, libgpg-error0, libgpg-error0:i386, libsocket6-perl, libio-pty-perl, init-system-helpers, libclone-perl, libtasn1-6, libtasn1-6:i386, libsnmp30, libxml-parser-perl, pidgin, libcairo-perl

Dreamject
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.