Am Montag, 9. Mai 2011 schrieb Thilo Six: > Andrei Popescu wrote the following on 09.05.2011 09:18 > > >> rd@blackbox:~$ mount|grep rootfs > >> rootfs on / type rootfs (rw) > >> rd@blackbox:~$ > > > > I don't have any 'rootfs' in the output of mount, instead I have this: > > > > /dev/sda6 on / type ext3 (rw,noatime,errors=remount-ro,commit=0) > > > > I have a feeling there's more to your setup that is missing here. Could > > you please post your complete /etc/fstab and full output of 'mount'? > > > > Regards, > > Andrei > > and the content of '/boot/grub/device.map'
Thank you for your replies. Maybe the /boot/grub/device.map is interesting, because the SSD (sdc) is missing in there (!): blackbox:~# cat /boot/grub/device.map (hd0) /dev/disk/by-id/ata-ST3120023A_3KA1BNGQ (hd1) /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1FPB79563 blackbox:~# How is the device.map file updated? By whom? The information Andrei asked for is also not fully conclusive for me in particular in conjunction with the Ted Tso's bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=9;bug=616317 as pointed out by Florian [the full data are appended]: I tested three setups: 1) Setup: rootflags and UUID fstab entry (the one I had before): Result: no configured options for root filesystem rd@blackbox:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=4a4eb948-2d2b-4188-96ae-76a3776ae69c ro quiet elevator=noop rootflags=noatime,discard,data=ordered,errors=remount-ro rd@blackbox:~$ from /etc/fstab: UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 rd@blackbox:~$ mount rootfs on / type rootfs (rw) [...] 2) Setup: rootflags and /dev/... fstab entry Result: root filesystem gets configured options (in addition the findfs issue goes away, I posted at http://lists.debian.org/debian-user/2011/05/msg00544.html ) rd@blackbox:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=4a4eb948-2d2b-4188-96ae-76a3776ae69c ro quiet elevator=noop rootflags=noatime,discard,data=ordered,errors=remount-ro From /etc/fstab: /dev/disk/by-uuid/4a4eb948-2d2b-4188-96ae-76a3776ae69c / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 rd@blackbox:~$ mount /dev/sdc1 on / type ext4 (rw,noatime,discard,data=ordered,errors=remount-ro) 3) Setup: no rootfsflags and /dev/... fstab entry Result: root filesystem gets configured options rd@blackbox:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=4a4eb948-2d2b-4188-96ae-76a3776ae69c ro quiet elevator=noop from /etc/fstab: /dev/disk/by-uuid/4a4eb948-2d2b-4188-96ae-76a3776ae69c / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 rd@blackbox:~$ mount /dev/sdc1 on / type ext4 (rw,noatime,discard,data=ordered,errors=remount-ro) The result of the third configuration (and to some extend also the first configuration) is unexpected for me in the bug report from Ted Tso: "[...] Debian simply doesn't support the mount options for the root file system in /etc/fstab having any effect on how the root file system is mounted. The root file system is mounted by the kernel, and the mount options used by the kernel are specified by the rootflags= option on the kernel's boot command line. [...]" Does anybody understand how both, my data and Ted's report make sense? Can we be sure that the output of the mount command reflects the system state (or does it even display wrong information in some configurations I did)? Many thanks, Rainer Full outputs: ### rootflags and UUID fstag entry ====================== rd@blackbox:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=4a4eb948-2d2b-4188-96ae-76a3776ae69c ro quiet elevator=noop rootflags=noatime,discard,data=ordered,errors=remount-ro rd@blackbox:~$ mount tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) rootfs on / type rootfs (rw) /dev/sdb7 on /mnt/disk/home type ext3 (rw) /dev/sdc2 on /home type ext4 (rw,noatime,discard,data=ordered) /dev/sdb6 on /mnt/disk/opt type ext3 (rw) /dev/sdb8 on /mnt/disk/exchange type ext3 (rw) tmpfs on /tmp type tmpfs (rw,noexec,nosuid,nodev,mode=1777) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /scratchbox on /scratchbox/users/rd/scratchbox type none (rw,bind) /tmp on /scratchbox/users/rd/tmp type none (rw,bind) /proc on /scratchbox/users/rd/proc type none (rw,bind) /dev on /scratchbox/users/rd/dev type none (rw,bind) /dev/pts on /scratchbox/users/rd/dev/pts type none (rw,bind) /dev/shm on /scratchbox/users/rd/dev/shm type none (rw,bind) /sys on /scratchbox/users/rd/sys type none (rw,bind) rd@blackbox:~$ cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # use blkid to check uuid/partition correlation #/dev/sdc1: LABEL="root_ssd" UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" TYPE="ext4" # the options are not evaluated for /, use rootflags in /boot/grub/grub.cfg instead and run update-grub UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 #/dev/disk/by-uuid/4a4eb948-2d2b-4188-96ae-76a3776ae69c / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 #/dev/sdb7 UUID="1639d3c2-c359-43d5-9fbf-a6c2648c629d" /mnt/disk/home ext3 defaults 0 2 # /dev/sdc2 UUID="8b30f379-55fe-49e5-97b7-0f6e7f63661a" /home ext4 noatime,discard,data=ordered 0 2 # /dev/sdb6 UUID=43ec8df9-154f-4eb7-9624-8314b2584fa4 /mnt/disk/opt ext3 defaults 0 2 # tmp space #/dev/sdb8 UUID="401ecac6-7e48-41da-9cc8-a27e30492152" /mnt/disk/exchange ext3 defaults 0 2 #/dev/sdb2 #LABEL=SWAP, UUID=cfac727c-78d3-4c20-8e08-1a599d42a117 LABEL=SWAP none swap sw 0 0 # backup UUID=8d9095ca-8aff-44bc-8563-367febcc24bf /backup auto defaults,noauto 0 2 #/dev/sdb5 /mnt/sdb5 ext3 noauto 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 # make tmp as ramdisk tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0 #paddy sshfs#rdorsch@paddy:/ /mnt/paddy fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 #sshfs#rdorsch@192.168.178.22:/ /mnt/paddy fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#rd@boko:/ /mnt/boko fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#root@n810:/ /mnt/n810 fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#user@n900:/ /mnt/n900 fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 rd@blackbox:~$ ### rootflags and /dev/ fstab entry ===================== rd@blackbox:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=4a4eb948-2d2b-4188-96ae-76a3776ae69c ro quiet elevator=noop rootflags=noatime,discard,data=ordered,errors=remount-ro rd@blackbox:~$ mount /dev/sdc1 on / type ext4 (rw,noatime,discard,data=ordered,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) /dev/sdb7 on /mnt/disk/home type ext3 (rw) /dev/sdc2 on /home type ext4 (rw,noatime,discard,data=ordered) /dev/sdb6 on /mnt/disk/opt type ext3 (rw) /dev/sdb8 on /mnt/disk/exchange type ext3 (rw) tmpfs on /tmp type tmpfs (rw,noexec,nosuid,nodev,mode=1777) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /scratchbox on /scratchbox/users/rd/scratchbox type none (rw,bind) /tmp on /scratchbox/users/rd/tmp type none (rw,bind) /proc on /scratchbox/users/rd/proc type none (rw,bind) /dev on /scratchbox/users/rd/dev type none (rw,bind) /dev/pts on /scratchbox/users/rd/dev/pts type none (rw,bind) /dev/shm on /scratchbox/users/rd/dev/shm type none (rw,bind) /sys on /scratchbox/users/rd/sys type none (rw,bind) /dev/sdd1 on /media/usb0 type vfat (rw,noexec,nodev,sync,noatime,nodiratime) rd@blackbox:~$ cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # use blkid to check uuid/partition correlation #/dev/sdc1: LABEL="root_ssd" UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" TYPE="ext4" # the options are not evaluated for /, use rootflags in /boot/grub/grub.cfg instead and run update-grub #UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 /dev/disk/by-uuid/4a4eb948-2d2b-4188-96ae-76a3776ae69c / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 #/dev/sdb7 UUID="1639d3c2-c359-43d5-9fbf-a6c2648c629d" /mnt/disk/home ext3 defaults 0 2 # /dev/sdc2 UUID="8b30f379-55fe-49e5-97b7-0f6e7f63661a" /home ext4 noatime,discard,data=ordered 0 2 # /dev/sdb6 UUID=43ec8df9-154f-4eb7-9624-8314b2584fa4 /mnt/disk/opt ext3 defaults 0 2 # tmp space #/dev/sdb8 UUID="401ecac6-7e48-41da-9cc8-a27e30492152" /mnt/disk/exchange ext3 defaults 0 2 #/dev/sdb2 #LABEL=SWAP, UUID=cfac727c-78d3-4c20-8e08-1a599d42a117 LABEL=SWAP none swap sw 0 0 # backup UUID=8d9095ca-8aff-44bc-8563-367febcc24bf /backup auto defaults,noauto 0 2 #/dev/sdb5 /mnt/sdb5 ext3 noauto 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 # make tmp as ramdisk tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0 #paddy sshfs#rdorsch@paddy:/ /mnt/paddy fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 #sshfs#rdorsch@192.168.178.22:/ /mnt/paddy fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#rd@boko:/ /mnt/boko fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#root@n810:/ /mnt/n810 fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#user@n900:/ /mnt/n900 fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 rd@blackbox:~$ ### no rootflags and /dev fstab entry ======================= rd@blackbox:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=4a4eb948-2d2b-4188-96ae-76a3776ae69c ro quiet elevator=noop rd@blackbox:~$ mount /dev/sdc1 on / type ext4 (rw,noatime,discard,data=ordered,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) /dev/sdb7 on /mnt/disk/home type ext3 (rw) /dev/sdc2 on /home type ext4 (rw,noatime,discard,data=ordered) /dev/sdb6 on /mnt/disk/opt type ext3 (rw) /dev/sdb8 on /mnt/disk/exchange type ext3 (rw) tmpfs on /tmp type tmpfs (rw,noexec,nosuid,nodev,mode=1777) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /scratchbox on /scratchbox/users/rd/scratchbox type none (rw,bind) /tmp on /scratchbox/users/rd/tmp type none (rw,bind) /proc on /scratchbox/users/rd/proc type none (rw,bind) /dev on /scratchbox/users/rd/dev type none (rw,bind) /dev/pts on /scratchbox/users/rd/dev/pts type none (rw,bind) /dev/shm on /scratchbox/users/rd/dev/shm type none (rw,bind) /sys on /scratchbox/users/rd/sys type none (rw,bind) rd@blackbox:~$ cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # use blkid to check uuid/partition correlation #/dev/sdc1: LABEL="root_ssd" UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" TYPE="ext4" # the options are not evaluated for /, use rootflags in /boot/grub/grub.cfg instead and run update-grub #UUID="4a4eb948-2d2b-4188-96ae-76a3776ae69c" / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 /dev/disk/by-uuid/4a4eb948-2d2b-4188-96ae-76a3776ae69c / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 #/dev/sdb7 UUID="1639d3c2-c359-43d5-9fbf-a6c2648c629d" /mnt/disk/home ext3 defaults 0 2 # /dev/sdc2 UUID="8b30f379-55fe-49e5-97b7-0f6e7f63661a" /home ext4 noatime,discard,data=ordered 0 2 # /dev/sdb6 UUID=43ec8df9-154f-4eb7-9624-8314b2584fa4 /mnt/disk/opt ext3 defaults 0 2 # tmp space #/dev/sdb8 UUID="401ecac6-7e48-41da-9cc8-a27e30492152" /mnt/disk/exchange ext3 defaults 0 2 #/dev/sdb2 #LABEL=SWAP, UUID=cfac727c-78d3-4c20-8e08-1a599d42a117 LABEL=SWAP none swap sw 0 0 # backup UUID=8d9095ca-8aff-44bc-8563-367febcc24bf /backup auto defaults,noauto 0 2 #/dev/sdb5 /mnt/sdb5 ext3 noauto 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 # make tmp as ramdisk tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0 #paddy sshfs#rdorsch@paddy:/ /mnt/paddy fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 #sshfs#rdorsch@192.168.178.22:/ /mnt/paddy fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#rd@boko:/ /mnt/boko fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#root@n810:/ /mnt/n810 fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 sshfs#user@n900:/ /mnt/n900 fuse user,uid=1000,gid=1000,reconnect,noauto 0 0 rd@blackbox:~$ -- Rainer Dorsch Lärchenstr. 6 D-72135 Dettenhausen 07157-734133 email: rdor...@web.de jabber: rdor...@jabber.org GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/
signature.asc
Description: This is a digitally signed message part.