Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Question about fstab

  1. #1
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    63

    Default Question about fstab

    sudo mount /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2F0E7RE-part9 /dati
    it's ok.

    But if i modify my /etc/fstab:
    /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2F0E7RE-part9 /dati ext3 acl,user_xattr 0 0
    and i logout from the session and rather then i reaccess the folder dati don't contain any data.

    /dati
    Group: users
    Owner: myself

  2. #2
    palladium NNTP User

    Default Re: Question about fstab

    i'd never seen that user_xattr before so wonder if you have configured
    your POSIX Access Control Lists

    and, also i wonder if you modified fstab (and saved it with root
    powers) and *then* rebooted (i may be wrong, but i think just logging
    out from that session, and then back in will cause the partition to be
    mounted--so if is not mounted, then it must empty, right?)

    --
    palladium

  3. #3

    Default Re: Question about fstab

    changes in /etc/fstab will have effect after reboot

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Question about fstab

    Do this via Yast - System - Partitioner. It will avoid spaces, wrong attributes etc.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    63

    Default Re: Question about fstab

    Quote Originally Posted by Rhaddamant View Post
    changes in /etc/fstab will have effect after reboot
    I have hope was sufficient simply close the session.

    However now go good.

    Knurpht
    When possible i prefer avoid graphical systems to resolve problem.

  6. #6

    Default Re: Question about fstab

    I forgot to set mount points for an ntfs and fat32 partition on a 11.2 install. In the past I have successfully edited fstab and added partition mount points. However, on 11.2 this didn't work. I even tried the older /dev/sda5 type syntax as an alternative.

    First I cleaned up fstab by removing all my edits (back to original condition) and verified my off system backups were good. Then I used the YaST->System->Partitioner (a graphical interface), selected the partition and used Edit only to add the mount point. I crossed my fingers, took a big gulp and ran the partitioner. It correctly installed the mount points. Afterwards I rebooted to check it and everything was good.

    The ntfs is an installed XP multi-boot and it still boots. Still running partitioner software on an otherwise functional partition takes real faith. If you mess up, you have backups and a reinstall.
    Last edited by Mike_unique; 23-Nov-2009 at 16:12. Reason: to fix a formatting mistake

  7. #7

    Default Re: Question about fstab

    Quote Originally Posted by Rhaddamant View Post
    changes in /etc/fstab will have effect after reboot
    Wrong.
    They'll have effect next time you mount a file system.

  8. #8

    Default Re: Question about fstab

    Quote Originally Posted by alexopensuse View Post
    and i logout from the session and rather then i reaccess the folder dati don't contain any data.
    That's probably just because there's nothing mounted in it.
    To find out which filesystems are currently mounted, just type : "sudo mount" (without argument) in a terminal.

  9. #9

    Default Re: Question about fstab

    Quote Originally Posted by please_try_again View Post
    Wrong.
    ...
    Perfectly correct, actually. They may take effect when you reboot *because* the filesystem is remounted, but they still take effect when you reboot - and given the context, it was a perfectly decent answer.

    If you want to be a pedant...

  10. #10

    Default Re: Question about fstab

    ?!
    When you reboot, they definitely take effect. But you don't have to reboot for fstab changes to take effect, it's enough to umount/remount a filesystem. There is nothing wrong with that, it's just a fact. It might not be possible with any fs (like / or /var) nor in any situation, but for a filesystem, obviously containing data, which was supposed to be mounted in the folder /dati, you can edit fstab hundred times and remount /dati without rebooting. So the correct answer is: Don't reboot because of that! Don't even close your session! Take the right changes in fstab and remount your filesystem properly. That doesn't mean that you should not reboot or restart your session. You can do that if you enjoy rebooting. It's just not necessary. And you wouldn't reboot either if you had to write mountpoints in fstab for too many filesystems.

Page 1 of 2 12 LastLast

Posting Permissions

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