Tuesday, September 15, 2009
google data liberation front
Monday, September 14, 2009
Thin Provisioning
If you're using ext3 on top of LVM, then it seems to be that you don't even need thin provisioning from your SAN. You could just add a new LUN, add it to the LVM storage group of the volume you want to grow and then ext2online your ext3 volume into it. I've done this a few times and it's worked fine, but it was, as Ben Rockwood said, sucky. Ben's blog mentions how ZFS can make this process less painful: ZFS and Thin Provisioning. Aside from needing to know what you're doing when 'df' lies to you, this looks handy. If my SAN allocates the extra space easily and if ZFS can just pick it up and run with it, then that is good and makes SAN based Thin Provisioning seem worthwhile. Looks like I'm going to have to test this feature with ZFS. I'll post an update as I learn more.
Update: Someone who used to work for XIV told me a little bit of how the thin provisioning system works. If I've understood correctly I take the scenario to be:
- If a project requires x TB over the course of three years, but only y TB this year, then thin provision x TB such that y TB can be accessed now
- When you create a file system (this includes ext3) on top of that project's LUN, you will see x TB (even though y TB is what will really be there). Thus, the inode table will be built to access blocks which are not yet there and 'df' will lie to you
- As long as you have x TB available at some point in the future (perhaps in your total SAN) it will be allocated on demand and the file system won't have a problem.
- This can save you money if you're planning to purchase x TB within the next three years, but know that you can only afford y TB today
- If you don't get those extra disks before the user decides to run out of road (hey, you made the road look longer than it was) then you'll have problems
- When you reach x TB physically and fill them you are back to the original problem: you will have to use ext2online or some other method to grow the filesystem
Sunday, September 13, 2009
Grid Storage
EMC problems
LUN Tetris
We have a mix of LUNs of approximately two types:- Fast and small
- Used only by Databases and Email
- Currently 10T not likely to grow fast
- 146G 15k FC in RAID10
- Fast enough and large
- all other applications (Live VM images, Web roots, Home dirs, File svcs, Archives, etc)
- Currently 40T grows by about 10T a year
- 1T 7200 SATA in RAID5
Service Processor bottleneck
Most SANs have Service Processors (SP), which are computers that run an OS: EMC runs Flare, NetApp runs Data on Tap (BSD derivative), etc. The SPs can be thought of as servers which pass block change operations from clients to the block devices which are connected directly to them. In EMC's case, this connection is implemented as daisy chained copper SCSI cables to several drawers of disks. The cx3-20 can hold eight drawers. We want to add an extra drawer this year, but we will have an additional cost to upgrade to a cx3-40, which is basically a new SP which can hold 16 drawers. So, every few years you must upgrade the SP. In our case EMC wants us to buy a cx4 instead of a cx3.Same old SAN
I'm probably over simplifying the comparison of the products listed below, but since they have the same problems which I listed above, to me they look like the same old SAN. I'm going to speak with sales reps for each of the companies above to let them tell me about some other product that they offer so that I might update this page and list them as offering Grid Storage.Grid Storage
There are new grid storage based systems which don't have these problems. The basic idea is that rather than have a smart SP and several dumb drawers, each drawer is smart and also known as a node. In IBM's XIV each node is an individual server made from commodity parts: 1 quad-core intel, 8G of RAM, 12 1T SATA drives and a stripped down Linux-based OS. These servers are then networked to speak which each other via 10G ethernet instead of daisy chained SCSI. Each portion of data that is written to any particular LUN is split across all of the disks and the large stripe helps the SATA perform as well as the fast disk. Redundant portions are also written so that one can loose up to three nodes in a six node system. Relative to the problems posed in the beginning we have:- LUN Tetris: The only property of an XIV LUN is size. Every LUN has the same speed which is fast. Every LUN is made of commodity SATA. Keep a tally of the total size and subtract the requested size for a new project.
- SP Bottleneck: Since each node, or drawer, is an SP storage and processing scale at the same rate. There is no sudden need to upgrade the SP during an expansion
Tuesday, September 8, 2009
Thursday, September 3, 2009
Searching for Storage
- Black Blaze has a nice article on Petabytes on a budget.
- IBM is going to tell me how great their XIV SAN is. We'll see.
- EMC support contracts are too expensive. BL Trading supposedly does it for less. We'll see.