FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 08-13-2008, 10:59 AM
Matt Zimmerman
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Tue, Aug 12, 2008 at 05:19:32PM -0700, Mathias Gug wrote:
> ==== Boot Support for Degraded RAID ====
>
> kirkland has been working on adding RAID support to grub-install. His patch is
> waiting for sponsoring. He hopes it will make it for alpha4 scheduled to be
> released on Thursday. If so mathiaz suggested that this new feature should be
> documented in the Release Notes in order to get more testing.
>
> The last item he's working on is adding a question during the installation on
> whether the system should be set to boot from a degraded array (defaulting to
> No, which matches the current behaviour).

It appears from that if this feature is not enabled, the system will fail
hard to an initramfs shell. Instead, how about giving the user the option
to continue?

Waiting for root file system...

** WARNING: The root filesystem was found on a degraded RAID array! **

The system may have suffered a hardware fault, such as a disk drive failure.
You may attempt to start the system anyway, or stop now and attempt manual
recovery operations.

If you choose to continue, the system may start normally, but performance
may be degraded, and a further hardware fault could result in permanent data
loss.

If you abort now, you will be provided with a recovery shell.

Do you wish to continue? [y/N]

This should present no more risk than dropping to a shell, and gives the
user the guidance to make an informed decision.

--
- mdz

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-13-2008, 10:59 AM
Matt Zimmerman
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Tue, Aug 12, 2008 at 05:19:32PM -0700, Mathias Gug wrote:
> ==== Boot Support for Degraded RAID ====
>
> kirkland has been working on adding RAID support to grub-install. His patch is
> waiting for sponsoring. He hopes it will make it for alpha4 scheduled to be
> released on Thursday. If so mathiaz suggested that this new feature should be
> documented in the Release Notes in order to get more testing.
>
> The last item he's working on is adding a question during the installation on
> whether the system should be set to boot from a degraded array (defaulting to
> No, which matches the current behaviour).

It appears from that if this feature is not enabled, the system will fail
hard to an initramfs shell. Instead, how about giving the user the option
to continue?

Waiting for root file system...

** WARNING: The root filesystem was found on a degraded RAID array! **

The system may have suffered a hardware fault, such as a disk drive failure.
You may attempt to start the system anyway, or stop now and attempt manual
recovery operations.

If you choose to continue, the system may start normally, but performance
may be degraded, and a further hardware fault could result in permanent data
loss.

If you abort now, you will be provided with a recovery shell.

Do you wish to continue? [y/N]

This should present no more risk than dropping to a shell, and gives the
user the guidance to make an informed decision.

--
- mdz

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 
Old 08-13-2008, 12:46 PM
"Dustin Kirkland"
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Wed, Aug 13, 2008 at 5:59 AM, Matt Zimmerman <mdz@ubuntu.com> wrote:
> It appears from that if this feature is not enabled, the system will fail
> hard to an initramfs shell. Instead, how about giving the user the option
> to continue?

Good idea, Matt.

See:
* https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/257568

I have a patch attached there, too.

:-Dustin

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-13-2008, 12:46 PM
"Dustin Kirkland"
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Wed, Aug 13, 2008 at 5:59 AM, Matt Zimmerman <mdz@ubuntu.com> wrote:
> It appears from that if this feature is not enabled, the system will fail
> hard to an initramfs shell. Instead, how about giving the user the option
> to continue?

Good idea, Matt.

See:
* https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/257568

I have a patch attached there, too.

:-Dustin

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 
Old 08-13-2008, 12:53 PM
Ante Karamatic
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Wed, 13 Aug 2008 11:59:53 +0100
Matt Zimmerman <mdz@ubuntu.com> wrote:

> It appears from that if this feature is not enabled, the system will
> fail hard to an initramfs shell. Instead, how about giving the user
> the option to continue?

Interaction on a remote server without internet connection is useless.
This should be configurable trough installation or, at least, as an
option in the boot loader.

IMHO, Dustin did it just right.

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 
Old 08-13-2008, 12:53 PM
Ante Karamatic
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Wed, 13 Aug 2008 11:59:53 +0100
Matt Zimmerman <mdz@ubuntu.com> wrote:

> It appears from that if this feature is not enabled, the system will
> fail hard to an initramfs shell. Instead, how about giving the user
> the option to continue?

Interaction on a remote server without internet connection is useless.
This should be configurable trough installation or, at least, as an
option in the boot loader.

