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 User

 
 
LinkBack Thread Tools
 
Old 03-03-2009, 07:35 PM
Asif Iqbal
 
Default linux software raid

Hi I just install ubuntu with software raid. I noticed during the
configure raid I saw a message that kernel does not know of md0 and I
need to reboot to fix it. I went along and finish the install. When
the system rebooted it came back with a message raid degraded.

Here is an excerpt from the dmesg

[ 35.454913] md: md0: raid array is not clean -- starting background
reconstruction
[ 35.565022] raid1: raid set md0 active with 1 out of 2 mirrors
[ 35.579360] md: md1 stopped.
[ 35.579373] md: unbind<dm-2>
[ 35.597226] md: export_rdev(dm-2)
[ 35.638893] md: bind<dm-2>
[ 35.638911] md: md1: raid array is not clean -- starting background
reconstruction
[ 35.738506] raid1: raid set md1 active with 1 out of 2 mirrors

root@host:~# mdadm --query --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Tue Mar 3 14:38:40 2009
Raid Level : raid1
Array Size : 74918976 (71.45 GiB 76.72 GB)
Used Dev Size : 74918976 (71.45 GiB 76.72 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Tue Mar 3 15:31:42 2009
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0

UUID : 111256f9:cad06de4:2c5872f0:3d319ab8
Events : 0.126

Number Major Minor RaidDevice State
0 254 1 0 active sync /dev/block/254:1
1 0 0 1 removed

root@host:~# ls -al /dev/block/254:1
lrwxrwxrwx 1 root root 26 2009-03-03 15:10 /dev/block/254:1 ->
../mapper/nvidia_eeffhbef1

I have two disks and I setup md0 raid1 out of sda1 and sbd1 and mount
as / and md1 raid1 swap device
out of sda5 and sdb5
root@ftp0:~# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffffffff

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9327 74919096 fd Linux raid autodetect
/dev/sda2 9328 9729 3229065 5 Extended
/dev/sda5 9328 9729 3229033+ fd Linux raid autodetect

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffffffff

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9327 74919096 fd Linux raid autodetect
/dev/sdb2 9328 9729 3229065 5 Extended
/dev/sdb5 9328 9729 3229033+ fd Linux raid autodetect

How do I fix the degraded raid?


--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-03-2009, 08:54 PM
martin f krafft
 
Default linux software raid

also sprach Asif Iqbal <vadud3@gmail.com> [2009.03.03.2135 +0100]:
> Hi I just install ubuntu with software raid. I noticed during the
> configure raid I saw a message that kernel does not know of md0 and I
> need to reboot to fix it. I went along and finish the install. When
> the system rebooted it came back with a message raid degraded.

When RAID1 us created, it is degraded until the first sync
completes. That probably didn't happen in time before the reboot, so
it started again when it had the next chance. Nothing to worry
about. It should be done now.

--
martin | http://madduck.net/ | http://two.sentenc.es/

above all, we should not wish to divest
our existence of its rich ambiguity.
--friedrich nietzsche

spamtraps: madduck.bogus@madduck.net
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-03-2009, 09:13 PM
Asif Iqbal
 
Default linux software raid

On Tue, Mar 3, 2009 at 4:54 PM, martin f krafft <madduck@madduck.net> wrote:
> also sprach Asif Iqbal <vadud3@gmail.com> [2009.03.03.2135 +0100]:
>> Hi I just install ubuntu with software raid. I noticed during the
>> configure raid I saw a message that kernel does not know of md0 and I
>> need to reboot to fix it. I went along and finish the install. When
>> the system rebooted it came back with a message raid degraded.
>
> When RAID1 us created, it is degraded until the first sync
> completes. That probably didn't happen in time before the reboot, so
> it started again when it had the next chance. Nothing to worry
> about. It should be done now.


It still showing degraded and pointing to block device
/dev/block/254:1 instead of /dev/sda1

/dev/md0:
Version : 00.90
Creation Time : Tue Mar 3 14:38:40 2009
Raid Level : raid1
Array Size : 74918976 (71.45 GiB 76.72 GB)
Used Dev Size : 74918976 (71.45 GiB 76.72 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Tue Mar 3 17:11:10 2009
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0

UUID : 111256f9:cad06de4:2c5872f0:3d319ab8
Events : 0.210

Number Major Minor RaidDevice State
0 254 1 0 active sync /dev/block/254:1
1 0 0 1 removed

>
> --
> martin | http://madduck.net/ | http://two.sentenc.es/
>
> above all, we should not wish to divest
> our existence of its rich ambiguity.
> * * * * * * * * * * * * * * * * * * * * * * * * --friedrich nietzsche
>
> spamtraps: madduck.bogus@madduck.net
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkmtpxsACgkQIgvIgzMMSnXe/gCdEU3qbBTdAYQfNH5dAcO3v7Om
> 7pUAoLF60cb2PuZQ5/CoOWmfsBg8KNGB
> =N2S/
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-03-2009, 09:29 PM
Asif Iqbal
 
Default linux software raid

On Tue, Mar 3, 2009 at 5:13 PM, Asif Iqbal <vadud3@gmail.com> wrote:
> On Tue, Mar 3, 2009 at 4:54 PM, martin f krafft <madduck@madduck.net> wrote:
>> also sprach Asif Iqbal <vadud3@gmail.com> [2009.03.03.2135 +0100]:
>>> Hi I just install ubuntu with software raid. I noticed during the
>>> configure raid I saw a message that kernel does not know of md0 and I
>>> need to reboot to fix it. I went along and finish the install. When
>>> the system rebooted it came back with a message raid degraded.
>>
>> When RAID1 us created, it is degraded until the first sync
>> completes. That probably didn't happen in time before the reboot, so
>> it started again when it had the next chance. Nothing to worry
>> about. It should be done now.
>
>
> It still showing degraded and pointing to block device
> /dev/block/254:1 instead of /dev/sda1
>
> /dev/md0:
> * * * *Version : 00.90
> *Creation Time : Tue Mar *3 14:38:40 2009
> * * Raid Level : raid1
> * * Array Size : 74918976 (71.45 GiB 76.72 GB)
> *Used Dev Size : 74918976 (71.45 GiB 76.72 GB)
> * Raid Devices : 2
> *Total Devices : 1
> Preferred Minor : 0
> * *Persistence : Superblock is persistent
>
> * *Update Time : Tue Mar *3 17:11:10 2009
> * * * * *State : clean, degraded
> *Active Devices : 1
> Working Devices : 1
> *Failed Devices : 0
> *Spare Devices : 0
>
> * * * * * UUID : 111256f9:cad06de4:2c5872f0:3d319ab8
> * * * * Events : 0.210
>
> * *Number * Major * Minor * RaidDevice State
> * * * 0 * * 254 * * * *1 * * * *0 * * *active sync * /dev/block/254:1
> * * * 1 * * * 0 * * * *0 * * * *1 * * *removed


looks like I am facing the same bug


https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/126499

>>
>> --
>> martin | http://madduck.net/ | http://two.sentenc.es/
>>
>> above all, we should not wish to divest
>> our existence of its rich ambiguity.
>> * * * * * * * * * * * * * * * * * * * * * * * * --friedrich nietzsche
>>
>> spamtraps: madduck.bogus@madduck.net
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkmtpxsACgkQIgvIgzMMSnXe/gCdEU3qbBTdAYQfNH5dAcO3v7Om
>> 7pUAoLF60cb2PuZQ5/CoOWmfsBg8KNGB
>> =N2S/
>> -----END PGP SIGNATURE-----
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-04-2009, 06:07 AM
martin f krafft
 
Default linux software raid

also sprach Asif Iqbal <vadud3@gmail.com> [2009.03.03.2329 +0100]:
> looks like I am facing the same bug
>
> https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/126499

Okay. This is an Ubuntu-only problem outside of my control. Hope it
gets fixed soon.

--
martin | http://madduck.net/ | http://two.sentenc.es/

"the worst part of being old is remembering when you was young."
-- alvin straight (the straight story)

spamtraps: madduck.bogus@madduck.net
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-20-2010, 10:55 PM
Jimmy Stewpot
 
Default Linux Software RAID

Hello,

Is it possible to grow Linux software RAID volumes after the initial deployment. For example can we have a RAID5 array with 3 drives and then add an extra drive later? Is the Linux software raid intelligent enough to move the blocks of data around to take advantage of the additional redundancy that we would have from 4 drives?
I am guessing that if its possible it would be a two step process. One would be adding the drive into the software raid set. Then the second would be increasing the file systems size?

any feedback would be great.

Jimmy.

--
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 01-20-2010, 11:04 PM
Kerem Can Karakas
 
Default Linux Software RAID

2010/1/21 Jimmy Stewpot <mailers@oranged.to>:
> Hello,
>
> Is it possible to grow Linux software RAID volumes after the initial deployment. For example can we have a RAID5 array with 3 drives and then add an extra drive later? Is the Linux software raid intelligent enough to move the blocks of data around to take advantage of the additional redundancy that we would have from 4 drives?
> I am guessing that if its possible it would be a two step process. One would be adding the drive into the software raid set. Then the second would be increasing the file systems size?
>
> any feedback would be great.
>
> Jimmy.
>
Yes it is
Just take a look at that.
http://raid.wiki.kernel.org/index.php/Growing
I cannot possibly explain that better.

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 06:05 AM.

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