Project

General

Profile

Actions

Enhancement #128

closed

Migration to ext4

Added by Marc Dequènes over 13 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Low
Category:
System :: Base
Start date:
2010-08-15
Due date:
% Done:

100%

Estimated time:
Patch Available:
No
Confirmed:
No
Branch:
Entity:
DuckCorp
Security:
No
Help Needed:
No

Description

Orfeo's /db is already using ext4 for month, and has proved to be stable and more efficient, so maybe it would be nice to migrate more filesystems.

We should try this step by step, begining by not so important machines first.

Doc: https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4

Actions #1

Updated by Marc Dequènes over 13 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 40

Vingilot was migrated a few days ago without any problem.

Today, Elwing, Alienor, and Annael, were migrated remotely via SSH, with the procedure:
  • create a screen
  • stop all services but SSH (by hand with init scripts, in a proper order)
  • s/ext3/ext4/ dans /etc/fstab
  • update-grub
  • umount mount binds
  • umount all partitions but / (LVM included)
  • on all these unmounted partitions:
    • tune2fs -O extents,uninit_bg,dir_index /dev/<zzz>
    • e2fsck -fDC0 /dev/<zzz>
  • quit screen (blocks unmount)
  • mount / -o remount,ro
  • tune2fs and e2fsck on / like previously
  • check everything's ok
  • reboot
Actions #2

Updated by Marc Dequènes over 13 years ago

  • % Done changed from 40 to 50

Daneel was migrated with the remote procedure, but things went wrong for /, which could not be remounted ro (dunno why, all processes were stopped, except udev, like on other migrations). It has been solved, and Daneel works well on ext4 too now.

Actions #3

Updated by Marc Dequènes over 13 years ago

  • % Done changed from 50 to 60

Orfeo was migrated in december during the maintenance.

Actions #4

Updated by Marc Dequènes over 10 years ago

  • % Done changed from 60 to 70
  • Help Needed set to No

converted most partitions on Toushirou.

Actions #5

Updated by Marc Dequènes over 10 years ago

Did /home on Toushirou.

Actions #6

Updated by Marc Dequènes about 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

To help unmount /:
telinit S

Toushirou is done now. Thorfinn was replaced when switching to Sivit Xen plateform.

This must be over now.

Actions

Also available in: Atom PDF