* How to mount reiserfs with a relocated journal? @ 2003-07-11 2:12 Doug Bazarnic 2003-07-11 3:26 ` How to mount reiserfs with a relocated journal? -- Figured out Doug Bazarnic 0 siblings, 1 reply; 6+ messages in thread From: Doug Bazarnic @ 2003-07-11 2:12 UTC (permalink / raw) To: reiserfs-list [-- Attachment #1: Type: text/plain, Size: 648 bytes --] Hello, I'm running RH7.3 with a patched 2.4.21 kernel (03-relocation-8.diff.gz <ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.21/03-relo cation-8.diff.gz> ). I can't get my relocated journal drive to mount. Are there any special arguments I have to pass to mount? Mount complains that it can't find a superblock on /dev/sdb1 I used mkreiserfs /dev/sdb1 -j /dev/hda1 . /dev/sdb1 is my 73 gig Scsi HD, and /dev/hda1 is a 512 meg compact flash card hooked up to the ide port. Mkreiserfs works fine, writes the journal to /dev/hda1, syncs and says "OK" Any help would be appreciated! Thanks so much, Doug ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: How to mount reiserfs with a relocated journal? -- Figured out 2003-07-11 2:12 How to mount reiserfs with a relocated journal? Doug Bazarnic @ 2003-07-11 3:26 ` Doug Bazarnic 2003-07-11 5:46 ` Oleg Drokin 0 siblings, 1 reply; 6+ messages in thread From: Doug Bazarnic @ 2003-07-11 3:26 UTC (permalink / raw) To: reiserfs-list I had forgotten to run lilo to actually USE the patched kernel. Oops! :) Duh... Any way, is there a down side to using a large journal? 8193 vs ~125000 block size? Right now, I've allocated the entire 512 meg flash card for the journal size. Thanks for you help, Doug -----Original Message----- From: Doug Bazarnic [mailto:doug@cavecreek.net] Sent: Thursday, July 10, 2003 7:13 PM To: reiserfs-list@namesys.com Subject: How to mount reiserfs with a relocated journal? Hello, I'm running RH7.3 with a patched 2.4.21 kernel (03-relocation-8.diff.gz <ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.21/03-relo cation-8.diff.gz> ). I can't get my relocated journal drive to mount. Are there any special arguments I have to pass to mount? Mount complains that it can't find a superblock on /dev/sdb1 I used mkreiserfs /dev/sdb1 -j /dev/hda1 . /dev/sdb1 is my 73 gig Scsi HD, and /dev/hda1 is a 512 meg compact flash card hooked up to the ide port. Mkreiserfs works fine, writes the journal to /dev/hda1, syncs and says "OK" Any help would be appreciated! Thanks so much, Doug ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to mount reiserfs with a relocated journal? -- Figured out 2003-07-11 3:26 ` How to mount reiserfs with a relocated journal? -- Figured out Doug Bazarnic @ 2003-07-11 5:46 ` Oleg Drokin 2003-07-11 5:57 ` Doug Bazarnic 0 siblings, 1 reply; 6+ messages in thread From: Oleg Drokin @ 2003-07-11 5:46 UTC (permalink / raw) To: Doug Bazarnic; +Cc: reiserfs-list Hello! On Thu, Jul 10, 2003 at 08:26:19PM -0700, Doug Bazarnic wrote: > Any way, is there a down side to using a large journal? 8193 vs ~125000 > block size? Right now, I've allocated the entire 512 meg flash card > for the journal size. Well, if your flash card will die, you have possibly more data to loose. Also keep in mind that journal header gets updated for every transaction (in fact the should be batched so this should not be so hard hit, esp. for large journals, but still). Hm, I think for large journals you may also want to increase journal flushtime. Unfortunatelly this is hardwired to be once in 5 seconds. fs/reiserfs/journal.c and look for "interruptible_sleep_on_timeout(&reiserfs_commit_thread_wait, 5 * HZ) ;", change 5 to whatever number of seconds you may want. May and will lead to increased memory consumption when combined with large journals, though. Bye, Oleg ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: How to mount reiserfs with a relocated journal? -- Figured out 2003-07-11 5:46 ` Oleg Drokin @ 2003-07-11 5:57 ` Doug Bazarnic 2003-07-11 6:00 ` Oleg Drokin 2003-07-11 7:08 ` Russell Coker 0 siblings, 2 replies; 6+ messages in thread From: Doug Bazarnic @ 2003-07-11 5:57 UTC (permalink / raw) To: 'Oleg Drokin'; +Cc: reiserfs-list I've heard that using flash card memory (solid state devices) increases performance -- roughly 20-30%. With the slower write speeds of 4 - 6 MByte/sec, I'm not sure if it would truly be faster. I haven't time to test anything yet myself. The flash card is supposed to have a life greater than 1 million writes to it, so I don't know how well it will hold up in real life. We're just looking for more speed. We tend to rotate our database servers every 3 months or so, for something newer and faster. If the flash card does die, can't we just do a tree rebuild? Doug -----Original Message----- From: Oleg Drokin [mailto:green@namesys.com] Sent: Thursday, July 10, 2003 10:47 PM To: Doug Bazarnic Cc: reiserfs-list@namesys.com Subject: Re: How to mount reiserfs with a relocated journal? -- Figured out Hello! On Thu, Jul 10, 2003 at 08:26:19PM -0700, Doug Bazarnic wrote: > Any way, is there a down side to using a large journal? 8193 vs ~125000 > block size? Right now, I've allocated the entire 512 meg flash card > for the journal size. Well, if your flash card will die, you have possibly more data to loose. Also keep in mind that journal header gets updated for every transaction (in fact the should be batched so this should not be so hard hit, esp. for large journals, but still). Hm, I think for large journals you may also want to increase journal flushtime. Unfortunatelly this is hardwired to be once in 5 seconds. fs/reiserfs/journal.c and look for "interruptible_sleep_on_timeout(&reiserfs_commit_thread_wait, 5 * HZ) ;", change 5 to whatever number of seconds you may want. May and will lead to increased memory consumption when combined with large journals, though. Bye, Oleg ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to mount reiserfs with a relocated journal? -- Figured out 2003-07-11 5:57 ` Doug Bazarnic @ 2003-07-11 6:00 ` Oleg Drokin 2003-07-11 7:08 ` Russell Coker 1 sibling, 0 replies; 6+ messages in thread From: Oleg Drokin @ 2003-07-11 6:00 UTC (permalink / raw) To: Doug Bazarnic; +Cc: reiserfs-list Hello! On Thu, Jul 10, 2003 at 10:57:32PM -0700, Doug Bazarnic wrote: > I've heard that using flash card memory (solid state devices) increases > performance -- roughly 20-30%. With the slower write speeds of 4 - 6 > MByte/sec, I'm not sure if it would truly be faster. This is well believable. You save on seeks to journal. > The flash card is supposed to have a life greater than 1 million writes > to it, so I don't know how well it will hold up in real life. We're > just looking for more speed. We tend to rotate our database servers > every 3 months or so, for something newer and faster. You can try battery backed RAM which is going to be even faster. > If the flash card does die, can't we just do a tree rebuild? Yes, you can. Only if it was holding some valuable transaction, you may not get it. Bye, Oleg ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to mount reiserfs with a relocated journal? -- Figured out 2003-07-11 5:57 ` Doug Bazarnic 2003-07-11 6:00 ` Oleg Drokin @ 2003-07-11 7:08 ` Russell Coker 1 sibling, 0 replies; 6+ messages in thread From: Russell Coker @ 2003-07-11 7:08 UTC (permalink / raw) To: Doug Bazarnic; +Cc: reiserfs-list On Fri, 11 Jul 2003 15:57, Doug Bazarnic wrote: > I've heard that using flash card memory (solid state devices) increases > performance -- roughly 20-30%. With the slower write speeds of 4 - 6 > MByte/sec, I'm not sure if it would truly be faster. As Oleg mentions having 0 seek time will be a huge win for flash. However if you have a 15,000rpm disk doing nothing but journalling (so the journal is only on the first few cylinders) the seek time will also be very low. > The flash card is supposed to have a life greater than 1 million writes > to it, so I don't know how well it will hold up in real life. We're Last time I looked into this I had some servers that were sustaining >1M/s of disk writes 24*7. If that is all journalled and there's a 256M journal then each block would be written once every four minutes. If the flash card would last exactly 1M writes for each block (something I doubt) then it would last 4M minutes which is over 7 years. You may want to sustain a higher load than I did, but it still is quite likely that the flash will last the 3 months you require. However I believe that the the umem cards are a better choice. They have a sustained write speed of 240MB/s (much faster than flash) and because they are battery backed RAM devices they support an unlimited number of writes. The best thing is that they are specifically designed for tasks just like this one. See the following URL for details: http://www.micromemory.com/ I am not associated with umem in any way, I just determined after extensive research that they were the best option for one of my clients. My client then decided to just purchase more hard drives instead (at much greater expense). :( -- http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-07-11 7:08 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-07-11 2:12 How to mount reiserfs with a relocated journal? Doug Bazarnic 2003-07-11 3:26 ` How to mount reiserfs with a relocated journal? -- Figured out Doug Bazarnic 2003-07-11 5:46 ` Oleg Drokin 2003-07-11 5:57 ` Doug Bazarnic 2003-07-11 6:00 ` Oleg Drokin 2003-07-11 7:08 ` Russell Coker
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.