Re: Advice about ext3, please (An experiment results)

2009-03-18 Thread Emanoil Kotsev
Richard Hector wrote: On Tue, 2009-03-17 at 21:38 -0400, Stefan Monnier wrote: I was thinking to let my firewall run on a CF drive. The last one served for 10years, so ... Your firewall can probably run with near-0 writes (or even with exactly 0 writes), so your CF will easily last

Re: Advice about ext3, please (An experiment results)

2009-03-18 Thread Stefan Monnier
I was thinking to let my firewall run on a CF drive. The last one served for 10years, so ... Your firewall can probably run with near-0 writes (or even with exactly 0 writes), so your CF will easily last centuries. Especially if you can use a syslogd on another machine. Or use busybox's

Re: Advice about ext3, please (An experiment results)

2009-03-17 Thread Stefan Monnier
an issue with the flash drives is their life cycle. they support about 10 writes or so in average - there was article I read recently For large enough drives, 10 writes will take several years of constant write access. So I wouldn't worry about it. Well several years is not very

Re: Advice about ext3, please (An experiment results)

2009-03-17 Thread Richard Hector
On Tue, 2009-03-17 at 21:38 -0400, Stefan Monnier wrote: I was thinking to let my firewall run on a CF drive. The last one served for 10years, so ... Your firewall can probably run with near-0 writes (or even with exactly 0 writes), so your CF will easily last centuries. Especially if you

Re: Advice about ext3, please (An experiment results)

2009-03-16 Thread Emanoil Kotsev
Stefan Monnier wrote: an issue with the flash drives is their life cycle. they support about 10 writes or so in average - there was article I read recently For large enough drives, 10 writes will take several years of constant write access. So I wouldn't worry about it.

Re: Advice about ext3, please (An experiment results)

2009-03-13 Thread Stefan Monnier
an issue with the flash drives is their life cycle. they support about 10 writes or so in average - there was article I read recently For large enough drives, 10 writes will take several years of constant write access. So I wouldn't worry about it. Stefan -- To

Re: Advice about ext3, please (An experiment results)

2009-03-12 Thread Emanoil Kotsev
Stefan Monnier wrote: PS: typically flash memory is made up of eraseblocks that are much larger than a disk block, so depending on the way your flash key works, writing a single block (512bytes) of your disk may end up doing read the surrounding eraseblock; erase it, rewrite it with the new

Re: Advice about ext3, please

2009-03-11 Thread Steven Demetrius
On Tue, 2009-03-10 at 12:27 +, Aneurin Price wrote: On Tue, Mar 10, 2009 at 7:18 AM, Steven Demetrius steven.demetr...@fiwwi.com wrote: On Mon, 2009-03-09 at 11:19 -0400, Stefan Monnier wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after

Re: Advice about ext3, please

2009-03-11 Thread Glyn Astill
--- On Tue, 10/3/09, Lydgate deb...@tenebrific.ath.cx wrote: http://www.ebuyer.com/product/130477 On ebuyer it's called a Plexus V 500VA. I've read elsewhere that this is marketed under different brands/names. In the states I think it might be branded and sold by Fry's Electronics.

Re: Advice about ext3, please

2009-03-11 Thread Aneurin Price
On Wed, Mar 11, 2009 at 6:34 AM, Steven Demetrius steven.demetr...@fiwwi.com wrote: On Tue, 2009-03-10 at 12:27 +, Aneurin Price wrote: On Tue, Mar 10, 2009 at 7:18 AM, Steven Demetrius steven.demetr...@fiwwi.com wrote: On Mon, 2009-03-09 at 11:19 -0400, Stefan Monnier wrote: Does

Re: Advice about ext3, please

2009-03-11 Thread Thorny
Steven, As Aneurin has pointed out, you seem to have responded to the wrong thread, that doesn't relieve the confusion for those of us who use a list reader which threads correctly. And that is a part of what you are complaining about. I expect that you've reacted emotionally, and that is human

Re: Advice about ext3, please (An experiment results)

2009-03-11 Thread Stefan Monnier
The message doesn't -tell- you what to do, but what I think one should do is plug in the USB drive again and do fsck on the device. When fsck runs, in immediately reruns the journal and fixes metadata inconsistencies. Mounting the device would have done the same thing (even if mounted

Re: Advice about ext3, please

2009-03-11 Thread Stefan Monnier
Stefan: The original post for this thread was a user asking whether to use ext2 or ext3 on a removable USB HD. I know. And I strongly recommend ext3 over ext2 for such a use, for the reasons explained. Feel free to disagree. But the fact is that ext3 was specifically designed to be always

Re: Advice about ext3, please (An experiment results)

2009-03-11 Thread Lisi Reisz
On Wednesday 11 March 2009 17:15:44 Stefan Monnier wrote: So, yes, unplugging your USB key while it's still mounted is to be avoided, and even more so while it's being written to. The OP asked about about a USB external HDD, not a key. I have not tested the theory, but I have always

Re: Advice about ext3, please (An experiment results)

2009-03-11 Thread Johannes Wiedersich
Lisi Reisz wrote: I have not tested the theory, but I have always understood that keys are particularly vulnerable. To physical damage if pulled out prematurely, not just damage to the filesystem. Why so? Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with

Re: Advice about ext3, please (An experiment results)

2009-03-11 Thread Lisi Reisz
On Wednesday 11 March 2009 17:43:33 Johannes Wiedersich wrote: Lisi Reisz wrote: I have not tested the theory, but I have always understood that keys are particularly vulnerable. To physical damage if pulled out prematurely, not just damage to the filesystem. Why so? As I say, I have

Re: Advice about ext3, please (An experiment results)

2009-03-11 Thread Johannes Wiedersich
Lisi Reisz wrote: On Wednesday 11 March 2009 17:43:33 Johannes Wiedersich wrote: Lisi Reisz wrote: I have not tested the theory, but I have always understood that keys are particularly vulnerable. To physical damage if pulled out prematurely, not just damage to the filesystem. Why so? As

Re: Advice about ext3, please (An experiment results)

2009-03-11 Thread Stefan Monnier
So, yes, unplugging your USB key while it's still mounted is to be avoided, and even more so while it's being written to. The OP asked about about a USB external HDD, not a key. I have not tested the theory, but I have always understood that keys are particularly vulnerable. To physical

Re: Advice about ext3, please

2009-03-10 Thread Steven Demetrius
On Mon, 2009-03-09 at 11:19 -0400, Stefan Monnier wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after having to spend time repairing the system and/or rebuilding it or losing data they most likely don't anymore. Even if you're careful, you'll

Re: Advice about ext3, please

2009-03-10 Thread lists
On Mon, 2009-03-09 at 09:10 +, Nuno Magalhães wrote: On Mon, Mar 9, 2009 at 05:15, Steven Demetrius steven.demetr...@fiwwi.com wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after having to spend time repairing the system and/or rebuilding

Re: Advice about ext3, please

2009-03-10 Thread Aneurin Price
On Tue, Mar 10, 2009 at 7:18 AM, Steven Demetrius steven.demetr...@fiwwi.com wrote: On Mon, 2009-03-09 at 11:19 -0400, Stefan Monnier wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after having to spend time repairing the system and/or

Re: Advice about ext3, please

2009-03-10 Thread Aneurin Price
On Tue, Mar 10, 2009 at 6:10 AM, lists l...@fiwwi.com wrote: On Mon, 2009-03-09 at 09:10 +, Nuno Magalhães wrote: On Mon, Mar 9, 2009 at 05:15, Steven Demetrius steven.demetr...@fiwwi.com wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after

Re: Advice about ext3, please

2009-03-10 Thread Lydgate
On Tue, Mar 10, 2009 at 12:38:25PM +, Aneurin Price wrote: That's not a realistic answer. A decent UPS is likely to cost as much as the computer. Sorry to derail the thread, but my recent experience with a UPS costing 30 GBP and which uses the megatec_usb driver for NUT suggests

Re: Advice about ext3, please

2009-03-10 Thread Aneurin Price
On Tue, Mar 10, 2009 at 3:39 PM, Lydgate deb...@tenebrific.ath.cx wrote: On Tue, Mar 10, 2009 at 12:38:25PM +, Aneurin Price wrote: That's not a realistic answer. A decent UPS is likely to cost as much as the computer. Sorry to derail the thread, but my recent experience with a UPS

Re: Advice about ext3, please

2009-03-10 Thread Lydgate
On Tue, Mar 10, 2009 at 04:07:05PM +, Aneurin Price wrote: On Tue, Mar 10, 2009 at 3:39 PM, Lydgate deb...@tenebrific.ath.cx wrote: On Tue, Mar 10, 2009 at 12:38:25PM +, Aneurin Price wrote: That's not a realistic answer. A decent UPS is likely to cost as much as the computer.

Re: Advice about ext3, please

2009-03-09 Thread Tzafrir Cohen
On Sun, Mar 08, 2009 at 11:15:43PM -0400, Stefan Monnier wrote: Journaling uses significantly more disk space and does not allow for deleted file recovery. Neither is true. I believe you're confusing log-structured file systems and journalled file systems. ext2 - for backup,

Re: Advice about ext3, please

2009-03-09 Thread Jochen Schulz
Paul E Condon: I had pretty much decided the other way, but this, plus ... The drive is already ext3, and wikipedia article mentions problems with reverting back to ext2, which I would have to do. So, I've decided to not change, --- for now --- I didn't read the article, but ext3

Re: Advice about ext3, please

2009-03-09 Thread Bob Cox
On Sun, Mar 08, 2009 at 21:31:15 -0600, Paul E Condon (pecon...@mesanetworks.net) wrote: On 2009-03-08_23:15:43, Stefan Monnier wrote: Journaling uses significantly more disk space and does not allow for deleted file recovery. Neither is true. I believe you're confusing

Re: Advice about ext3, please

2009-03-09 Thread Nuno Magalhães
On Mon, Mar 9, 2009 at 05:15, Steven Demetrius steven.demetr...@fiwwi.com wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after having to spend time repairing the system and/or rebuilding it or losing data they most likely don't anymore. Power

