Bug #1620

hammer expand of root fs

Added by lentferj over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Today I expanded my root hammer fs by a second device. The expand went
flawless and except for some bogus numbers in df everything was fine.

Problems began when I rebooted the machine: I ended up in a unusable
system. I could not get mountroot to use the multi device hammer fs.

So we should either have (sorted by ascending coolness):

1) have a FAT warning in hammer man page to not expand the root file system

2) have hammer expand check and refuse to expand the root file system

3) have a mountroot that can handle multi device hammer fs roots.

Jan

History

#1 Updated by dillon over 4 years ago

:Today I expanded my root hammer fs by a second device. The expand went
:flawless and except for some bogus numbers in df everything was fine.
:
:Problems began when I rebooted the machine: I ended up in a unusable
:system. I could not get mountroot to use the multi device hammer fs.
:
:So we should either have (sorted by ascending coolness):
:
:1) have a FAT warning in hammer man page to not expand the root file system
:
:2) have hammer expand check and refuse to expand the root file system
:
:3) have a mountroot that can handle multi device hammer fs roots.
:
:Jan

Yah. I will add a check to the 'hammer expand' command itself and
have it refuse to expand the filesystem if it is also the root
filesystem.

-Matt
Matthew Dillon
<>

#2 Updated by thomas.nikolajsen about 4 years ago

Fixed in commit 104cb849cad1c21c8929f73d7654e16c4fb8a268

Also available in: Atom PDF