Best practice way of moving an Ext3 journal to another drive.
Hi,
I'm using Ext3 for my root filesystem. I'd like to permanently move the Journal from the boot drive to a newly-purchased USB flash drive. Could someone walk me through the best way to do this? I've found very little through web search, and nothing that was on a level I could understand. I'm running Debian Wheezy. Thank you :) |
Hi
1st and foremost backup DATA. I then shrink the partition using gparted from a live cd "as you cant modif a mounted partition" I then use dd command to copy partition to where ever Code:
sudo dd if=/dev/sdax of=/dev/sdbx The partition must be the same size or smaller than where you are moving too. You will then have to edit /etc/fstab acordingly and update grub to point to where root is. Think that covers it all |
I've never attempted anything like that (having the journal on a separate device, remote from the rest of the filesystem). But a quick Google search turned up the following, which may be of some help to you:
http://insights.oetiker.ch/linux/ext...ournal-on-ssd/ |
FWIW, I don't think flash drives (I assume you're talking about a generic "thumbdrive") have all that many read/write cycles before they fail. So storing your journal there should mandate you to do a little research on the appropriateness of that endeavor before you embark on it. If you're talking about the newer SSD drives and not a "thumbdrive", maybe it isn't so much of a problem.
|
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 12:38 PM. |