Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod From: Semih Ozlem 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: Mon, 22 Feb 2021 22:40:01 +0100 Message-ID: References: X-Original-To: Greg Wooledge , Debian Users X-Mailbox-Line: From debian-user-request@lists.debian.org Mon Feb 22 21:38:20 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, GMAIL=1, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kOvyVHjnXQ/nopTplDsZVgjP+mLAjOGZwacNpM8rbHw=; b=Ni/IqEppwxNWP+POwK0ZO1G8mwU1fubBvAHfXztM2SyczT/7oQ1nC7UnXpoYU47wPb ti6rfOnHyVmVLXKaSaNC0v/kN84RP8OQyvUAO2R/ZNwSK4rSocW9pjE/JPhLsC9/enPn qndLFR+lmfW18rl84u9j+50PQIwMvdxR1bOijnSCEwLEz8YpFaxdt+fQ1FltBWitbcZW N+QOckK1KxX6fZjP8UeO7EXLbIO4smUbwP0WHqz7utgDbGaQJcpHikonOw+CbOXJ07vu GOCWtho1qOupLJwymTpbmpS7iq/xidLEVrv5eUsBeydLjRWMsTHd22XzX22t8Ow+Qe4p uG3Q== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=kOvyVHjnXQ/nopTplDsZVgjP+mLAjOGZwacNpM8rbHw=; b=dS8ormeTmYU86I6f3nDG0il7w2A25rzpZlFj2A4mkmEEZzSj1BJwvUpS0aaa0B/YRZ 0uB6gxNE7PT09diUpwqWJfzgPVH6e9d7nUrl2ha2Dc7o35kDL53VR+q2HfBf1Alh/zjU TdjHScN0jDbZoHhnJitNEa3qCJFPHnSNDZd8BGdALe+ntoFiRShQohbK7CDe+3dI/o5K CXguSw1yFm1ksJ3iXJoa8MmpVRBNhAmG23fV2I5c8R5RQGfw472nf3mH54YTBcgPCGpd 8wFRJmAN4I/wNuvDF5P2nq9/O7y/4WWFOUVGw5XKfsZjkbW3RU1C1xp6jOxHQOyB+14o nosA== X-Gm-Message-State: AOAM533E2dYuSVicUpuQ2gDfVh2hmZ+wQzH7ID1et33LwJPnLU3QrIlJ 3Hhv03iog7XD1i17rWftYj1KLePitjpEg6Nd81pyo5vu6iiqjQ== X-Google-SMTP-Source: ABdhPJxhaIpQ2vBOGyIcprsaeGesZzR30WbQg1vbz7v9OuKbZ7HEmec0HzuOahhAP9fakepvC9Y1W7tYL/By9+OlaKg= X-Received: by 2002:a2e:9a12:: with SMTP id o18mr14829074lji.308.1614029883771; Mon, 22 Feb 2021 13:38:03 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e10f6e05bbf39df0" X-Mailing-List: archive/latest/772436 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAFi06wfuAMmgF5-r37+_B_P5y8pAxvUox9xX87WTFFdjZOwRBg@mail.gmail.com Approved: robomod@news.nic.it Lines: 135 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 23 Feb 2021 00:37:52 +0300 X-Original-Message-ID: X-Original-References: <22022021201933.f8d5b949704c@desktop.copernicus.org.uk> Xref: csiph.com linux.debian.user:231956 --000000000000e10f6e05bbf39df0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am currently pre-planning. If it could be done, then I am going to go about searching and purchasing necessary devices in order to do the task. That's why I am asking in the first place. I have a usb device that I can attach for testing now. Currently I am just running from a live usb. Here is the output of df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 384M 6.4M 378M 2% /run /dev/sdb1 2.9G 2.9G 0 100% /run/live/medium /dev/loop0 2.6G 2.6G 0 100% /run/live/rootfs/filesystem.squashfs tmpfs 1.9G 1.8G 86M 96% /run/live/overlay overlay 1.9G 1.8G 86M 96% / tmpfs 1.9G 102M 1.8G 6% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 1.9G 436K 1.9G 1% /tmp tmpfs 384M 5.8M 378M 2% /run/user/1000 Greg Wooledge , 23 =C5=9Eub 2021 Sal, 00:14 tarihinde = =C5=9Funu yazd=C4=B1: > Semih Ozlem (semihozlemlinuxuser@gmail.com) wrote: > > It is a starting point but the problem is really not with whether there > is > > enough space to download installation files, for they can be downloaded > > remotely to some other disk. The problem is when installing from the > > downloaded files, the system itself may give an error saying no disk > space > > left. The problem is when installing the file I presume some files are > > written in linux directory usually I presume or guess in /bin/ or /sbin > so > > that the installed programs become usable. When an external disk is > added, > > it is writable and readable but its space does not become incorporated = or > > available to /bin /sbin or whatever directories in linux filesystem get > > used... Is it possible to make some changes to filesystem hierarchy so > that > > the additional disk becomes available to the system? > > You decide where to mount the new partition(s) or logical volume(s). > > Start from the beginning, please. Show us the output of "df -h" or > something. Also tell us how the computer is being used (personal > desktop/laptop, server of some kind, etc.). Tell us where the big > files are, or the big collections of files. > > Tell us how big each disk is. > > From there, people may be able to give you concrete advice, like "make > a 10 GB partition and mount it as /var", or "mount the entire second > disk as /home". > > --000000000000e10f6e05bbf39df0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am currently pre-planning. If it could be done, the= n I am going to go about searching and purchasing necessary devices in orde= r to do the task. That's why I am asking in the first place. I have a u= sb device that I can attach for testing now.

C= urrently I am just running from a live usb. Here is the output of df -h
=

Filesystem =C2=A0 =C2=A0 =C2=A0Size =C2=A0Used Av= ail Use% Mounted on
udev =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01.9G = =C2=A0 =C2=A0 0 =C2=A01.9G =C2=A0 0% /dev
tmpfs =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 384M =C2=A06.4M =C2=A0378M =C2=A0 2% /run
/dev/sdb1 =C2=A0 = =C2=A0 =C2=A0 2.9G =C2=A02.9G =C2=A0 =C2=A0 0 100% /run/live/medium
/dev= /loop0 =C2=A0 =C2=A0 =C2=A02.6G =C2=A02.6G =C2=A0 =C2=A0 0 100% /run/live/r= ootfs/filesystem.squashfs
tmpfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.9G = =C2=A01.8G =C2=A0 86M =C2=A096% /run/live/overlay
overlay =C2=A0 =C2=A0 = =C2=A0 =C2=A0 1.9G =C2=A01.8G =C2=A0 86M =C2=A096% /
tmpfs =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 1.9G =C2=A0102M =C2=A01.8G =C2=A0 6% /dev/shm
tmpf= s =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5.0M =C2=A04.0K =C2=A05.0M =C2=A0 1% /= run/lock
tmpfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.9G =C2=A0 =C2=A0 0 = =C2=A01.9G =C2=A0 0% /sys/fs/cgroup
tmpfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 1.9G =C2=A0436K =C2=A01.9G =C2=A0 1% /tmp
tmpfs =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 384M =C2=A05.8M =C2=A0378M =C2=A0 2% /run/user/1000
=


Greg Wooledge <greg@wooledge.org>, 23 =C5=9Eub 2021 Sal, 00:14 tar= ihinde =C5=9Funu yazd=C4=B1:
Semih Ozlem (semihozlemlinuxuser@gmail.com) wrote:
> It is a starting point but the problem is really not with whether ther= e is
> enough space to download installation files, for they can be downloade= d
> remotely to some other disk. The problem is when installing from the > downloaded files, the system itself may give an error saying no disk s= pace
> left. The problem is when installing the file I presume some files are=
> written in linux directory usually I presume or guess in /bin/ or /sbi= n so
> that the installed programs become usable. When an external disk is ad= ded,
> it is writable and readable but its space does not become incorporated= or
> available to /bin /sbin or whatever directories in linux filesystem ge= t
> used... Is it possible to make some changes to filesystem hierarchy so= that
> the additional disk becomes available to the system?

You decide where to mount the new partition(s) or logical volume(s).

Start from the beginning, please.=C2=A0 Show us the output of "df -h&q= uot; or
something.=C2=A0 Also tell us how the computer is being used (personal
desktop/laptop, server of some kind, etc.).=C2=A0 Tell us where the big
files are, or the big collections of files.

Tell us how big each disk is.

>From there, people may be able to give you concrete advice, like "make=
a 10 GB partition and mount it as /var", or "mount the entire sec= ond
disk as /home".

--000000000000e10f6e05bbf39df0--