IMHO, Dustin did it just right.

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-13-2008, 01:18 PM
"Dustin Kirkland"
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Wed, Aug 13, 2008 at 7:53 AM, Ante Karamatic <ivoks@grad.hr> wrote:
> On Wed, 13 Aug 2008 11:59:53 +0100
> Matt Zimmerman <mdz@ubuntu.com> wrote:
>
>> It appears from that if this feature is not enabled, the system will
>> fail hard to an initramfs shell. Instead, how about giving the user
>> the option to continue?
>
> Interaction on a remote server without internet connection is useless.
> This should be configurable trough installation or, at least, as an
> option in the boot loader.
>
> IMHO, Dustin did it just right.

Ante,

ScottK brought this up in IRC... Please see the patch.

This remains configurable. The value will first be read from
configuration file, and then from the kernel boot parameters.

If neither of these indicate "BOOT_DEGRADED=true", then the user is
interactively prompted, just before dropping to a busy box shell.

:-Dustin

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-13-2008, 01:18 PM
"Dustin Kirkland"
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

On Wed, Aug 13, 2008 at 7:53 AM, Ante Karamatic <ivoks@grad.hr> wrote:
> On Wed, 13 Aug 2008 11:59:53 +0100
> Matt Zimmerman <mdz@ubuntu.com> wrote:
>
>> It appears from that if this feature is not enabled, the system will
>> fail hard to an initramfs shell. Instead, how about giving the user
>> the option to continue?
>
> Interaction on a remote server without internet connection is useless.
> This should be configurable trough installation or, at least, as an
> option in the boot loader.
>
> IMHO, Dustin did it just right.

Ante,

ScottK brought this up in IRC... Please see the patch.

This remains configurable. The value will first be read from
configuration file, and then from the kernel boot parameters.

If neither of these indicate "BOOT_DEGRADED=true", then the user is
interactively prompted, just before dropping to a busy box shell.

:-Dustin

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 
Old 08-13-2008, 01:50 PM
Andreas Hasenack
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dustin Kirkland wrote:
> On Wed, Aug 13, 2008 at 7:53 AM, Ante Karamatic <ivoks@grad.hr> wrote:
>> On Wed, 13 Aug 2008 11:59:53 +0100
>> Matt Zimmerman <mdz@ubuntu.com> wrote:
>>
>>> It appears from that if this feature is not enabled, the system will
>>> fail hard to an initramfs shell. Instead, how about giving the user
>>> the option to continue?
>> Interaction on a remote server without internet connection is useless.
>> This should be configurable trough installation or, at least, as an
>> option in the boot loader.
>>
>> IMHO, Dustin did it just right.
>
> Ante,
>
> ScottK brought this up in IRC... Please see the patch.
>
> This remains configurable. The value will first be read from
> configuration file, and then from the kernel boot parameters.
>
> If neither of these indicate "BOOT_DEGRADED=true", then the user is
> interactively prompted, just before dropping to a busy box shell.

What about a prompt with a timeout?


- --
Andreas Hasenack
andreas@canonical.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoubAeEJZs/PdwpARAt7DAJ42pOiSNMiB2gaqqWMG0pXCoF2hLQCglrwL
xUoTbW0qIXtqLa3Piy6yY50=
=8BEu
-----END PGP SIGNATURE-----

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-13-2008, 01:50 PM
Andreas Hasenack
 
Default Degraded RAID UI ( Server Team 20080812 meeting minutes)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dustin Kirkland wrote:
> On Wed, Aug 13, 2008 at 7:53 AM, Ante Karamatic <ivoks@grad.hr> wrote:
>> On Wed, 13 Aug 2008 11:59:53 +0100
>> Matt Zimmerman <mdz@ubuntu.com> wrote:
>>
>>> It appears from that if this feature is not enabled, the system will
>>> fail hard to an initramfs shell. Instead, how about giving the user
>>> the option to continue?
>> Interaction on a remote server without internet connection is useless.
>> This should be configurable trough installation or, at least, as an
>> option in the boot loader.
>>
>> IMHO, Dustin did it just right.
>
> Ante,
>
> ScottK brought this up in IRC... Please see the patch.
>
> This remains configurable. The value will first be read from
> configuration file, and then from the kernel boot parameters.
>
> If neither of these indicate "BOOT_DEGRADED=true", then the user is
> interactively prompted, just before dropping to a busy box shell.

What about a prompt with a timeout?


- --
Andreas Hasenack
andreas@canonical.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoubAeEJZs/PdwpARAt7DAJ42pOiSNMiB2gaqqWMG0pXCoF2hLQCglrwL
xUoTbW0qIXtqLa3Piy6yY50=
=8BEu
-----END PGP SIGNATURE-----

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 

Thread Tools




All times are GMT. The time now is 11:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org