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


Groups > linux.debian.user > #231988

Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk
Date 2021-02-23 18:20 +0100
Message-ID <BLJvP-3IF-1@gated-at.bofh.it> (permalink)
References <BLpGO-8i-7@gated-at.bofh.it> <BLsv0-1Sm-5@gated-at.bofh.it> <BLIzL-39j-7@gated-at.bofh.it> <BLIT8-3fx-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 23 Feb 2021 11:37:12 -0500
rhkramer@gmail.com wrote:

> On Tuesday, February 23, 2021 11:13:12 AM Nicholas Geovanis wrote:
> > You can always add more filesystem space later. It's easier if
> > you're using LVM but that isn't required. You just build another
> > filesystem on the new drive after it's installed and mount it into
> > your filesystems, at the appropriate mount point.  
> 
> Don't you have to do things like copy the old filesystem content to
> the new filesystem (possibly using a temporary mount point for one of
> those), then move the new filesystem to the old mount point?  (Maybe
> that is only if they are "system" filesystems (e.g., /var, /etc,
> /home ...?)
> 

Yes, and you also need to delete the content in the original directory
tree, or else you don't recover the space. Most of this is most easily
done from a live/rescue OS with the host OS offline, though it can be
done online with a bit more work.

If you're moving /usr it is wise to rebuild grub from chroot, making a
new initramfs. Systemd requires /usr during boot and gets quite upset
if it can't find it. I'm aware there is controversy about putting
essential system software in a tree named '/usr' and I'm not going to
add to it.

There are many web articles on how to add and mount a new drive, but
hardly any (mostly one for Ubuntu repeated widely) for actually moving
an existing directory tree, especially a system one like /usr. I
hesitate to offer details as it is a long time, pre-systemd, since I
last did it.


-- 
Joe

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


Thread

is it possible to add a secondary disk to an existing debian systems  and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-22 21:10 +0100
  Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Brian <ad44@cityscape.co.uk> - 2021-02-22 21:30 +0100
    Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-22 22:00 +0100
      Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-22 22:20 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-22 22:40 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk "Andrew M.A. Cater" <amacater@einval.com> - 2021-02-22 23:20 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David <bouncingcats@gmail.com> - 2021-02-22 23:20 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-23 00:10 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David <bouncingcats@gmail.com> - 2021-02-23 00:20 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2021-02-23 17:20 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-02-23 17:20 +0100
                Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk rhkramer@gmail.com - 2021-02-23 17:40 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-02-23 18:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Joe <joe@jretrading.com> - 2021-02-23 18:20 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Andrei POPESCU <andreimpopescu@gmail.com> - 2021-02-23 09:30 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Celejar <celejar@gmail.com> - 2021-02-25 15:50 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk <tomas@tuxteam.de> - 2021-02-25 16:00 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk IL Ka <kazakevichilya@gmail.com> - 2021-02-25 16:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Celejar <celejar@gmail.com> - 2021-02-25 16:20 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk IL Ka <kazakevichilya@gmail.com> - 2021-02-25 16:30 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk The Wanderer <wanderer@fastmail.fm> - 2021-02-25 16:50 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-25 17:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk The Wanderer <wanderer@fastmail.fm> - 2021-02-25 17:10 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk IL Ka <kazakevichilya@gmail.com> - 2021-02-25 17:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Celejar <celejar@gmail.com> - 2021-02-25 16:50 +0100
  Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David Christensen <dpchrist@holgerdanske.com> - 2021-02-23 04:10 +0100
    Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk martin f krafft <madduck@debian.org> - 2021-02-23 11:40 +0100
      Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 07:00 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Charles Curley <charlescurley@charlescurley.com> - 2021-02-26 08:00 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 08:40 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-26 13:30 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David <bouncingcats@gmail.com> - 2021-02-26 11:00 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Charles Curley <charlescurley@charlescurley.com> - 2021-02-26 18:30 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-26 18:50 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 09:40 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 09:40 +0100
                About keeping a Debian installation happy [was: is it possible to  add a secondary disk to an existing debian] systems and install programs to  the secondary disk <tomas@tuxteam.de> - 2021-02-27 10:20 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Joe <joe@jretrading.com> - 2021-02-27 10:10 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 13:30 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 13:30 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk "Andrew M.A. Cater" <amacater@einval.com> - 2021-02-27 14:50 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Joe <joe@jretrading.com> - 2021-02-27 15:20 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David Wright <deblis@lionunicorn.co.uk> - 2021-03-01 01:40 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk martin f krafft <madduck@debian.org> - 2021-02-27 09:30 +0100

csiph-web