[Bug 603966] Re: Disk check on every boot

2010-12-12 Thread Launchpad Bug Tracker
[Expired for e2fsprogs (Ubuntu) because there has been no activity for 60 days.] ** Changed in: e2fsprogs (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/60

[Bug 603966] Re: Disk check on every boot

2010-08-20 Thread P Jones
After powering off my laptop and powering it back on a few hours later, the disk checks are back... -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailin

[Bug 603966] Re: Disk check on every boot

2010-08-19 Thread P Jones
I commented out the "/smb <--> /etc/auto.smb" line in my /etc/auto.master and rebooted twice. On the second (and now third) reboots, no disk check. And now I have an empty /1 file and an empty /umount-local.out . -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this

[Bug 603966] Re: Disk check on every boot

2010-08-19 Thread P Jones
@Surbhi Ok, now in / I have an empty (again) umount-local.out, but I also have a file named "1" that has this as its contents: umount2: Device or resource busy umount: /smb busy - remounted read-only Segmentation fault -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You recei

[Bug 603966] Re: Disk check on every boot

2010-08-16 Thread Surbhi Palande
@P Jones, Please add the 2>1 | tee /umount-local.out to the else part of the local filesystem. I have pasted the snippet here. then if [ "$VERBOSE" = no ] then log_action_begin_msg "Unmounting local filesystems" fstab-decode umount -f -r -d $REG_MTPTS log_action_end_msg $? else

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread P Jones
umount-local.out is a zero length file. My edited /etc/init.d/umountfs is pasted below for your review. #! /bin/sh ### BEGIN INIT INFO # Provides: umountfs # Required-Start: # Required-Stop: umountroot # Default-Start: # Default-Stop: 0 6 # Short-Description: Turn off swap and un

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread P Jones
pjo...@dragon:~$ ls -lh /etc/rc6.d/ total 4.0K lrwxrwxrwx 1 root root 24 2010-07-16 09:44 K20openvas-server -> ../init.d/openvas-server lrwxrwxrwx 1 root root 17 2010-06-12 16:00 K20vboxdrv -> ../init.d/vboxdrv lrwxrwxrwx 1 root root 20 2010-06-12 14:12 K31atieventsd -> ../init.d/atieventsd lr

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread P Jones
pjo...@dragon:~$ ls -lh /etc/rc0.d/ total 4.0K lrwxrwxrwx 1 root root 24 2010-07-16 09:44 K20openvas-server -> ../init.d/openvas-server lrwxrwxrwx 1 root root 17 2010-06-12 16:00 K20vboxdrv -> ../init.d/vboxdrv lrwxrwxrwx 1 root root 20 2010-06-12 14:12 K31atieventsd -> ../init.d/atieventsd lr

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread Theodore Ts'o
Out of curiosity, was this a change (formatting small /boot partitions using ext2) something that started with Lucid? I wonder if the issue of not correctly umounting /boot has been around for a while, but was masked by the fact that the journal was getting replayed automatically by fsck and/or th

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread Colin Watson
And just to clarify further, the need for a separate /boot is rare nowadays; encrypted / is one of the few remaining cases. Obviously we don't use ext2 by default for larger filesystems. -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread Surbhi Palande
@Ted Tso, Thanks a lot for your help with this bug resolution. I brought up the issue of /boot being formatted as ext2 by default. It seems that, currently, a user can opt to format /boot with another fs but by default as of now /boot is formatted with ext2. This conscious decision tends to arise f

[Bug 603966] Re: Disk check on every boot

2010-08-13 Thread Surbhi Palande
@P Jones, Thanks for the output files. /dev/sda1 is not getting unmounted at reboot or halt time, which is why it is getting checked at every boot. Can you please copy paste the output of: 1) ls -lh /etc/rc0.d/ 2) ls -lh /etc/rc6.d/ And then: open your /etc/init.d/umountfs and then add the foll

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
I assume the last instruction is supposed to be tune2fs -l /dev/sda1 2>&1 > //tune2fs-sda1.fresh, NOT tune2fs -l /dev/sda2 2>&1 > //tune2fs-sda1.fresh (notice the /dev/sda2 after the -l switch). Output of tune2fs -l /dev/sda1 2>&1 > /tmp /tune2fs-sda1.fresh is attached. ** Attachment added: "tune2

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
/dev/mountall.log renamed to mountall-fresh.log attached. ** Attachment added: "mountall-fresh.log" http://launchpadlibrarian.net/53518048/mountall-fresh.log -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubunt

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
tune2fs -l /dev/sda1 2>&1 > /root/tune2fs-sda1-after-reboot attached. ** Attachment added: "tune2fs-sda1-after-reboot" http://launchpadlibrarian.net/53517759/tune2fs-sda1-after-reboot -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
/dev/mountall.log renamed to mountall-reboot.log attached. ** Attachment added: "mountall-reboot.log" http://launchpadlibrarian.net/53517692/mountall-reboot.log -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ub

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
tune2fs -l /dev/sda1 2>&1 > /root/tune2fs-sda1.after-fsck attached. ** Attachment added: "tune2fs-sda1.after-fsck" http://launchpadlibrarian.net/53517586/tune2fs-sda1.after-fsck -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you a

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
fsck -V -t ext2 /dev/sda1 2>&1 > /root/fsck-sda1.out attached. ** Attachment added: "fsck-sda1.out" http://launchpadlibrarian.net/53517564/fsck-sda1.out -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bug

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread P Jones
tune2fs -l /dev/sda1 2>&1 > /root/tune2fs-sda1.before-fsck attached. ** Attachment added: "tune2fs-sda1.before-fsck" http://launchpadlibrarian.net/53517544/tune2fs-sda1.before-fsck -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because yo

[Bug 603966] Re: Disk check on every boot

2010-08-11 Thread Surbhi Palande
P Jones, looks like this time, your /boot or /dev/sda2 was not fscked. Line from your mountall.log: "/dev/sda1: clean, 224/124496 files, 99974/248832 blocks" indicates that fsck was invoked but did not go through the entire filesystem, instead only read through the super block the filesystem is

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread P Jones
/dev/mountall.log attached. ** Attachment added: "mountall.log" http://launchpadlibrarian.net/53432910/mountall.log -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread P Jones
Output of tune2fs -l /dev/mapper/dragon-root 2>&1 > /tmp/tune2fs-root ** Attachment added: "tune2fs-root" http://launchpadlibrarian.net/53432329/tune2fs-root -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubunt

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread P Jones
Output of tune2fs -l /dev/sda1 2>&1 > /tmp/tune2fs-sda1 ** Attachment added: "tune2fs-sda1" http://launchpadlibrarian.net/53432233/tune2fs-sda1 -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread Theodore Ts'o
Surbhi, The bug reporter said that he did not intentionally chose ext2 as his file system for his file system. I wonder if there is also an installer bug hiding here? -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member o

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread Surbhi Palande
@ P Jones, can you do the following: 1) Before rebooting: sudo -s a) umount /boot b) tune2fs -l /dev/sda1 2>&1 > //tune2fs-sda1. Attach this output here. c) tune2fs -l /dev/mapper/dragon-root 2>&1 > //tune2fs-root. Attach this output here. d) As Johan Kiviniemi has suggested, add

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread Surbhi Palande
** Changed in: e2fsprogs (Ubuntu) Status: Confirmed => Incomplete -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ub

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread Surbhi Palande
ok, so mountall calls fsck for all filesystems, but its upto fsck to do the actual fs check (by looking at the max mount count and interval check). So reassigning the bug to e2fsprogs. ** Package changed: mountall (Ubuntu) => e2fsprogs (Ubuntu) -- Disk check on every boot https://bugs.launchpad.

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread Johan Kiviniemi
Please add ‘--debug >/dev/mountall.log 2>&1’ to the ‘exec mountall…’ line in /etc/init/mountall.conf and reboot the system, reproducing the undesired disk check. Then attach /dev/mountall.log to this bug report. Thanks. -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You receiv

[Bug 603966] Re: Disk check on every boot

2010-08-10 Thread Surbhi Palande
Reassigning this bug to mountall - When a device is not ready by the time a mount is about to be attempted, a wait is performed till udev catches up and discovers the device completely. If such wait is performed then a fsck is always called. Devices under device mapper are susceptible to this w

[Bug 603966] Re: Disk check on every boot

2010-08-09 Thread P Jones
@ Theodore Ts'o: No, it was not my intention to format the /boot partition as ext2. I used the automated option to use the entire disk and encrypt it using the alternate CD. I don't recall being prompted to choose file systems or do the partition layout. Also, I always do a proper shutdown using t

[Bug 603966] Re: Disk check on every boot

2010-08-09 Thread Theodore Ts'o
The file system is not using a journal (i.e., it is an ext2 file system instead of an ext3 or ext4 file system). Was this deliberate? At a guess it looks like it's not getting unmounted for some reason when you shutdown your system, which is why it is getting checked after each shutdown/reboot.

[Bug 603966] Re: Disk check on every boot

2010-08-06 Thread P Jones
fstab attached. ** Attachment added: "fstab_603966" http://launchpadlibrarian.net/53176998/fstab_603966 -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bug

[Bug 603966] Re: Disk check on every boot

2010-08-06 Thread P Jones
tune2fs for /dev/sda1 attached. Since this is an encrypted volume, /dev/sda1 is /boot . ** Attachment added: "tune2fs_output_603966" http://launchpadlibrarian.net/53176987/tune2fs_output_603966 -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notificati

[Bug 603966] Re: Disk check on every boot

2010-08-06 Thread P Jones
apport information ** Tags added: apport-collected ** Description changed: Binary package hint: e2fsprogs On a fully updated (as of 07/10/10) Lucid Lynx, disk check runs on every boot/reboot. No errors are reported. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: e2fsprog

[Bug 603966] Re: Disk check on every boot

2010-08-06 Thread Surbhi Palande
@P Jones, Can you attach the output of: 1) apport-collect 2) sudo tune2fs -l 3) less /etc/fstab Thanks! ** Changed in: e2fsprogs (Ubuntu) Status: New => Incomplete ** Changed in: e2fsprogs (Ubuntu) Assignee: Surbhi Palande (csurbhi) => (unassigned) -- Disk check on every boot h

[Bug 603966] Re: Disk check on every boot

2010-08-06 Thread P Jones
I should add that this issue is occurring on a laptop with full disk encryption installed with the alternate CD, no other OS installed. -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribe

[Bug 603966] Re: Disk check on every boot

2010-08-06 Thread Surbhi Palande
** Changed in: e2fsprogs (Ubuntu) Assignee: (unassigned) => Surbhi Palande (csurbhi) -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubu

[Bug 603966] Re: Disk check on every boot

2010-07-10 Thread P Jones
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/51672913/Dependencies.txt -- Disk check on every boot https://bugs.launchpad.net/bugs/603966 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailin