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

Thread: strange filesystem error

  1. #1

    Default strange filesystem error

    Hi

    I have a strange problem with the filesystem on my partitions.

    I have installed Thunderbird mail and placed the mailbox on a separate partition.
    The name of the partition is DATA (a partition on sda2)
    Everything works fine but i had to change the filepath to DATA____ (4 underscores) in the profile to get it to work.
    Now a day later I could not get Thunderbird te work and checking the profile and filesystem I had to change the path in the profile to DATA_____ (5 underscores) to get Thunderbird to work.

    Checking in Nautilus I get in /media/ the strange listing:
    DATA ?
    DATA_ ?
    DATA__ ?
    DATA___ ?
    DATA____ ? items map
    DATA_____ 8 items map
    The same type of listing I get for my external disk.
    and sda1 (disk-1, disk-2 etc)
    Is there something wrong with the mounting (multiple) ?
    and how can I get this listing stable

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,830

    Default Re: strange filesystem error

    I seems that you haven not mounted the partition properly. Possibly you left that to HAL. What do you mean with "The name of the partition is DATA"? Is that the volume name?

    It would be usefull for people looking into your problem (including me) when you post the output (as root) of
    Code:
    fdisk -l
    and
    Code:
    cat /etc/fstab
    Henk van Velden

  3. #3
    Niclas Ekstedt NNTP User

    Default Re: strange filesystem error

    fretty,

    >
    > Hi
    >
    > I have a strange problem with the filesystem on my partitions.
    >
    > I have installed Thunderbird mail and placed the mailbox on a separate
    > partition.
    > The name of the partition is DATA (a partition on sda2)


    Is this an external disk perhaps connected over USB?

    > Everything works fine but i had to change the filepath to DATA____ (4
    > underscores) in the profile to get it to work.
    > Now a day later I could not get Thunderbird te work and checking the
    > profile and filesystem I had to change the path in the profile to
    > DATA_____ (5 underscores) to get Thunderbird to work.
    >
    > Checking in Nautilus I get in /media/ the strange listing:
    > DATA ?
    > DATA_ ?
    > DATA__ ?
    > DATA___ ?
    > DATA____ ? items map
    > DATA_____ 8 items map
    > The same type of listing I get for my external disk.
    > and sda1 (disk-1, disk-2 etc)
    > Is there something wrong with the mounting (multiple) ?
    > and how can I get this listing stable


    This happens when the disk is not nicely unmounted during shutdown.
    It leaves the mount point in /media and when on boot it tries to mount it, it
    notices the old mount point and creates a new one with by adding an underscore
    to it.

    I too wants to know the best way to go around this behavior. The way I've done
    it is by adding a remove statement in /etc/boot/init.d/boot.local that simply
    removes the mount point on every startup thus the mount can create the correct
    mount point as there isn't one already in place.

    I know this isn't the best way to go around it, and it is risky as well. But in
    lack of finding an answer this is how I have solved it and it works for me.



    --
    _________________________________________
    Niclas Ekstedt, CNA/CNE/CNS/CLS
    Systems Engineer
    Atea Sverige AB


  4. #4

    Default Re: strange filesystem error

    niclas

    I've been looking around for the right syntax but could not find any.
    Being a newbie on linux i'd rather take no risks.
    can you send me an example syntax so I can work it out it for my system?

    rm -DATA
    rm -DATA_
    rm -DATA__ etc for the first reboot and leave rm -DATA in boot.local

    or do I use umount DATA
    umount DATA_ etcetera

  5. #5
    Niclas Ekstedt NNTP User

    Default Re: strange filesystem error

    fretty,

    >
    > niclas
    >
    > I've been looking around for the right syntax but could not find any.
    >
    > Being a newbie on linux i'd rather take no risks.
    > can you send me an example syntax so I can work it out it for my
    > system?


    All that's needed in your case as your volume is called DATA is to add the
    following line to /etc/init.d/boot.local

    rm -rf /media/DATA

    Problem with this command is that it deletes /media/DATA and all subdirectories
    and files below this directory. This shouldn't be a problem normally as the USB
    disks is mounted later during the boot process. But I would highly advise when
    you try this out you use a test disk with no vital information on, as you may
    otherwise risk loosing the data. I can't stress this enough!
    As I mentioned it's a risky solution but it has worked well for me, and I have 7
    USB disks connected to my system.


    --
    _________________________________________
    Niclas Ekstedt, CNA/CNE/CNS/CLS
    Systems Engineer
    Atea Sverige AB


  6. #6

    Default Re: strange filesystem error

    Thank you for your reply

    I found out that one of my drives had a space in the name
    (HD EXTERNAL) I changed the name into HD_EXTERNAL and mounting/unmounting did not give any problems anymore (for now at least)
    I have deleted all the DATA____ and HD EXTERNAL from /media directory and I think everything works fine now

    I will save your reply just in case.

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,830

    Default Re: strange filesystem error

    I did ask you for some more info by executing a few statements. When you do not provide that info, but only complain that you are "looking around for the right syntax but could not find any. Being a newbie on linux i'd rather take no risks", I do not get that info and it is terrible difficult to help you.
    Henk van Velden

  8. #8
    Niclas Ekstedt NNTP User

    Default Re: strange filesystem error

    fretty,

    Good. And I hope that anyone else will reply to this thread
    with a better solution to this as I'm sure there's a nicer way
    around this.


    --
    _________________________________________
    Niclas Ekstedt, CNA/CNE/CNS/CLS
    Systems Engineer
    Atea Sverige AB


  9. #9

    Default Re: strange filesystem error

    henk

    I did not visit the forum dayly but I did check your suggestions.
    and in the meantime tried to get more information on how to work with open suse, because Niclas has the same problem and found a workaround I only reacted to his suggestions, that does not mean that other suggestions are not used.
    The Volumenames were given in windows and probably not fully accepted on linux /suse.
    changing the volumenames solved the problem however.
    I would place a SOLVED on this item like is possible in ubuntu but there is no way I can change the original titel.

    thanks for your help anyway
    groeten

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,830

    Default Re: strange filesystem error

    As an old grumbler I doubt your problem is solved. May be at the moment things are going as you want them to go, but a problem is realy solved when you understand why.

    As you express your wish to learn, I can only give you the following link which is strongly coupled to your subject:
    SDB:Basics of partitions, filesystems, mount points - openSUSE
    Henk van Velden

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
  •