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


Groups > linux.debian.user > #229911

Re: adding a disk to a Volume group

From elvis <elvis@dogonfire.com>
Newsgroups linux.debian.user
Subject Re: adding a disk to a Volume group
Date 2020-12-22 13:30 +0100
Message-ID <BoOXE-4SE-13@gated-at.bofh.it> (permalink)
References <BocfD-6cI-9@gated-at.bofh.it> <BocfD-6cI-7@gated-at.bofh.it> <BodEK-6UW-11@gated-at.bofh.it> <BoOXE-4SE-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 21/12/20 4:27 pm, mick crane wrote:
> On 2020-12-20 20:38, Charles Curley wrote:
>> On Sun, 20 Dec 2020 19:05:45 +0000
>> mick crane <mick.crane@gmail.com> wrote:
>>
>>> It's a more or less new bullseye installation.
>>> The installer kindly set up a Volume Group and added Logical Volumes
>>> of a couple of the partitions on the disk with the OS on it.
>>> I want to add another disk to use for data.
>>
>> A couple of thoughts here.
>>
>> * Are you adding the new disk permanently or as removable media?
>>
>>   If the latter, put a separate VG on it. Or don't bother. The reason I
>>   suggest this is if the new disk is removable, having the same VG span
>>   both disks may make the permanent disk unusable if the removable one
>>   is gone.
>>
>>   If it is permanent, consider redoing both of them as a RAID level
>>   1, with encryption and LVM on top of that. Be sure to leave a boot
>>   partition on at least one of them.
>>
>> * You said nothing about encryption. That may impact the order in which
>>   you do things.
>
> From what I can gather there's not much point adding new disk to the 
> LVM if I'm going to use the whole disk as one partition so I formatted 
> it ext4 and mount it somewhere in my home directory.
>
> The default netinstaller doesn't seem to make the boot partition big 
> enough as with the vmlinux off the install media then vmlinux.old and 
> new vmlinux the device was out of space if upgrade so had to remove 
> the original kernel gubbins from the install media. At least that 
> seems to be what happened.
> I'll have to understand LVM at some point to see if I can make boot LV 
> bigger.
>

The LVM howto is your friend


https://tldp.org/HOWTO/LVM-HOWTO/


There is a chapter with examples on most things you might want to do, 
along with common tasks.



> mick
>
-- 
a good plan executed right now is often better than a perfect plan executed slowly. George Patton.

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


Thread

adding a disk to a Volume group mick crane <mick.crane@gmail.com> - 2020-12-20 20:10 +0100
  Re: adding a disk to a Volume group deloptes <deloptes@gmail.com> - 2020-12-20 21:10 +0100
  Re: adding a disk to a Volume group Charles Curley <charlescurley@charlescurley.com> - 2020-12-20 21:40 +0100
    Re: adding a disk to a Volume group Michael Stone <mstone@debian.org> - 2020-12-21 16:20 +0100
    Re: adding a disk to a Volume group elvis <elvis@dogonfire.com> - 2020-12-22 13:30 +0100
      Re: adding a disk to a Volume group Michael <ml@hemathor.de> - 2020-12-22 22:20 +0100
        Re: adding a disk to a Volume group Michael <ml@hemathor.de> - 2020-12-22 23:30 +0100
          Re: adding a disk to a Volume group Andy Smith <andy@strugglers.net> - 2020-12-23 04:40 +0100
            Re: adding a disk to a Volume group <tomas@tuxteam.de> - 2020-12-23 12:00 +0100
        Re: adding a disk to a Volume group elvis <elvis@dogonfire.com> - 2020-12-22 23:30 +0100

csiph-web