Skip to contentSkip to conversation

(unknown)

DISCUSSION Dragon 2 participants 2 messages Jun 10, 2011 – Jun 11, 2011 MD RAID

lore
Share & tools
lore

Dragon

author
#0 lore raw

"No, it must be "Used Device Size" * 11 = 16116523456. Try it without the 'k'." -> was better:
mdadm /dev/md0 --grow --array-size=16116523456
mdadm --detail /dev/md0
/dev/md0:

        Version : 0.90

Creation Time : Fri Jun 10 14:19:24 2011
Raid Level : raid5
Array Size : 16116523456 (15369.91 GiB 16503.32 GB)
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Raid Devices : 13
Total Devices : 13
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Fri Jun 10 16:49:37 2011
State : clean
Active Devices : 13
Working Devices : 13
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

UUID : 8c4d8438:42aa49f9:a6d866f6:b6ea6b93 (local to host nassrv01)
Events : 0.2

Number Major Minor RaidDevice State
0 8 160 0 active sync /dev/sdk
1 8 208 1 active sync /dev/sdn
2 8 176 2 active sync /dev/sdl
3 8 192 3 active sync /dev/sdm
4 8 0 4 active sync /dev/sda
5 8 16 5 active sync /dev/sdb
6 8 64 6 active sync /dev/sde
7 8 48 7 active sync /dev/sdd
8 8 80 8 active sync /dev/sdf
9 8 96 9 active sync /dev/sdg
10 8 112 10 active sync /dev/sdh
11 8 128 11 active sync /dev/sdi
12 8 144 12 active sync /dev/sdj

->fsck -n /dev/md0, was ok
->now:mdadm /dev/md0 --grow -n 12 --backup-file=/reshape.bak ->and after that, how become the disk out of the raid? --

at this point i think i take the disk out of the raid, because i need the space of the disk.

I need another advise of you. While the computer is actualy build with 13 disk and i will become more data in the next month and the limit of power supply connecotors is reached i am looking forward to another solution. one possibility is to build up a better computer with more sata and sas connectors and add further raid-controller-cards. an other idea is to build a kind of cluster or dfs with two and later 3,4... computer. i read something about gluster.org. do you have a tip for me or experience in this?

Signature · 7 lines
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone
#1 lore raw

Re:

Quoted 2 lines · Dragon

"No, it must be "Used Device Size" * 11 = 16116523456. Try it without the 'k'." -> was better:

[...]

Quoted 3 lines

->fsck -n /dev/md0, was ok
->now:mdadm /dev/md0 --grow -n 12 --backup-file=/reshape.bak ->and after that, how become the disk out of the raid?

Monitor your background reshape with "cat /proc/mdstat".

When the reshape is complete, the extra disk will be marked "spare".

Then you can use "mdadm --remove".

Quoted 1 line

at this point i think i take the disk out of the raid, because i need the space of the disk.

Understood, but you are living on the edge. You have no backup, and only one drive of redundancy. If one of your drives does fail, the odds of losing the whole array while replacing it is significant. Your Samsung drives claim a non-recoverable read error rate of 1 per 1x10^15 bits. Your eleven data disks contain 1.32x10^14 bits, all of which must be read during rebuild. That means a _13%_ chance of total failure while replacing a failed drive.

I hope your 16T of data is not terribly important to you, or is otherwise replaceable.

Quoted 1 line

I need another advise of you. While the computer is actualy build with 13 disk and i will become more data in the next month and the limit of power supply connecotors is reached i am looking forward to another solution. one possibility is to build up a better computer with more sata and sas connectors and add further raid-controller-cards. an other idea is to build a kind of cluster or dfs with two and later 3,4... computer. i read something about gluster.org. do you have a tip for me or experience in this?

Unfortunately, no. Although I skirt the edges in my engineering work, I'm primarily an end-user. Both personal and work projects have relatively modest needs. From the engineering side, I do recommend you spend extra on power supplies & UPS.

Phil