Announcement

Collapse
No announcement yet.

problem with mount in 24.04

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] problem with mount in 24.04

    I have several issues. Here is the first one. I have as usual copied in the part of /etc/fstab for my local parititions. Here it is:

    $ cat fstab
    # /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>
    UUID=E6D2-2465 /boot/efi vfat defaults 0 2
    UUID=668e8ec0-4a8c-4fec-87dd-4fb5468ab9ec / ext4 defaults 0 1
    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    # added by jon
    /dev/sda4 /home/jon/jon-files ext4 defaults 0 2
    /dev/sdc5 /home/jon/music-mp3 ext4 defaults 0 2
    /dev/sdc4 /home/jon/our-pix ext4 defaults 0 2
    #/dev/sdc6 /samba-transfer ext4 defaults 0 2
    UUID=42c241b1-901c-4378-9e9c-0978674716f5 /samba-transfer ext4 defaults 0 2
    Then 'sudo mount' should mount all of them. Instead:

    $ sudo mount
    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,nosuid,relatime,size=3970664k,nr_inodes=992666 ,mode=755,inode64)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode =000)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=801884k,mode =755,inode64)
    /dev/sdb2 on / type ext4 (rw,relatime)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
    tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode6 4)
    cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory _recursiveprot)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
    bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,max proto=5,direct,pipe_ino=3781)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
    mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
    tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
    configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /tmp type tmpfs (rw,noatime,inode64)
    /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,io charset=iso8859-1,shortname=mixed,errors=remount-ro)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=801880k,nr_inodes=2 00470,mode=700,uid=1000,gid=1000,inode64)
    portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=10 00)
    /dev/sda4 on /home/jon/jon-files type ext4 (rw,relatime)
    /dev/sdc5 on /home/jon/music-mp3 type ext4 (rw,relatime)
    /var/lib/snapd/snaps/snapd_21759.snap on /snap/snapd/21759 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    /var/lib/snapd/snaps/core22_1621.snap on /snap/core22/1621 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    /var/lib/snapd/snaps/bare_5.snap on /snap/bare/5 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    /var/lib/snapd/snaps/gnome-42-2204_176.snap on /snap/gnome-42-2204/176 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    /var/lib/snapd/snaps/gtk-common-themes_1535.snap on /snap/gtk-common-themes/1535 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=801884k,mode =755,inode64)
    /var/lib/snapd/snaps/chromium_2965.snap on /snap/chromium/2965 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    /var/lib/snapd/snaps/cups_1058.snap on /snap/cups/1058 type squashfs (ro,nodev,relatime,errors=continue,threads=single, x-gdu.hide,x-gvfs-hide)
    nsfs on /run/snapd/ns/cups.mnt type nsfs (rw)
    nsfs on /run/snapd/ns/chromium.mnt type nsfs (rw)
    /dev/sda2 on /home/jon/mnt-tmp type ext4 (rw,relatime)
    /dev/sdc4 on /home/jon/our-pix type ext4 (rw,relatime)
    /dev/sdc6 on /samba-transfer type ext4 (rw,relatime)




    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    Mount on its own just lists the current mounts (BTW findmnt is better command for that). Perhaps it's mount - a you want?

    As well, using the /dev names in /etc/fstab can cause trouble, as they can change. The installer uses UUIDs, but I much prefer LABELs; see the man page for fstab for an example.
    Regards, John Little

    Comment


      #3
      See https://linux.die.net/man/8/mount
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Originally posted by jlittle View Post
        Mount on its own just lists the current mounts (BTW findmnt is better command for that). Perhaps it's mount - a you want?
        Oops!. My bad. Sorry.

        'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

        Comment

        Working...
        X