Size limitation?
Hello,
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Is there a solution (simple or otherwise) for this? The machine runs 2.6.29.5 (anything later causes the machine to lock up :( ). I'm not sure if mdadm or the kernel is the problem either.
Any suggestions appreciated (please CC me on replies).
Michael
-----
Here's the details:
]# mdadm --stop /dev/md1;mdadm --zero-superblock /dev/sd[a-j]1;mdadm -- create --level=5 --raid-devices=6 --assume-clean --auto=yes --force /dev/md1 /dev/sd[a-f]1;mdadm --detail /dev/md1/dev/md1:
Version : 0.90
Creation Time : Fri Jan 1 14:15:42 2010
Raid Level : raid5
Array Size : 1464841600 (1396.98 GiB 1500.00 GB)
Used Dev Size : 292968320 (279.40 GiB 300.00 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Fri Jan 1 14:15:42 2010
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : f6351ed0:cc1a90d1:0436ea62:f9d2db27
Events : 0.1
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 81 5 active sync /dev/sdf1
]# mdadm --stop /dev/md1;mdadm --zero-superblock /dev/sd[a-j]1;mdadm -- create --level=5 --raid-devices=7 --assume-clean --auto=yes --force /dev/md1 /dev/sd[a-g]1;mdadm --detail /dev/md1/dev/md1:
Version : 0.90
Creation Time : Fri Jan 1 14:16:00 2010
Raid Level : raid5
Array Size : 1757809920 (1676.38 GiB 1800.00 GB)
Used Dev Size : 292968320 (279.40 GiB 300.00 GB)
Raid Devices : 7
Total Devices : 7
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Fri Jan 1 14:16:00 2010
State : clean
Active Devices : 7
Working Devices : 7
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : 4116e7ac:522157c5:0436ea62:f9d2db27
Events : 0.1
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 81 5 active sync /dev/sdf1
6 8 97 6 active sync /dev/sdg1
]# mdadm --stop /dev/md1;mdadm --zero-superblock /dev/sd[a-j]1;mdadm -- create --level=5 --raid-devices=8 --assume-clean --auto=yes --force /dev/md1 /dev/sd[a-h]1;mdadm --detail /dev/md1/dev/md1:
Version : 0.90
Creation Time : Fri Jan 1 14:16:16 2010
Raid Level : raid5
Array Size : 2050778240 (1955.77 GiB 2100.00 GB)
Used Dev Size : 292968320 (279.40 GiB 300.00 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Fri Jan 1 14:16:16 2010
State : clean
Active Devices : 8
Working Devices : 8
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : 9d271092:1a5fda10:0436ea62:f9d2db27
Events : 0.1
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 81 5 active sync /dev/sdf1
6 8 97 6 active sync /dev/sdg1
7 8 113 7 active sync /dev/sdh1
]# mdadm --stop /dev/md1;mdadm --zero-superblock /dev/sd[a-j]1;mdadm -- create --level=5 --raid-devices=9 --assume-clean --auto=yes --force /dev/md1 /dev/sd[a-i]1;mdadm --detail /dev/md1/dev/md1:
Version : 0.90
Creation Time : Fri Jan 1 14:16:31 2010
Raid Level : raid5
Array Size : 196262912 (187.17 GiB 200.97 GB)
Used Dev Size : 292968320 (279.40 GiB 300.00 GB)
Raid Devices : 9
Total Devices : 9
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Fri Jan 1 14:16:31 2010
State : clean
Active Devices : 9
Working Devices : 9
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : 720627fd:b0e722a1:0436ea62:f9d2db27
Events : 0.1
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 81 5 active sync /dev/sdf1
6 8 97 6 active sync /dev/sdg1
7 8 113 7 active sync /dev/sdh1
8 8 129 8 active sync /dev/sdi1
]# mdadm --stop /dev/md1;mdadm --zero-superblock /dev/sd[a-j]1;mdadm -- create --level=5 --raid-devices=10 --assume-clean --auto=yes --force /dev/md1 /dev/sd[a-j]1;mdadm --detail /dev/md1/dev/md1:
Version : 0.90
Creation Time : Fri Jan 1 14:49:33 2010
Raid Level : raid5
Array Size : 489231232 (466.57 GiB 500.97 GB)
Used Dev Size : 292968320 (279.40 GiB 300.00 GB)
Raid Devices : 10
Total Devices : 10
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Fri Jan 1 14:49:33 2010
State : clean
Active Devices : 10
Working Devices : 10
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : db75bd2c:d566c205:0436ea62:f9d2db27x
Events : 0.1
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
4 8 65 4 active sync /dev/sde1
5 8 81 5 active sync /dev/sdf1
6 8 97 6 active sync /dev/sdg1
7 8 113 7 active sync /dev/sdh1
8 8 129 8 active sync /dev/sdi1
9 8 145 9 active sync /dev/sdj1
Quoted 9 lines · Michael McLagan
Hello,
I'm trying to set up a large array but isn't working. I tried Googling size limits, etc and came up empty.
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Looked at the mdadm output and ... Wow that's strange. You aren't supposed to be hitting any size limits there as far as I know, and I can't see that you're doing anything wrong - The "wraparound" just shouldn't be happening in my opinion. (But I'm a RAID rookie so don't take that as an expert judgement. Perhaps rather as some solidarity in a strange situation.) Anyway ...
Quoted 4 lines
Is there a solution (simple or otherwise) for this? The machine runs 2.6.29.5 (anything later causes the machine to lock up :( ). I'm not sure if mdadm or the kernel is the problem either.
That's kinda scary. Is this some unusual architecture or hardware configuration? I don't want to take this off-topic if you have determined the kernel version to be a fixed variable, but: Do you know why a newer kernel won't go? To me, newer-kernels-crashing indicates an irregularity under the hood.
Quoted 1 line
Any suggestions appreciated
Try upgrading mdadm. Either latest 2.x or 3.1.x. What the hey, try both. It's quite easy to compile mdadm yourself, and its for-stability releases are usually that: More stable. I've built mdadm a number of times when fooling around and it has always been quite good to me. (I.e. no exploding-in-face.)
Good luck!
-- Kristleifur
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Kristleifur Daðason
Quoted 6 lines · Michael McLagan
Hello,
I'm trying to set up a large array but isn't working. I tried Googling size limits, etc and came up empty.
Any suggestions appreciated
Ah, one more thing,
also try creating an actual filesystem on the weirdly "small" array. Who knows, the size might only be misreported to mdadm. If you do get the correct size of filesystem, well, at least it's useful to know. I'd be uneasy about deploying it into production in that state, but it's good info to have.
-- Kristleifur
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Michael McLagan
Hello,
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Is this a 32 bit machine?
uname -a
might help.
Signature · 9 lines
Joseph Landman, Ph.D Founder and CEO Scalable Informatics Inc. email: [email protected] web : http://scalableinformatics.com http://scalableinformatics.com/jackrabbit phone: +1 734 786 8423 x121 fax : +1 866 888 3112 cell : +1 734 612 4615
Quoted 5 lines · Michael McLagan
Hello,
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.
Quoted 9 lines
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Is there a solution (simple or otherwise) for this? The machine runs 2.6.29.5 (anything later causes the machine to lock up :( ). I'm not sure if mdadm or the kernel is the problem either.
Any suggestions appreciated (please CC me on replies).
Michael
Just guessing it is a mdadm bug.
I have a 32-bit 2.6.27.5 machine with mdadm 2.6.7 and mine is showing an array size of 4.5tb correctly, so 2.6.29 should be just fine.
Check mdadm --version and see what version that you have of that, you might also mount up the array and do "cat /proc/mdstat" and see what size the kernel reports.
Quoted 9 lines
Hello,
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Quoted 5 lines
Is there a solution (simple or otherwise) for this? The machine runs 2.6.29.5 (anything later causes the machine to lock up :( ). I'm not sure if mdadm or the kernel is the problem either.
Any suggestions appreciated (please CC me on replies).
Well, I know the 0.90 superblock limits the COMPONENT devices to
2TB, but I know for a fact it doesn't limit the array itself to 2TB, at least not using mdadm 2.6.7.2, because I have created arrays much larger than 2T using a 0.90 superblock. There is also a limit of 28 component devices using a 0.90 superblock, but you are nowhere near that limit. Nonetheless, why not try using a 1.x superblock, instead? It can't hurt to try. What version of mdadm are you using? I'm using a 2.6.26-2 kernel, so I would think 2.6.29.5 would not have any limitations that 2.6.26 doesn't.
Quoted 7 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Just curious, did you compile your kernel with LBD (Large Block Device) support?
Zdenek
Quoted 12 lines · Zdenek Behan
Quoted 7 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried Googling size limits, etc and came up empty.
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Just curious, did you compile your kernel with LBD (Large Block Device) support?
Quoted 6 lines
Zdenek
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
I couldn't find it in my config, so I googled:
http://cateee.net/lkddb/web-lkddb/LBD.html That does look like the most likely problem.
If at all possible try to get a good dmesg capture of a new kernel, you might want to explore using netconsole to log via UDP to a remote system. Chances are good it's just some chipset/driver issue; I remember having problems with a lack of timer for some boards; either forcing it to use the older style timer or using a patched bios which properly setup the HPET (timer) resolved the issue.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Zdenek Behan
Quoted 7 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Just curious, did you compile your kernel with LBD (Large Block Device) support?
Jup, missing LBD support would explain what Michael is seeing. That begs the question why md happily creates arrays > 2T on a kernel witout LBD support..
Andre
Signature · 1 line
The only person who always got his work done by Friday was Robinson Crusoe
Quoted 20 lines · Andre Noll
Quoted 10 lines · Zdenek Behan
Quoted 7 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried Googling size limits, etc and came up empty.
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Just curious, did you compile your kernel with LBD (Large Block Device) support?
Jup, missing LBD support would explain what Michael is seeing. That begs the question why md happily creates arrays > 2T on a kernel witout LBD support..
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe
Quoted 9 lines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQFLQP8gWto1QDEAkw8RAg2oAJ95cG6ZMdEs2tg1pdFBQyQQil8wlQCdHl8W j6jd5RoGXkbEmKV9J/bwae0=
=hB9F
-----END PGP SIGNATURE-----
There are two Michael's here, I'm not the one that that had this issue (Mostly because 64 bit systems have always had LBD support natively and I've never used a >500GB single drive or raid on a 32 bit system).
Quoted 20 lines · Andre Noll
Quoted 10 lines · Zdenek Behan
Quoted 7 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried Googling size limits, etc and came up empty.
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Just curious, did you compile your kernel with LBD (Large Block Device) support?
Jup, missing LBD support would explain what Michael is seeing. That begs the question why md happily creates arrays > 2T on a kernel witout LBD support..
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe
Quoted 9 lines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQFLQP8gWto1QDEAkw8RAg2oAJ95cG6ZMdEs2tg1pdFBQyQQil8wlQCdHl8W j6jd5RoGXkbEmKV9J/bwae0=
=hB9F
-----END PGP SIGNATURE-----
There are two Michael's here, I'm not the one that that had this issue (Mostly because 64 bit systems have always had LBD support natively and I've never used a >500GB single drive or raid on a 32 bit system).
Quoted 5 lines · On 03/01/2010 23:34, [email protected] wrote:
Quoted 4 lines · Andre Noll
Quoted 3 lines · Zdenek Behan
Quoted 2 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried
Googling size limits, etc and came up empty.
[...]
Quoted 5 lines
Quoted 3 lines
Jup, missing LBD support would explain what Michael is seeing. That begs the question why md happily creates arrays > 2T on a kernel witout LBD support..
There are two Michael's here, I'm not the one that that had this issue
I don't think there was any need to point this out; Andre wasn't quoting your reply to the thread and he did quote the Michael he was referring to.
Cheers,
John.
Quoted 20 lines · Andre Noll
Quoted 10 lines · Zdenek Behan
Quoted 7 lines · Michael McLagan
I'm trying to set up a large array but isn't working. I tried Googling size limits, etc and came up empty.
The problem is that with 10 drives (300GB SCSI), the array is coming up with 500GB of space?!? I did an experiment and when the array size exceeds 2TB, it fails/wraps?
Just curious, did you compile your kernel with LBD (Large Block Device) support?
Jup, missing LBD support would explain what Michael is seeing. That begs the question why md happily creates arrays > 2T on a kernel witout LBD support..
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe
Quoted 9 lines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQFLQP8gWto1QDEAkw8RAg2oAJ95cG6ZMdEs2tg1pdFBQyQQil8wlQCdHl8W j6jd5RoGXkbEmKV9J/bwae0=
=hB9F
-----END PGP SIGNATURE-----
There are two Michael's here, I'm not the one that that had this issue (Mostly because 64 bit systems have always had LBD support natively and I've never used a >500GB single drive or raid on a 32 bit system).