[Bug 755690] New: lvm volumes didn't get cleanly unmounted on reboot or shutdown
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c0 Summary: lvm volumes didn't get cleanly unmounted on reboot or shutdown Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: chris@computersalat.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Any time I reboot or shutdown/boot my box all LVM volumes got check by fsck on boot. If I do init 1, umount lvm volumes manually, reboot or shutdown. Everything is fine. Reproducible: Always Steps to Reproduce: 1.create software raid 2.create lvm volumes on this software raid 3.reboot or shutdown Actual Results: all lvm volumes get checked by fsck on boot Expected Results: lvm volumes should not get checked. /dev/mapper/my-lvhome on /home type reiserfs (rw,relatime,acl,user_xattr) /dev/mapper/my-lvsrv on /srv type reiserfs (rw,relatime,acl,user_xattr) /dev/mapper/my-lvtmp on /tmp type reiserfs (rw,relatime,acl,user_xattr) /dev/mapper/my-lvvar on /var type reiserfs (rw,relatime,acl,user_xattr) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c kk zhang <kkzhang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@novell.com AssignedTo|bnc-team-screening@forge.pr |xwhu@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c3 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |dmueller@suse.com --- Comment #3 from Christian Wittmer <chris@computersalat.de> 2012-06-10 19:45:18 UTC --- any idea how to solve ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|dmueller@suse.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c4 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Severity|Normal |Major --- Comment #4 from Christian Wittmer <chris@computersalat.de> 2012-07-04 18:42:10 UTC --- :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c5 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |dmueller@suse.com --- Comment #5 from Christian Wittmer <chris@computersalat.de> 2012-08-10 19:35:15 UTC --- Can you please help ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c6 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lchiquitto@suse.com InfoProvider|dmueller@suse.com |chris@computersalat.de --- Comment #6 from Leonardo Chiquitto <lchiquitto@suse.com> 2012-08-13 13:01:03 UTC --- Do you have swap on LVM too? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c7 --- Comment #7 from Christian Wittmer <chris@computersalat.de> 2012-08-13 14:45:42 UTC --- no I don't: chris:~ # fdisk -l /dev/sdf Disk /dev/sdf: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0006d115 Device Boot Start End Blocks Id System /dev/sdf1 * 2048 305151 151552 fd Linux raid autodetect /dev/sdf2 305152 2410495 1052672 82 Linux swap / Solaris /dev/sdf3 2410496 23373823 10481664 fd Linux raid autodetect /dev/sdf4 23373824 976773119 476699648 fd Linux raid autodetect chris:~ # fdisk -l /dev/sdg Disk /dev/sdg: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x44a7efbb Device Boot Start End Blocks Id System /dev/sdg1 * 2048 305151 151552 fd Linux raid autodetect /dev/sdg2 305152 2410495 1052672 82 Linux swap / Solaris /dev/sdg3 2410496 23373823 10481664 fd Linux raid autodetect /dev/sdg4 23373824 976773119 476699648 fd Linux raid autodetect chris:~ # cat /etc/fstab #/dev/disk/by-id/ata-ST3500514NS_9WJ17MN5-part2 swap swap defaults 0 0 #/dev/disk/by-id/ata-ST3500514NS_9WJ17MS7-part2 swap swap defaults 0 0 /dev/disk/by-id/ata-ST500NM0011_Z1M0GPRK-part2 swap swap defaults 0 0 /dev/disk/by-id/ata-ST500NM0011_Z1M0GKSA-part2 swap swap defaults 0 0 #/dev/disk/by-id/md-uuid-bdde4cd0:58f418ca:6ebc8f18:48ab0230 / reiserfs acl,user_xattr 1 1 /dev/md1 / reiserfs acl,user_xattr 1 1 #/dev/disk/by-id/md-uuid-7387e868:1b0ab31d:2f63f95d:af32c60c /boot ext2 acl,user_xattr 1 2 /dev/md0 /boot ext2 acl,user_xattr 1 2 /dev/my/lvhome /home reiserfs acl,user_xattr 1 2 /dev/my/lvsrv /srv reiserfs acl,user_xattr 1 2 /dev/my/lvtmp /tmp reiserfs acl,user_xattr 1 2 /dev/my/lvvar /var reiserfs acl,user_xattr 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 # remote chris|tyan (cifs) //samba/backup /srv/samba/backup cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/burn /srv/samba/burn cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/daten /srv/samba/daten cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 #//samba/devel /srv/devel cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/musik /srv/samba/musik cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/filme /srv/samba/filme cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/install /srv/samba/install cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/iso /srv/samba/ISO cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/misc /srv/samba/misc cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 //samba/web /srv/samba/web cifs credentials=/root/credsmb,uid=admin,file_mode=0644,gid=100 0 0 chris:~ # cat /proc/mdstat Personalities : [raid1] [raid0] [raid10] [raid6] [raid5] [raid4] md2 : active raid1 sdf4[2] sdg4[3] 476699512 blocks super 1.0 [2/2] [UU] bitmap: 2/4 pages [8KB], 65536KB chunk md0 : active raid1 sdf1[2] sdg1[3] 151540 blocks super 1.0 [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk md1 : active raid1 sdf3[2] sdg3[3] 10481592 blocks super 1.0 [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk unused devices: <none> chris:~ # vgdisplay --- Volume group --- VG Name my System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 6 VG Access read/write VG Status resizable MAX LV 0 Cur LV 4 Open LV 4 Max PV 0 Cur PV 1 Act PV 1 VG Size 454.61 GiB PE Size 4.00 MiB Total PE 116381 Alloc PE / Size 71936 / 281.00 GiB Free PE / Size 44445 / 173.61 GiB VG UUID IupEmz-n07e-dc1X-XwrS-k82o-0JCz-2I3aVf chris:~ # lvdisplay --- Logical volume --- LV Name /dev/my/lvhome VG Name my LV UUID g92bXu-Q7Sr-1F7u-DGam-2S9n-Lluz-DVnW1K LV Write Access read/write LV Status available # open 2 LV Size 20.00 GiB Current LE 5120 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Name /dev/my/lvsrv VG Name my LV UUID vpK7Iv-2S64-Q1qv-Joce-ffoP-Ulh0-ylwu2c LV Write Access read/write LV Status available # open 2 LV Size 250.00 GiB Current LE 64000 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Name /dev/my/lvtmp VG Name my LV UUID rtXT5f-kvpd-2OxM-VUim-t1R3-h6Da-dnd5At LV Write Access read/write LV Status available # open 2 LV Size 1.00 GiB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Logical volume --- LV Name /dev/my/lvvar VG Name my LV UUID FGIIJY-yGrw-cfDo-RLxg-cCtR-JYnw-CRyYKu LV Write Access read/write LV Status available # open 2 LV Size 10.00 GiB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c8 --- Comment #8 from Jan Engelhardt <jengelh@inai.de> 2012-09-28 18:14:50 CEST ---
Any time I reboot or shutdown/boot my box all LVM volumes got check by fsck on boot.
/dev/my/lvhome /home reiserfs acl,user_xattr 1 2
How about you actually turn off fscking in the respective fstab entries? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c9 --- Comment #9 from Christian Wittmer <chris@computersalat.de> 2012-09-28 19:50:15 UTC --- SuSE should better "cleanly unmount" the filesystems. If "openSUSE" isn't able to do that, I can ignore trying shutdown and just pull the powercord to switch of my PC instead. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c10 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|chris@computersalat.de | --- Comment #10 from Christian Wittmer <chris@computersalat.de> 2012-09-30 18:20:50 UTC --- fixed by https://bugzilla.novell.com/show_bug.cgi?id=679671#c27 now the package that holds /etc/init.d/halt, should get updated. but: rpm -qa --whatprovides /etc/init.d/halt no package triggers /etc/init.d/halt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c11 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de --- Comment #11 from Christian Boltz <suse-beta@cboltz.de> 2012-10-01 00:21:51 CEST --- (In reply to comment #10)
fixed by https://bugzilla.novell.com/show_bug.cgi?id=679671#c27
If disabling RUN_PARALLEL works, I'd guess there is a race condition somewhere...
now the package that holds /etc/init.d/halt, should get updated. but: rpm -qa --whatprovides /etc/init.d/halt no package triggers /etc/init.d/halt
I'm slightly surprised by this error message - I'd expect "one type of query/verify may be performed at a time". Anyway, use "rpm -qf" to query for a file (hint: /etc/init.d/halt is in aaa_base) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmueller@suse.com |ro@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755690 https://bugzilla.novell.com/show_bug.cgi?id=755690#c12 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #12 from Ruediger Oertel <ro@suse.com> 2013-02-06 13:54:50 UTC --- let's close this. the similar bug 679671 seems to be fixed in 12.1 as 11.4 is discontinued -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com