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


Groups > linux.debian.user > #190276

Re: Out of root partition space

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Out of root partition space
Date 2017-12-26 10:30 +0100
Message-ID <v0TIB-de-5@gated-at.bofh.it> (permalink)
References <v0MQO-3W4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 26/12/2017 à 02:44, Sarah Johnson a écrit :
> Hi,
> I ran out of root partition disk space and can't install or remove any more packages or even login gui window manager anymore
> 
> i spent few good hours researching for solutions and found that i can resize root and home partitions using resize2fs and lvresize tools but they are not even installed on my system

resize2fs serves to resize an ext2/3/4 filesystem. It is part of the 
e2fsprogs package which is essential, so it must be installed. Anyway 
you can extend a filesystem only after extending its container 
(partition, logical volume or whatever).

lvresize serves to resize an LVM logical volume. It is part of the lvm2 
package which is automatically installed and required when you use LVM 
logical volumes during the system installation. If it is not installed, 
it means that the system does not have LVM logical volumes, so lvresize 
is useless.

> so is it safe to resize debian root and other partitions using windows machine partitioning tool ?

No. Windows does not understand Linux filesystems.

Before considering resizing partitions, the first step is to identify 
what files and directories take space on the root partition and could be 
removed.

Informations to gather :
- partition layout
fdisk -l
- check free/used disk space
df -hT
- explore disk usage on the root filesystem
du -hcxd1 /

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


Thread

Out of root partition space Sarah Johnson <sarah-johnson-1990@list.ru> - 2017-12-26 03:10 +0100
  Re: Out of root partition space Doug <dmcgarrett@optonline.net> - 2017-12-26 05:10 +0100
    Re: Out of root partition space john doe <johndoe65534@mail.com> - 2017-12-26 07:40 +0100
      Re: Out of root partition space David Baron <dbaron770@gmail.com> - 2017-12-26 08:40 +0100
  Re: Out of root partition space Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-26 10:30 +0100
    Re: Out of root partition space Felix Miata <mrmazda@earthlink.net> - 2017-12-26 11:00 +0100
  Re: Out of root partition space Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-01-03 18:10 +0100

csiph-web