[Mageia-discuss] Mageia 2 bootstrap time is 3 times that of Mageia1

Juergen Harms Juergen.Harms at unige.ch
Fri Feb 10 11:43:46 CET 2012


On 02/10/2012 01:37 AM, Morgan Leijström wrote:
> Correct, filesystems on different drives should run in parallel.
> What was the case with the system under observation?

That is a point I had never considered - used what sysinstall put into 
my fstab.

Man fstab(5) says

This field is used by the fsck(8) program to determine the order in 
which filesystem checks are done at reboot time. The root filesystem 
should be specified with a fs_passno  of 1, and other filesystems should 
have a fs_passno  of 2. Filesystems within a drive will be checked 
sequentially, but filesystems on different drives will be checked at the 
same time to utilize parallelism available in the hardware. If the sixth 
field is not present or zero, a value of zero is returned and fsck  will 
assume that the filesystem does not need to be checked.

May be read as a contradiction "other filesystems should have a passno 
of 2" and "Filesystems within a drive will be checked sequentially" - 
probably means that in this case the passno from fstab is ignored.

The situation on the system I reported and generated by sysinstall 
corresponds precisely to what the man-page says: the root file system 
has a passno of 1, all other filesystem are configured to 2 - both the 
ext4 file systems that sit on the same drive as root (5 of them) and an 
ext4 filesystem that sits on an extra drive (used by backuppc).

I now changed fstab to passno's
  - root = 1
  - the other ext4 systems which share the drive with root with 
increasing numbers: 2 and on
  - the extra drive (backuppc) 1 - to be done in parallel to the root 
filesystem.

Result: practically no change

Juergen


More information about the Mageia-discuss mailing list