* ext2 to ext3 @ Alex Snow ` Jacob Schmude ` Kenny Hitt 0 siblings, 2 replies; 6+ messages in thread From: Alex Snow @ UTC (permalink / raw) To: speakup Hi All, The drive my ftp server is storing it's files on is currently formatted in ext2. How can I convert to ext3? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ext2 to ext3 ext2 to ext3 Alex Snow @ ` Jacob Schmude ` Kenny Hitt 1 sibling, 0 replies; 6+ messages in thread From: Jacob Schmude @ UTC (permalink / raw) To: speakup Hi Obviously, the first thing is to enable ext3 support in that machine's kernel. I recommend building ext3 into the kernel and ext2 as a module, unless you're using red hat with there initrd-based booting scheme. Then, assuming that machine has at least e2fsprogs 1.3, execute: tune2fs -j partition Note, do not use the mount point, but use the actual partition. If at all possible, unmount the partition before doing this. If that is not possible, at least mount the filesystem read-only to minimize possible corruption. I personally haven't experienced corruption even when the partition was mounted, but better to be safe. The chance of corruption is quite small, as all it does is create the journal, it doesn't actually convert anything, since it doesn't have to. Ext3 is simply ext2 with a journal. Now, edit /etc/fstab and change the filesystem type of that partition from ext2 to ext3. Reboot with the ext3 enabled kernel and you're done. HTH On Fri, 11 Jul 2003, Alex Snow wrote: > Hi All, > The drive my ftp server is storing it's files on is currently formatted > in ext2. How can I convert to ext3? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ext2 to ext3 ext2 to ext3 Alex Snow ` Jacob Schmude @ ` Kenny Hitt ` Joseph C. Lininger 1 sibling, 1 reply; 6+ messages in thread From: Kenny Hitt @ UTC (permalink / raw) To: speakup Simple, go read the ext3 howto. Kenny On Fri, Jul 11, 2003 at 07:26:04PM -0400, Alex Snow wrote: > Hi All, > The drive my ftp server is storing it's files on is currently formatted > in ext2. How can I convert to ext3? > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ext2 to ext3 ` Kenny Hitt @ ` Joseph C. Lininger ` Alex Snow 0 siblings, 1 reply; 6+ messages in thread From: Joseph C. Lininger @ UTC (permalink / raw) To: speakup Alex, An ext3 filesystem is simply an ext2 filesystem with a journal. Therefore, if you use tune2fs to add a journal to the filesystem, this will effectively convert the filesystem to ext3. All you have to do to do this is to issue this command as root. tune2fs -j <device> Replace <device> with the device the filesystem resides on. Make sure you unmount the filesystem before doing this. Backing it up is not necessary however, as this does not destroy any data on the filesystem. Note that if this is an automatically mounted filesystem, you will need to change ext2 to ext3 in your fstab file in order to make use of the new journaling capabilities. If it is not, simply make sure that the filesystem is being mounted with type ext3 when you mount it. -- Joseph C. Lininger jbahm@pcdesk.net On Sat, 12 Jul 2003, Kenny Hitt wrote: > Simple, go read the ext3 howto. > > Kenny > > On Fri, Jul 11, 2003 at 07:26:04PM -0400, Alex Snow wrote: > > Hi All, > > The drive my ftp server is storing it's files on is currently formatted > > in ext2. How can I convert to ext3? > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ext2 to ext3 ` Joseph C. Lininger @ ` Alex Snow ` Joseph C. Lininger 0 siblings, 1 reply; 6+ messages in thread From: Alex Snow @ UTC (permalink / raw) To: speakup Hi. thanks for the info. since this is my root filesystem, should I boot into single user mode to do the conversion?On Sat, Jul 12, 2003 at 11:59:55PM -0600, Joseph C. Lininger wrote: > Alex, > An ext3 filesystem is simply an ext2 filesystem with a journal. Therefore, if you use tune2fs to add a journal to the filesystem, this will effectively convert the filesystem to ext3. All you have to do to do this is to issue this command as root. > > tune2fs -j <device> > > Replace <device> with the device the filesystem resides on. Make sure you unmount the filesystem before doing this. Backing it up is not necessary however, as this does not destroy any data on the filesystem. > > Note that if this is an automatically mounted filesystem, you will need to change ext2 to ext3 in your fstab file in order to make use of the new journaling capabilities. If it is not, simply make sure that the filesystem is being mounted with type ext3 when you mount it. > > -- > Joseph C. Lininger > jbahm@pcdesk.net > > On Sat, 12 Jul 2003, Kenny Hitt wrote: > > > Simple, go read the ext3 howto. > > > > Kenny > > > > On Fri, Jul 11, 2003 at 07:26:04PM -0400, Alex Snow wrote: > > > Hi All, > > > The drive my ftp server is storing it's files on is currently formatted > > > in ext2. How can I convert to ext3? > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ext2 to ext3 ` Alex Snow @ ` Joseph C. Lininger 0 siblings, 0 replies; 6+ messages in thread From: Joseph C. Lininger @ UTC (permalink / raw) To: speakup As far as adding the journal, no need to boot to single user mode before issuing the tune2fs command. However, you will need to remount the file system with the new type. Just to be safe, I'd would recommend totally restarting the machine since this will ensure this works properly. Changing the FS on the root filesystem generally only works properly after a restart. -- Joseph C. Lininger jbahm@pcdesk.net On Sun, 13 Jul 2003, Alex Snow wrote: > Hi. > thanks for the info. since this is my root filesystem, should I boot > into single user mode to do the conversion?On Sat, Jul 12, 2003 at > 11:59:55PM -0600, Joseph C. Lininger wrote: > > Alex, > > An ext3 filesystem is simply an ext2 filesystem with a journal. Therefore, if you use tune2fs to add a journal to the filesystem, this will effectively convert the filesystem to ext3. All you have to do to do this is to issue this command as root. > > > > tune2fs -j <device> > > > > Replace <device> with the device the filesystem resides on. Make sure you unmount the filesystem before doing this. Backing it up is not necessary however, as this does not destroy any data on the filesystem. > > > > Note that if this is an automatically mounted filesystem, you will need to change ext2 to ext3 in your fstab file in order to make use of the new journaling capabilities. If it is not, simply make sure that the filesystem is being mounted with type ext3 when you mount it. > > > > -- > > Joseph C. Lininger > > jbahm@pcdesk.net > > > > On Sat, 12 Jul 2003, Kenny Hitt wrote: > > > > > Simple, go read the ext3 howto. > > > > > > Kenny > > > > > > On Fri, Jul 11, 2003 at 07:26:04PM -0400, Alex Snow wrote: > > > > Hi All, > > > > The drive my ftp server is storing it's files on is currently formatted > > > > in ext2. How can I convert to ext3? > > > > > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
ext2 to ext3 Alex Snow
` Jacob Schmude
` Kenny Hitt
` Joseph C. Lininger
` Alex Snow
` Joseph C. Lininger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).