Project

General

Profile

Tâche #24752

Scénario #24528: Étudier le message d'erreur lié au partitionnement lors de l'instance d'EOLE 2.7.0

Corriger l’ordre dans lequel les volumes sont gérés

Added by Daniel Dehennin over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/03/2018
Due date:
% Done:

100%

Estimated time:
6.00 h
Spent time:
Remaining (hours):
0.0

Description

Actuellement les volumes sont gérés dans un ordre numérique du fait d’un bug dans l’élimination des doublons (source:pretemplate/00-partitioning@8049ca#L124).

Il faut gérer autrement l’élimination des doublons afin de ne pas avoir à recourir à sort | uniq.

Associated revisions

Revision af29008b (diff)
Added by Daniel Dehennin over 4 years ago

Partitionning: fix ordering of logical volumes

The ordering of mount points is broken by a “sort | uniq” to remove
duplicates.

  • pretemplate/00-partitioning (order_mount_points): manually manage
    duplicated entries.
    (create_fstab_entry): do not use “sort | uniq”.

Ref: #24752

Revision 3d027627 (diff)
Added by Daniel Dehennin over 4 years ago

Partitionning: we must be able to resize all existing volumes

The previous commit wrongly skip all but the first “None” mount point.

  • pretemplate/00-partitioning (order_mount_points): process the
    multiple “None” mount points.

Ref: #24752

History

#1 Updated by Scrum Master over 4 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master over 4 years ago

  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin over 4 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 6.0 to 0.25

#4 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#5 Updated by Gérald Schwartzmann over 4 years ago

  • Remaining (hours) changed from 0.25 to 0.0

Passage du test Squash TM : http://squash-tm.eole.lan/squash/iterations/178/info

--------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                              Exécution des scripts pretemplate                                                               
--------------------------------------------------------------------------------------------------------------------------------------------------------------
run-parts: executing /usr/share/eole/pretemplate/00-letsencrypt instance
run-parts: executing /usr/share/eole/pretemplate/00-ntp_signd instance
run-parts: executing /usr/share/eole/pretemplate/00-partitioning instance
Traitement du volume logique home
Creating LV /dev/eolebase-vg/home of 1699 PE
Creating fs ext4
Creating fstab entry for /dev/eolebase-vg/home on /home
Transfert des données
Traitement du volume logique dossiers
Creating LV /dev/eolebase-vg/dossiers of 1699 PE
Creating fs ext4
Creating fstab entry for /dev/eolebase-vg/dossiers on /home/dossiers
Traitement du volume logique root
Nothing to do for root
Traitement du volume logique tmp
Extending tmp with 679

#6 Updated by Gérald Schwartzmann over 4 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF