Bug#927987: Don't tell users to use ext3

2019-08-11 Thread Holger Wansing
Control: tags -1 + pending


I have applied an update for that chapter based on the recommendations below.
Thanks

Tagging this bug as pending


Holger

cyri...@bollu.be wrote:
> 
> Of course. 
> 
> But that page relies on lot of folk remedies imho. So, I believe the best is 
> to have some chat about it.
> 
> For examples:
> 
> 1) "For multi-user systems or systems with lots of disk space, it's best to 
> put /var, /tmp, and /home each on their own partitions separate from the / 
> partition. "
> 
> In my experience of more than 10 years administrating Linux servers, creating 
> separate /var and /tmp partitions always created more problems than it 
> solved: For example, usually, applications crashes when they can't write 
> their logs because there's no more space on the /var partition. So you 
> usually end up with more downtime when creating a separate /var partition 
> than putting everything in /.
> 
> (Note though that puttin everything in / may makes the problem more difficult 
> to solve if you can't access your server remotely as root - because in such 
> case you don't directly have access to the 5% disk space reserved for root-. 
> So you might not be able to log in remotely in such case)
> 
> OTOH, putting the /home folder on a separate partition still makes some sense 
> to me.
> 
> 2) "You might need a separate /usr/local partition if you plan to install 
> many programs that are not part of the Debian distribution."
> 
> Why?
> 
> 3) "Often, putting /tmp on its own partition, for instance 20–50MB, is a good 
> idea"
> 
> 20-50MB!?! seriously?!?
> 
> 4) The paragraph related to the swap don't really makes sense to me. For me 
> the rule of thumb is that people should try not to use swap (ie: by putting 
> enough RAM in you system) because using swap usually slows down your system 
> to a crawl. That being said, I've never tried to run a system without swap. 
> So, my point is not to say that a swap partition is not needed. Though, the 
> figures in this paragraph (eg: 256MB memory) seems to date from last century. 
> Also my point about how using the swap slows down the system might not stand 
> so well in these days of SSD drives...
> 
> 5) "On some 32-bit architectures..."
> 
> Do we really need to speak about 32bits architectures on an amd64 targeted 
> document? 
> 
> 6) "As an example, an older home machine might have 32MB of RAM and a 1.7GB 
> IDE drive on /dev/sda. There might be a 500MB partition for another operating 
> system on /dev/sda1, a 32MB swap partition on /dev/sda3 and about 1.2GB on 
> /dev/sda2 as the Linux partition. "
> 
> Last century figures.
> 
> =
> 
> Summary: Here's my proposal for this page:
> 
> For new users, personal Debian boxes, home systems, and other single-user 
> setups, a single / partition (plus swap) is probably the easiest, simplest 
> way to go."
> 
> If your machine will be a mail server, you might want to make /var/mail a 
> separate partition. If you are setting up a server with lots of user 
> accounts, it's generally good to have a separate, large /home partition. In 
> general, the partitioning situation varies from computer to computer 
> depending on its uses.
> 
> For very complex systems, you should see the Multi Disk HOWTO (Old document 
> though). This contains in-depth information, mostly of interest to ISPs and 
> people setting up servers.
> 
> With respect to the issue of swap partition size, there are many views. 
> However, your best bet is always to try to avoid your system to swap by 
> putting enough RAM for your usage.
> 
> For an idea of the space taken by tasks you might be interested in adding 
> after your system installation is complete, check Section D.2, “Disk Space 
> Needed for Tasks”. 
> 
> Carsten Schoenert – Fri, 26. April 2019 10:03
> > Hi,
> > 
> > Am 26.04.19 um 09:11 schrieb cyri...@bollu.be:
> > > 
> > > woaw, this page is severely outdated!
> > 
> > a patch, or at least a rephrased text with the required updates and
> > changes would be more helpful.
> > 
> > -- 
> > Regards
> > Carsten Schoenert
> 


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#927987: Don't tell users to use ext3

2019-04-26 Thread 積丹尼 Dan Jacobson
Maybe the document should say "don't worry, the installer process will walk you
through this.

/tmp: well I just use tmpfs.

Also the worst thing is if one searches on Google for /var /home vs.
just / Debian articles, he will find ../jessie/.. and has to put in the
word ../stretch/.. in the URL to get the newer version.

So even if he knew which name is newer, Google doesn't so gives them all
the same priority for search results... in fact backward priority.

So even if you make a spanking new version, people will still find the
older version.

Anyway you might want to just merge the document with the installer documents.



Bug#927987: Don't tell users to use ext3

2019-04-26 Thread cyrille


Of course. 

But that page relies on lot of folk remedies imho. So, I believe the best is to 
have some chat about it.

For examples:

1) "For multi-user systems or systems with lots of disk space, it's best to put 
/var, /tmp, and /home each on their own partitions separate from the / 
partition. "

In my experience of more than 10 years administrating Linux servers, creating 
separate /var and /tmp partitions always created more problems than it solved: 
For example, usually, applications crashes when they can't write their logs 
because there's no more space on the /var partition. So you usually end up with 
more downtime when creating a separate /var partition than putting everything 
in /.

(Note though that puttin everything in / may makes the problem more difficult 
to solve if you can't access your server remotely as root - because in such 
case you don't directly have access to the 5% disk space reserved for root-. So 
you might not be able to log in remotely in such case)

OTOH, putting the /home folder on a separate partition still makes some sense 
to me.

2) "You might need a separate /usr/local partition if you plan to install many 
programs that are not part of the Debian distribution."

Why?

3) "Often, putting /tmp on its own partition, for instance 20–50MB, is a good 
idea"

20-50MB!?! seriously?!?

4) The paragraph related to the swap don't really makes sense to me. For me the 
rule of thumb is that people should try not to use swap (ie: by putting enough 
RAM in you system) because using swap usually slows down your system to a 
crawl. That being said, I've never tried to run a system without swap. So, my 
point is not to say that a swap partition is not needed. Though, the figures in 
this paragraph (eg: 256MB memory) seems to date from last century. Also my 
point about how using the swap slows down the system might not stand so well in 
these days of SSD drives...

5) "On some 32-bit architectures..."

Do we really need to speak about 32bits architectures on an amd64 targeted 
document? 

6) "As an example, an older home machine might have 32MB of RAM and a 1.7GB IDE 
drive on /dev/sda. There might be a 500MB partition for another operating 
system on /dev/sda1, a 32MB swap partition on /dev/sda3 and about 1.2GB on 
/dev/sda2 as the Linux partition. "

Last century figures.

=

Summary: Here's my proposal for this page:

For new users, personal Debian boxes, home systems, and other single-user 
setups, a single / partition (plus swap) is probably the easiest, simplest way 
to go."

If your machine will be a mail server, you might want to make /var/mail a 
separate partition. If you are setting up a server with lots of user accounts, 
it's generally good to have a separate, large /home partition. In general, the 
partitioning situation varies from computer to computer depending on its uses.

For very complex systems, you should see the Multi Disk HOWTO (Old document 
though). This contains in-depth information, mostly of interest to ISPs and 
people setting up servers.

With respect to the issue of swap partition size, there are many views. 
However, your best bet is always to try to avoid your system to swap by putting 
enough RAM for your usage.

For an idea of the space taken by tasks you might be interested in adding after 
your system installation is complete, check Section D.2, “Disk Space Needed for 
Tasks”. 

Carsten Schoenert – Fri, 26. April 2019 10:03
> Hi,
> 
> Am 26.04.19 um 09:11 schrieb cyri...@bollu.be:
> > 
> > woaw, this page is severely outdated!
> 
> a patch, or at least a rephrased text with the required updates and
> changes would be more helpful.
> 
> -- 
> Regards
> Carsten Schoenert



Bug#927987: Don't tell users to use ext3

2019-04-26 Thread Laura Arjona Reina

reassign 927987 installation-guide
Thanks

Hi all
This documentation is handled via the package installation-guide. Reassigning.

Kind regards

--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona

El 26/4/19 a las 2:18, 積丹尼 Dan Jacobson escribió:

Package: www.debian.org

https://www.debian.org/releases/stretch/amd64/apcs03.html.en says

 a single / partition (plus swap) is probably the easiest, simplest way
 to go. However, if your partition is larger than around 6GB, choose ext3
 as your partition type.

OK, the installer proposed ext4, but as you wish, OK, we will choose ext3.

  Ext2 partitions need periodic file system integrity checking, and this
  can cause delays during booting when the partition is large.


That is nice to know but what about ext4?

In fact no need to mention any ext[234] in this whole document anymore.





Bug#927987: Don't tell users to use ext3

2019-04-26 Thread Carsten Schoenert
Hi,

Am 26.04.19 um 09:11 schrieb cyri...@bollu.be:
> 
> woaw, this page is severely outdated!

a patch, or at least a rephrased text with the required updates and
changes would be more helpful.

-- 
Regards
Carsten Schoenert



Bug#927987: Don't tell users to use ext3

2019-04-26 Thread cyrille


woaw, this page is severely outdated!

Cyrille

積丹尼 Dan Jacobson – Fri, 26. April 2019 2:21
> Package: www.debian.org
> 
> www.debian.org/releases/stretch/amd64/apcs03.html.en says
> 
> a single / partition (plus swap) is probably the easiest, simplest way
> to go. However, if your partition is larger than around 6GB, choose ext3
> as your partition type.
> 
> OK, the installer proposed ext4, but as you wish, OK, we will choose ext3.
> 
> Ext2 partitions need periodic file system integrity checking, and this
> can cause delays during booting when the partition is large.
> 
> 
> That is nice to know but what about ext4?
> 
> In fact no need to mention any ext[234] in this whole document anymore.



Bug#927987: Don't tell users to use ext3

2019-04-25 Thread 積丹尼 Dan Jacobson
Package: www.debian.org

https://www.debian.org/releases/stretch/amd64/apcs03.html.en says

a single / partition (plus swap) is probably the easiest, simplest way
to go. However, if your partition is larger than around 6GB, choose ext3
as your partition type.

OK, the installer proposed ext4, but as you wish, OK, we will choose ext3.

 Ext2 partitions need periodic file system integrity checking, and this
 can cause delays during booting when the partition is large.


That is nice to know but what about ext4?

In fact no need to mention any ext[234] in this whole document anymore.