Re: Advice about ext3, please

2009-03-09 Thread Thorny
On Sun, 08 Mar 2009 21:31:15 -0600, Paul E Condon wrote: That is a pretty persuasive argument. I can see the plug being pulled by accident fairly often in the long run. ;-) Suggest you mount that drive with the sync option. Might make it a little less likely that you'll pull the plug while

Re: Advice about ext3, please

2009-03-09 Thread Stefan Monnier
ext2 is problematic for removable drives because if you remove the drive without cleanly unmounting it you risk losing your data. So I would recommend ext3 for such uses. Performance is rarely an issue, actually. I use ext3 for my external USB drive. Does this mean that I can remove it

Re: Advice about ext3, please

2009-03-09 Thread Stefan Monnier
Does anyone here power off their computer without first shutting it down? Maybe, but after having to spend time repairing the system and/or rebuilding it or losing data they most likely don't anymore. Even if you're careful, you'll still occasionally lose power, and your machine will still

Re: Advice about ext3, please (An experiment results)

2009-03-09 Thread Paul E Condon
On 2009-03-09_11:19:38, Stefan Monnier wrote: Does anyone here power off their computer without first shutting it down? Maybe, but after having to spend time repairing the system and/or rebuilding it or losing data they most likely don't anymore. Even if you're careful, you'll still

Re: Advice about ext3, please

2009-03-08 Thread Paul E Condon
On 2009-03-08_12:58:14, Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this one be ext3, also?

Re: Advice about ext3, please

2009-03-08 Thread Paul E Condon
On 2009-03-08_13:41:53, Lists wrote: Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this one be

Re: Advice about ext3, please

2009-03-08 Thread Steven Demetrius
Paul E Condon wrote: On 2009-03-08_12:58:14, Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this

Re: Advice about ext3, please

2009-03-08 Thread Steven Demetrius
Paul E Condon wrote: On 2009-03-08_13:41:53, Lists wrote: Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3,

Re: Advice about ext3, please

2009-03-08 Thread Paul E Condon
On 2009-03-09_09:20:06, Steven Demetrius wrote: Paul E Condon wrote: On 2009-03-08_13:41:53, Lists wrote: Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write

Re: Advice about ext3, please

2009-03-08 Thread Stefan Monnier
Journaling uses significantly more disk space and does not allow for deleted file recovery. Neither is true. I believe you're confusing log-structured file systems and journalled file systems. ext2 - for backup, removable, partitions rarely used, etc. ext2 is problematic for removable

Re: Advice about ext3, please

2009-03-08 Thread Celejar
On Sun, 08 Mar 2009 23:15:43 -0400 Stefan Monnier monn...@iro.umontreal.ca wrote: ... ext2 is problematic for removable drives because if you remove the drive without cleanly unmounting it you risk losing your data. So I would recommend ext3 for such uses. Performance is rarely an issue,

Re: Advice about ext3, please

2009-03-08 Thread Paul E Condon
On 2009-03-08_23:15:43, Stefan Monnier wrote: Journaling uses significantly more disk space and does not allow for deleted file recovery. Neither is true. I believe you're confusing log-structured file systems and journalled file systems. ext2 - for backup, removable, partitions

Re: Advice about ext3, please

2009-03-08 Thread Paul E Condon
On 2009-03-08_23:25:53, Celejar wrote: On Sun, 08 Mar 2009 23:15:43 -0400 Stefan Monnier monn...@iro.umontreal.ca wrote: ... ext2 is problematic for removable drives because if you remove the drive without cleanly unmounting it you risk losing your data. So I would recommend ext3 for

Re: Advice about ext3, please

2009-03-08 Thread Steven Demetrius
Paul E Condon wrote: On 2009-03-09_09:20:06, Steven Demetrius wrote: Paul E Condon wrote: On 2009-03-08_13:41:53, Lists wrote: Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs,

Re: Advice about ext3, please

2009-03-08 Thread Steven Demetrius
Paul E Condon wrote: On 2009-03-08_23:25:53, Celejar wrote: On Sun, 08 Mar 2009 23:15:43 -0400 Stefan Monnier monn...@iro.umontreal.ca wrote: ... ext2 is problematic for removable drives because if you remove the drive without cleanly unmounting it you risk losing your data. So I would

Advice about ext3, please

2009-03-07 Thread Paul E Condon
I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this one be ext3, also? Doesn't ext3 essentially write everything twice, first to the journal, and

Re: Advice about ext3, please

2009-03-07 Thread Sven Joachim
On 2009-03-07 21:30 +0100, Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this one be ext3, also? That would be okay,

Re: Advice about ext3, please

2009-03-07 Thread Steven Demetrius
Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this one be ext3, also? Doesn't ext3 essentially write everything twice,

Re: Advice about ext3, please

2009-03-07 Thread Lists
Steven Demetrius wrote: Paul E Condon wrote: I'd like some confirmation, or refutation, of some reasoning: I have a USB external hard drive. It came with vfat fs, but I want to write an ext2/3 fs on it. All my internal HD are ext3, but should this one be ext3, also? Doesn't ext3 essentially