Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195647

Re: LVM setup with snapshots

From Eduardo M KALINOWSKI <eduardo@kalinowski.com.br>
Newsgroups linux.debian.user
Subject Re: LVM setup with snapshots
Date 2018-05-12 13:40 +0200
Message-ID <vOB2x-4MI-1@gated-at.bofh.it> (permalink)
References <vO3ax-71A-1@gated-at.bofh.it> <vOaF3-44X-1@gated-at.bofh.it> <vOfbH-7md-7@gated-at.bofh.it> <vOlqO-2Ho-3@gated-at.bofh.it> <vOr3b-60A-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11-05-2018 21:46, Forest Dean Feighner wrote:
> I really didn't prepare for lvm. I never used lvm before this so had
> no idea of lvm before.
>
> Snapshots sound like an awesome idea.
>
> I would like to do a configured base install, create a snapshot, and
> modify (fork), the base for different things.
>
> With 20/20 hindsight. The default doesn't seem to have room. What are
> different solutions other debian/lvm users have used?

You can shrink most kinds of partitions (including ext4), and then
shrink the logical volumes (in this order). It's not as convenient as
growing the LVs since the partitions must not be mounted and shrinking
can be somewhat slow if data needs to be shuffled around, but it's possible.

As always, there's a small risk of data loss, so better have a backup of
important data.

-- 

She is descended from a long line that her mother listened to.
		-- Gypsy Rose Lee

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

LVM setup with snapshots Forest Dean Feighner <forest.feighner@gmail.com> - 2018-05-11 01:30 +0200
  Re: LVM setup with snapshots Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-11 09:30 +0200
    Re: LVM setup with snapshots Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-11 14:20 +0200
      Re: LVM setup with snapshots Forest Dean Feighner <forest.feighner@gmail.com> - 2018-05-11 21:00 +0200
        Re: LVM setup with snapshots Forest Dean Feighner <forest.feighner@gmail.com> - 2018-05-12 03:00 +0200
          Re: LVM setup with snapshots Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2018-05-12 13:40 +0200

csiph-web