Re: which filesystem
On Sat, 11 Aug 2012, Michael Shiloh wrote: Date: Sat, 11 Aug 2012 13:30:15 -0700 From: Michael Shiloh michaelshiloh1...@gmail.com To: linux-il@cs.huji.ac.il Subject: Re: which filesystem On 08/11/2012 12:28 PM, Nadav Har'El wrote: On Sat, Aug 11, 2012, Erez D wrote about which filesystem: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour boots you report (even one minute looks excessive). Both ext3 and ext4 are journalling filesystems, meaning that after power failures, only a relatively small journal of the last modifications needs to be replayed, rather than going through the entire disk. Is it possible your filesystem for some reason has journalling disabled, or improperly configured? Try tune2fs -l on your filesystem and look for suspicious parameters. Look at Filesystem features and verify there is has_journal. See that it doesn't force a full fsck every time (Maximum mount count can very well be -1 and check interval 0). Might also be the disk going bad - perhaps check with the S.M.A.R.T. utility smartmontools There are a lot of failure modalities that SMART can't see. Maybe just try copying the disk to a new disk and comparing the behavior. - yba ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ Tk Open Systems =}ooO--U--Ooo{= - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
On Sat, Aug 11, 2012 at 10:28 PM, Nadav Har'El n...@math.technion.ac.ilwrote: On Sat, Aug 11, 2012, Erez D wrote about which filesystem: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour boots you report (even one minute looks excessive). Both ext3 and ext4 are journalling filesystems, meaning that after power failures, only a relatively small journal of the last modifications needs to be replayed, rather than going through the entire disk. Is it possible your filesystem for some reason has journalling disabled, or improperly configured? Try tune2fs -l on your filesystem and look for suspicious parameters. Look at Filesystem features and verify there is has_journal. See that it doesn't force a full fsck every time (Maximum mount count can very well be -1 and check interval 0). it fails fsck on boot, so i have to mount without it, and later do a manual fsck ( without -a or -p ) and this takes around an hour. see below for tun2fs -l output: erez@h53:~$ sudo tune2fs -l /dev/sdb3 tune2fs 1.41.12 (17-May-2010) Filesystem volume name: none Last mounted on: not available Filesystem magic number: 0xEF53 Filesystem revision #:1 (dynamic) Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file Filesystem flags: signed_directory_hash Default mount options:(none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 121069568 Block count: 484274688 Reserved block count: 24213734 Free blocks: 231623057 Free inodes: 117872828 First block: 0 Block size: 4096 Fragment size:4096 Reserved GDT blocks: 908 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 8192 Inode blocks per group: 512 Filesystem created: Sat Sep 11 10:16:51 2010 Last mount time: Sat Aug 11 21:01:37 2012 Last write time: Sat Aug 11 21:01:37 2012 Mount count: 4 Maximum mount count: 32 Last checked: Sat Aug 11 13:24:22 2012 Check interval: 15552000 (6 months) Next check after: Thu Feb 7 12:24:22 2013 Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 256 Required extra isize: 28 Desired extra isize: 28 Journal inode:8 Default directory hash: half_md4 Journal backup: inode blocks erez@h53:~$ -- Nadav Har'El|Saturday, Aug 11 2012, 24 Av 5772 n...@math.technion.ac.il |- Phone +972-523-790466, ICQ 13349191 |This signature was intentionally left http://nadav.harel.org.il |boring. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
On Sat, Aug 11, 2012 at 11:30 PM, Michael Shiloh michaelshiloh1...@gmail.com wrote: On 08/11/2012 12:28 PM, Nadav Har'El wrote: On Sat, Aug 11, 2012, Erez D wrote about which filesystem: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour boots you report (even one minute looks excessive). Both ext3 and ext4 are journalling filesystems, meaning that after power failures, only a relatively small journal of the last modifications needs to be replayed, rather than going through the entire disk. Is it possible your filesystem for some reason has journalling disabled, or improperly configured? Try tune2fs -l on your filesystem and look for suspicious parameters. Look at Filesystem features and verify there is has_journal. See that it doesn't force a full fsck every time (Maximum mount count can very well be -1 and check interval 0). Might also be the disk going bad - perhaps check with the S.M.A.R.T. utility smartmontools erez@h53:~$ sudo smartctl /dev/sdb3 --all smartctl 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Device: WD My Book 1110 Version: 2003 Serial number: WCAVY4118123 Device type: disk Local Time is: Sun Aug 12 11:28:16 2012 IDT Device does not support SMART Error Counter logging not supported No self-tests have been logged erez@h53:~$ :-( __**_ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/**mailman/listinfo/linux-ilhttp://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
You use vi, I see... You will now need to hide from the e-police, I just denounced you. m ---MAV m...@bard.org.il On Sat, Aug 11, 2012 at 11:06 PM, Diego Iastrubni elc...@kde.org wrote: On שבת 11 אוגוסט 2012 14:59:29 Marc Volovic wrote: IMHO - xfs Sent from my iPhone I am sorry. I cannot take you seriously when I read those two sentences together. Please read chapters 3, 5 and 8 of the vim manual as atonement. Here are the links, don't even waste time looking for them: http://vimdoc.sourceforge.net/htmldoc/usr_03.html http://vimdoc.sourceforge.net/htmldoc/usr_05.html http://vimdoc.sourceforge.net/htmldoc/usr_08.html ;-) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
IMHO - xfs Sent from my iPhone So topes font cont On Aug 11, 2012, at 14:42, Erez D erez0...@gmail.com wrote: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... i am looking to replace the ext4 file system with something better: 1. stable 2. more resilient to power failures 3. short fsck time 4, supported out of the box (i may want to mount this external disk on other computers with other linux distros e.g. centos). what can you recommend ? thanks, erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
On Sat, Aug 11, 2012 at 2:37 PM, Erez D erez0...@gmail.com wrote: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... i am looking to replace the ext4 file system with something better: 1. stable 2. more resilient to power failures 3. short fsck time 4, supported out of the box (i may want to mount this external disk on other computers with other linux distros e.g. centos). what can you recommend ? thanks, erez. That's odd. At work I've got a number of Fedora 17 machines w/ ext4, (with our w/o software RAID) and a *very* flaky power network. As a result, from time to time one of our el-cheapo UPS' dies and the machines forcefully powers down. Thus far, I've only seen ext4 goes into full fsck once or twice. ... Have you checked the drive's ext4 settings? Maybe Ubuntu installer was too paranoid? - Gilboa ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
On Sat, Aug 11, 2012, Erez D wrote about which filesystem: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour boots you report (even one minute looks excessive). Both ext3 and ext4 are journalling filesystems, meaning that after power failures, only a relatively small journal of the last modifications needs to be replayed, rather than going through the entire disk. Is it possible your filesystem for some reason has journalling disabled, or improperly configured? Try tune2fs -l on your filesystem and look for suspicious parameters. Look at Filesystem features and verify there is has_journal. See that it doesn't force a full fsck every time (Maximum mount count can very well be -1 and check interval 0). -- Nadav Har'El|Saturday, Aug 11 2012, 24 Av 5772 n...@math.technion.ac.il |- Phone +972-523-790466, ICQ 13349191 |This signature was intentionally left http://nadav.harel.org.il |boring. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
On שבת 11 אוגוסט 2012 14:59:29 Marc Volovic wrote: IMHO - xfs Sent from my iPhone I am sorry. I cannot take you seriously when I read those two sentences together. Please read chapters 3, 5 and 8 of the vim manual as atonement. Here are the links, don't even waste time looking for them: http://vimdoc.sourceforge.net/htmldoc/usr_03.html http://vimdoc.sourceforge.net/htmldoc/usr_05.html http://vimdoc.sourceforge.net/htmldoc/usr_08.html ;-) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: which filesystem
On 08/11/2012 12:28 PM, Nadav Har'El wrote: On Sat, Aug 11, 2012, Erez D wrote about which filesystem: hello i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10 amd64) every time there is a power failure. i need to do a manual fsck on this disk. and this takes around an hour ... I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour boots you report (even one minute looks excessive). Both ext3 and ext4 are journalling filesystems, meaning that after power failures, only a relatively small journal of the last modifications needs to be replayed, rather than going through the entire disk. Is it possible your filesystem for some reason has journalling disabled, or improperly configured? Try tune2fs -l on your filesystem and look for suspicious parameters. Look at Filesystem features and verify there is has_journal. See that it doesn't force a full fsck every time (Maximum mount count can very well be -1 and check interval 0). Might also be the disk going bad - perhaps check with the S.M.A.R.T. utility smartmontools ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il