raid1 on HDD + RAM ?
Hi,
It's possible to have a ramdisk device. Would it make any sense in doing raid1 using a common HDD and a ramdisk?
They would automatically sync on boot-up of the computer.
I'm asking because an ultra-fast READ and normal WRITE would be useful for me...
Signature · 1 line
Janek Kozicki |
Quoted 3 lines · Janek Kozicki
Hi,
It's possible to have a ramdisk device.
yes
Quoted 2 lines
Would it make any sense in
doing raid1 using a common HDD and a ramdisk?
It sounds interesting if you have a need...
md just uses block devices so there shouldn't be a problem.
Quoted 1 line
They would automatically sync on boot-up of the computer.
You'd need to create and --add the ramdisk...
Quoted 2 lines
I'm asking because an ultra-fast READ and normal WRITE would be useful for me...
Also look at the --write-mostly and --write-behind options in mdadm.
David
Signature · 1 line
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
David Greaves said: (by the date of Tue, 30 Sep 2008 18:09:57 +0100)
Quoted 2 lines
Quoted 1 line
They would automatically sync on boot-up of the computer.
You'd need to create and --add the ramdisk...
ok, I'll figure this out :)
Quoted 4 lines
Quoted 2 lines
I'm asking because an ultra-fast READ and normal WRITE would be useful for me...
Also look at the --write-mostly and --write-behind options in mdadm.
thanks, this is great news for me. For real use I will need to repartition my hard drive - to create another partition for that.
But just for testing - will it work if mdadm will use LVM partition, which is already on top of mdadm raid ?
Or maybe just use some huge file as a loopback device?
Which testing method is better?
Signature · 1 line
Janek Kozicki |
Quoted 11 lines · Janek Kozicki
David Greaves said: (by the date of Tue, 30 Sep 2008 18:09:57 +0100)
Quoted 2 lines
Quoted 1 line
They would automatically sync on boot-up of the computer.
You'd need to create and --add the ramdisk...
ok, I'll figure this out :)
Quoted 2 lines
Quoted 2 lines
I'm asking because an ultra-fast READ and normal WRITE would be useful for me...
Quoted 7 lines
Quoted 1 line
Also look at the --write-mostly and --write-behind options in mdadm.
thanks, this is great news for me. For real use I will need to repartition my hard drive - to create another partition for that.
But just for testing - will it work if mdadm will use LVM partition, which is already on top of mdadm raid ?
yes, absolutely.
md works with *any* block device.
Quoted 3 lines
Or maybe just use some huge file as a loopback device?
Which testing method is better?
Since you are intending not to use the device then they should be the same. I'd use an lvm partition though.
David
Signature · 1 line
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
Quoted 10 lines · Janek Kozicki
Hi,
It's possible to have a ramdisk device. Would it make any sense in doing raid1 using a common HDD and a ramdisk?
They would automatically sync on boot-up of the computer.
I'm asking because an ultra-fast READ and normal WRITE would be useful for me...
I don't see why it wouldn't be possible. I would think you'd get the same performance leaving the RAM for caching though - that way anything you _are_ actually reading/writing will be cached and the RAM is still available for applications if needed.
Cheers,
Robin
Signature · 4 lines
___
( ' } | Robin Hill <[email protected]> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |Robin Hill said: (by the date of Tue, 30 Sep 2008 19:21:29 +0100)
Quoted 4 lines
I don't see why it wouldn't be possible. I would think you'd get the same performance leaving the RAM for caching though - that way anything you _are_ actually reading/writing will be cached and the RAM is still available for applications if needed.
yes, I know. But in my case this won't work. This data which I want quickly is seldom accessed therefore it will not be cached.
Signature · 1 line
Janek Kozicki |