- Package:
- debian-installer
- Source:
- debian-installer
- Description:
- Debian Installer documentation
- Submitter:
- Gonzalo Marcote
- Date:
- 2014-09-05 08:42:17 UTC
- Severity:
- important
Dear Maintainer, * What led up to the situation? After a new clean jessie installation df command or mount command does not show / root parition: # df -hT; mount; cat /etc/fstab S.ficheros Tipo Tamaño Usados Disp Uso% Montado en tmpfs tmpfs 100M 16K 100M 1% /run/user tmpfs tmpfs 5,0M 4,0K 5,0M 1% /run/lock /dev/sda1 ext2 236M 28M 196M 13% /boot /dev/mapper/pulsar-home ext4 44G 360M 41G 1% /home tmpfs on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) tmpfs on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) /dev/sda1 on /boot type ext2 (rw) /dev/mapper/pulsar-home on /home type ext4 (rw) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=gonzalo) # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/pulsar-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=df632593-6e32-4c35-836a-b45c4a0e67bf /boot ext2 defaults 0 2 /dev/mapper/pulsar-home /home ext4 defaults 0 2 /dev/mapper/pulsar-swap_1 none swap sw 0 0 However blkid show them correctly and the system is working fine: $ sudo blkid /dev/sda2: UUID="2zoKtY-yUy6-zznJ-xGJS-F4x7-Asy0-vKmuWb" TYPE="LVM2_member" /dev/sda1: UUID="df632593-6e32-4c35-836a-b45c4a0e67bf" TYPE="ext2" /dev/mapper/pulsar-root: UUID="cb7197c2-3dee-4475-a97b-7553e9348efa" TYPE="ext4" /dev/mapper/pulsar-swap_1: UUID="9cca7329-f0dd-4c0b-a946-eeef54fe1998" TYPE="swap" /dev/mapper/pulsar-home: UUID="e6b9261d-77d8-4fb5-81f8-f9aaac6beb86" TYPE="ext4" * What outcome did you expect instead? df or mount should show all partitions. In this way is very difficult to show how much space is used in root partition. If more info is needed do not hesitate to ask for it. Best regards, Gonzalo
reassign 760501 debian-installer thanks Sounds like a problem with /etc/mtab configuration. It doesn't sound like a coreutils problem if it's also affecting mount. What is the output of ls -l /etc/mtab cat /etc/mtab Mike Stone
Hi Mike, Here is the output: # ls -l /etc/mtab -rw-r--r-- 1 root root 387 sep 5 10:02 /etc/mtab # cat /etc/mtab tmpfs /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0 tmpfs /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0 /dev/sda1 /boot ext2 rw 0 0 /dev/mapper/pulsar-home /home ext4 rw 0 0 rpc_pipefs /run/rpc_pipefs rpc_pipefs rw 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=gonzalo 0 0 However in another jessie installations I see that /etc/mtab is a symlink that points to /proc/mounts In my case I did one jessie install over one previous partitioned LVM structure (from another previous distro). And I did another installation in nother PC with the same weekly jessie iso and this didn't happen. So how seems that mtab is not complete. So should I create one symlink from /etc/mtab to /proc/mounts? Regards This is the /proc/mounts output: # cat /proc/mounts rootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=492960,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=792100k,mode=755 0 0 /dev/mapper/pulsar-root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0 mqueue /dev/mqueue mqueue rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0 fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0 tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 tmpfs /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0 0 /dev/sda1 /boot ext2 rw,relatime 0 0 /dev/mapper/pulsar-home /home ext4 rw,relatime,data=ordered 0 0 rpc_pipefs /run/rpc_pipefs rpc_pipefs rw,relatime 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0 gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0 2014-09-04 23:17 GMT+02:00 Michael Stone <mstone@debian.org>:
I went ahead and created one symlink from /etc/mtab to /proc/mounts and now I show the info without issues: # ls -l /etc/mtab; df -hT; mount *lrwxrwxrwx 1 root root 12 sep 5 10:30 /etc/mtab -> /proc/mounts* S.ficheros Tipo Tamaño Usados Disp Uso% Montado en */dev/mapper/pulsar-root ext4 7,1G 4,5G 2,3G 68% /* udev devtmpfs 10M 0 10M 0% /dev tmpfs tmpfs 774M 8,9M 765M 2% /run tmpfs tmpfs 1,9G 14M 1,9G 1% /dev/shm tmpfs tmpfs 1,9G 0 1,9G 0% /sys/fs/cgroup tmpfs tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs tmpfs 100M 20K 100M 1% /run/user /dev/sda1 ext2 236M 28M 196M 13% /boot /dev/mapper/pulsar-home ext4 44G 1,6G 40G 4% /home sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=492960,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,relatime,size=792100k,mode=755) */dev/mapper/pulsar-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)* securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) mqueue on /dev/mqueue type mqueue (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755) /dev/sda1 on /boot type ext2 (rw,relatime) /dev/mapper/pulsar-home on /home type ext4 (rw,relatime,data=ordered) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)--- If you need more info from my side for why this happened on the installation I will be glad to provide it. Regards, 2014-09-05 10:21 GMT+02:00 Gonzalo Marcote Peña <gonzalomarcote@gmail.com>: