Find the answer to your Linux question:
Results 1 to 4 of 4
Like Tree3Likes
  • 2 Post By gregm
  • 1 Post By gregm
My fstab Code: # # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> # 315d1466-9396-441f-8191-93c7bef07c1e ../../sda2 # 5b4eb38e-5e98-42f3-a59d-e890a60084d4 ../../sda5 # 603db945-1409-4d77-8ee0-2ced4c651108 ../../sdb1 # 8cd6f2fc-20e1-4484-81af-644ca0017ff1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Andy_Crowd's Avatar
    Join Date
    Sep 2013
    Location
    日不落
    Posts
    66

    Question "mount all" strange error


    My fstab
    Code:
    # 
    # /etc/fstab: static file system information
    #
    # <file system> <dir>   <type>  <options>       <dump>  <pass>
    
    # 315d1466-9396-441f-8191-93c7bef07c1e ../../sda2
    # 5b4eb38e-5e98-42f3-a59d-e890a60084d4 ../../sda5
    # 603db945-1409-4d77-8ee0-2ced4c651108 ../../sdb1
    # 8cd6f2fc-20e1-4484-81af-644ca0017ff1 sda1
    
    UUID=8cd6f2fc-20e1-4484-81af-644ca0017ff1      /             ext4      defaults,noatime      0      1
    UUID=5b4eb38e-5e98-42f3-a59d-e890a60084d4      none          swap      defaults              0      0
    My mount shows
    Code:
    sh-4.2$ mount
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    dev on /dev type devtmpfs (rw,nosuid,relatime,size=1990588k,nr_inodes=497647,mode=755)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    /dev/sda1 on / type ext4 (rw,noatime,data=ordered)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    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=/usr/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,cpuacct,cpu)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    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)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    configfs on /sys/kernel/config type configfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    tmpfs on /tmp type tmpfs (rw)
    sh-4.2$
    My mount all error
    Code:
    sh-4.2# mount all
    mount: can't find all in /etc/fstab
    sh-4.2#
    I am confused about this strange problem.
    I am using Arch linux.

  2. #2
    Linux Engineer
    Join Date
    Dec 2013
    Posts
    1,307
    Shouldn't that be 'mount --all' or 'mount -a'?
    Lakshmipathi and Andy_Crowd like this.

  3. #3
    Just Joined! Andy_Crowd's Avatar
    Join Date
    Sep 2013
    Location
    日不落
    Posts
    66
    Yes

    But still my Swap cannot be mounted and I need swap partition be mounter.
    Even if I have it in my fstab it is still not mounted.

  4. #4
    Linux Engineer
    Join Date
    Dec 2013
    Posts
    1,307
    What is the output of
    Code:
    swapon -s
    Andy_Crowd likes this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •