Announcement

Collapse
No announcement yet.

Unable to verify my root partition is mounted

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to verify my root partition is mounted

    Partition table is as follows: SDA1 - root SDA2 - home -SDA5 - SWAP

    Here is the output I get
    Code:
    rafal@rafal-desktop:~$ grep --color /dev/sda /proc/mounts
    /dev/sda2 /home ext4 rw,noatime,data=ordered 0 0
    rafal@rafal-desktop:~$ grep --color /dev/sda1 /proc/mounts
    rafal@rafal-desktop:~$ grep --color /dev/sda1 /proc/mounts
    root@rafal-desktop:/home/rafal# grep --color /dev/sda1 /proc/mounts
    root@rafal-desktop:/home/rafal# grep --color /dev/sda1 /proc/mounts
    What can I do? Also here is a picture of /proc in dolphin, as soon as I hover or an item it turns to 0bytes, for a glimpse just a glimpse I can see it had x amount of folders or x amount of files. This is the first time I have seen such behavior, it is as if someone does not want me to view these files and what is with the 122 TiB on the bottom, I have NOWHERE near that much space, its just a desktop.
    Click image for larger version

Name:	snapshot23.jpg
Views:	1
Size:	85.8 KB
ID:	648812
    I am not sure if I should start to be worried.
    Last edited by bonkers; Nov 26, 2014, 01:12 PM.

    #2
    Your root partition is mounted (the system wouldn't be running if it wasn't).

    1. Your root partition is likely mounted with it's UUID rather than device name so you won't find it by grepping /proc/mounts for "/dev/sda". However, you should find it if you read the whole thing, or grep for "/dev/disk/by-uuid". You can also just run "mount" to review mounted filesystems.

    2. /proc is not regular directory (http://en.wikipedia.org/wiki/Procfs)

    Comment


      #3
      Originally posted by bonkers View Post
      Code:
      rafal@rafal-desktop:~$ grep --color /dev/sda /proc/mounts
      In all flavors of Ubuntu, grep is already aliased to grep --color=auto. Check for yourself: run the alias command and observe the output.

      Originally posted by bonkers View Post
      What can I do? Also here is a picture of /proc in dolphin
      Run cat /proc/mounts and observe the entire output. You'll see where / is mounted. Here's mine, as an example:
      Code:
      steve@t520:~$ [B]cat /proc/mounts[/B]
      [B][COLOR="#B22222"]rootfs / rootfs rw 0 0[/COLOR][/B]
      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=4017088k,nr_inodes=1004272,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,noexec,relatime,size=805592k,mode=755 0 0
      [B][COLOR="#B22222"]/dev/sda2 / btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0[/COLOR][/B]
      none /sys/fs/cgroup tmpfs rw,relatime,size=4k,mode=755 0 0
      none /sys/fs/fuse/connections fusectl rw,relatime 0 0
      none /sys/kernel/debug debugfs rw,relatime 0 0
      none /sys/kernel/security securityfs rw,relatime 0 0
      none /sys/firmware/efi/efivars efivarfs rw,relatime 0 0
      tmpfs /tmp tmpfs rw,noatime 0 0
      none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
      none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
      none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0 0
      none /sys/fs/pstore pstore rw,relatime 0 0
      /dev/sda1 /boot/efi vfat rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
      /dev/sda2 /home btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
      binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
      systemd /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/run/cgmanager/agents/cgm-release-agent.systemd,name=systemd 0 0

      Comment

      Working...
      X