[SOLVED] mount command and fstab show different file systems

I recently setup my /etc/fstab to mount by LABEL.
  LABEL=ArchLinux        /    ext2    rw,noatime,errors=continue    0    0
  LABEL=Data30GB        /data    ext2    rw,noatime            0    0
When I reboot, these two drives work fine. But I run the "mount" command and it shows:
  /dev/disk/by-uuid/8fac6ab0-3d40-4676-bf30-b23c482b47b9 on / type ext2 (rw,noatime,errors=continue)
  /dev/sdb1 on /data type ext2 (rw,noatime)
I'm curious, why does mount not list things by how the fstab shows them? By the way, I have other drives labeled and mounted by label and it shows the device (i.e. /dev/sdd1) instead of the LABEL as fstab shows on those as well.
Anyone know why?
Last edited by HuckleSmothered (2011-08-06 19:38:35)

LABEL= and UUID= aren't something the kernel understands -- they're tags interpreted by blkid that resolve to a device, e.g.:
$ blkid -lt LABEL=root -o device
/dev/sda2
This functionality is provided by util-linux's libblkid, which /bin/mount links against. In other words, that syntax in /etc/fstab is just a convenience feature.
Last edited by falconindy (2011-08-06 19:30:09)

Similar Messages

  • Btrfs with different file systems for different mount points?

    Hey,
    I finally bought a SSD, and I want to format it to f2fs (and fat to boot on UEFI) and install Arch on it, and in my old HDD I intend to have /home and /var and  try btrfs on them, but I saw in Arch wiki that btrfs "Cannot use different file systems for different mount points.", it means I cannot have a / in f2fs and a /home in btrfs? What can I do? Better use XFS, ZFS or ext4 (I want the faster one)?
    Thanks in advance and sorry my english.

    pedrofleck wrote:Gosh, what was I thinking, thank you! (I still have a doubt: is btrfs the best option?)
    Just a few weeks ago many of us were worrying about massive data loss due to a bug introduced in kernel 3.17 that caused corruption when using snapshots. Because btrfs is under heavy developement, this sort of thing can be expected. That said, I have my entire system running with btrfs. I have 4 volumes, two raid1, a raid0 and a jbod. I also run rsync to an ext4 partition and ntfs. Furthermore I make offline backups as well.
    If you use btrfs make sure you have backups and make sure you are ready to use them. Also, make sure you check sum your backups. rsync has the option to use checksums in place of access times to determine what to sync.

  • I m updated my phone but some problems occured, so i connect it to itunes and it said "your iphone is detected in recovery mode" so i tried restore it but was unsuccessful and it shows different unknown errors such as 14, 2009,1611. Please help

    i m updated my phone but some problems occured, so i connect it to itunes and it said "your iphone is detected in recovery mode" so i tried restore it but was unsuccessful and it shows different unknown errors such as 14, 2009,1611. Please help

    Hello Mubashir surf google and try pressing power and home button at the same time untill apple sign shows up and then leave it .
    Otherwise surf google you mite have to edit you host file in windows , system32
    Let me know if it works

  • [solved] scritpt to check the used space of different file systems

    how to write a scritpt to check the used space of different file systems and print if any file system above 50%
    I used this command to get the different filesystem and their used space
    df -h | grep -v Filesystem |tr -s " " | cut -d" " -f1,5
    Thanks in Advance

    Please try this command:
    df -Ph | tr -s " " | cut -d" " -f1,5 | sed -n "s/\([5-6][0-9]%\)\|\([0-9]\{3\}%\)/&/p"
    It works for me. Good luck
    Tiger Zhang
    .

  • Validate the input file against a given schema inside an orchestration and producing 2 different files based on the validation result

    HI All,
    I have a situation.
    I need to validate the input file against a given schema inside an orchestration and producing 2 different files based on the validation result.
    A predefined success schema in case of  validation success and negative schema structure for validation failure.
    any advice ?

    Hi Rachit,I following the blog
    http://dietergobeyn.be/validating-biztalk-messages-orchestration/ and stuck in few things
    I created a helper class with the name Validation and following code
    [Serializable]
        public class Validation
            private bool _isValid = true;
            public bool Validate(XmlDocument document, Type schema)
                XmlSchemaSet set = new XmlSchemaSet();
                if (typeof(SchemaBase).IsAssignableFrom(schema) && !schema.IsNested)
                    set.Add((Activator.CreateInstance(schema) as SchemaBase).Schema);
                ValidationEventHandler eventHandler = new ValidationEventHandler(HandleValidationError);
                document.Schemas = set;
                document.Validate(eventHandler);
                return _isValid;
            private void HandleValidationError(object sender, ValidationEventArgs ve)
                _isValid = false;
    public static bool ValidateMessage(XLANGMessage msg)
    XmlDocument xDoc = new XmlDocument();
    xDoc = (System.Xml.XmlDocument)msg[0].RetrieveAs(xDoc.GetType());
    Type t = typeof(Schemas.External.Invoice_v3_1);
    Validation validation = new Validation();
    return validation.Validate(xDoc, t);
    First thing, Do i need to write the ValidateMessage method inside the helper class or not ??
    If inside, how to add the reference of schema files in the statement (Type t = typeof(Schemas.External.Invoice_v3_1);)
     I tried adding the reference of my schema project but it is showing error.
    And what is to be written in the ValidateMessage expression shape in Orchestration ?
    Really appreciate your help.

  • Df and du showing different outputs on 5.8

    hi all,
    On 5.8 Solaris box, the df and du are showing around 20Mb space difference. the file systems are part of veritas cluster and showing 100% and 99% full.
    bash-2.03$ uname -a
    SunOS mybox 5.8 Generic_117350-38 sun4u sparc SUNW,Sun-Fire-880
    will you suggest any known bug and a fix like path, please get back for any additional information.

    these file systems belongs to oracle datafiles and there are many file system with the same status. i am also looking for any known bugs on df or du which can cause this issue.
    can you infer any thing from this info....
    bash-2.03$ df -k /ars/u01
    Filesystem kbytes used avail capacity Mounted on
    /dev/vx/dsk/remedydg/u01vol
    6184960 6136477 45457 100% /ars/u01
    bash-2.03$ du -k /ars/u01
    0 /ars/u01/lost+found
    6118499 /ars/u01/oradata/ARS
    6118499 /ars/u01/oradata
    6118499 /ars/u01
    bash-2.03$ df -g /ars/u01
    /ars/u01 (/dev/vx/dsk/remedydg/u01vol): 8192 block size 1024 frag size
    12369920 total blocks 96966 free blocks 90914 available 12136 total files
    12118 free files 65363856 filesys id
    vxfs fstype 0x00000004 flag 255 filename length
    bash-2.03$ /usr/lib/fs/vxfs/df -F vxfs -k /ars/u01
    Filesystem kbytes used avail capacity mounted on
    /dev/vx/dsk/remedydg/u01vol 6184960 6139503 45457 99% /ars/u01

  • Software inventory report and PC show different information

    Hi,
    The scenario is the following:
    SCCM 2012 R2.
    Clients with windows 8.
    The report "Software registered in Add Remove Programs on a specific computer" and "Programs and Features" show different information.
    Programs and features screenshot(ordered by name):
    Report screenshot (ordered by name):
    The question is:
    Is the above normal behavior?
    if not
    How to get in the report "Software registered in Add Remove Programs on a specific computer" all of the software listed in "Programs and Features"?
    Thanks in advance!

    Take a look at that device in Resource Explorer.  Notice that on a 64-bit device there is an 'Installed Applications' class and and 'Installed Applications (64)' class.  This data comes from the registry, and on a 64-bit operating system there
    are actually two separate 'Add/Remove Programs' lists that are aggregated in the OS user interface.
    If in Resource Explorer you see all of the software you expect to see, but not in the report, it is likely because the report is only looking at the 'Installed Applications' class and and not 'Installed Applications (64)' class.
    If you enable the 'Installed Software' class (either by going into the client settings or the AI node), you will notice that the 'Installed Software' class is a combined version of both the 32-bit and 64-bit applications.  This is much easier to report
    off of.
    I hope that helps, 
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you've found a bug or want the product worked differently,
    share your feedback.
    <-- If this post was helpful, please click "Vote as Helpful".

  • Problem with DMGs and error: "No Mountable File Systems"

    Problem with DMGs and error: "No Mountable File Systems"
    The files are not corrupt. The problem is occurring with all DMGs that are apparently formatted in MS-DOS FAT16. No the file will not mount with Disk utility or any other disk mounter programs I have found.
    This is now the second time this occurred and now effects my MBP and my iMac. First time i spent days with Apple support and the only solution was ultimately back up the data, reformat the HD, start over from scratch and reload everything. That lasted about a month before the problem resurfaced and is now an issue on both iMac and MBP.
    I tried to identify all the programs I installed immediately before the error, as I am convinced it is the result of a software conflict.
    Recent programs includes:
    1) upgrading from Parallels 5.5 to 6.0 on both machines.
    2) using an HP secure II usb drive and setting up a secure disk.
    3) installing new itunes 10
    4) new update to Flip For Mac.
    The files affected are downloaded dmgs, including personal brain and google earth, both which are formatted in FAT16.
    Any help or thoughts? Apple has now spent hours trying and they say i now have to reformat and wipe and start over. That is unacceptable and based on pasted experience the problem is likely to repeat itself. having to wipe and rebuild a HD ever month is not an solution. i need to fid the root problem.
    In the meantime, anyone got a real solution on how to extract the data for a DMG using a different method?
    Message was edited by: remaia

    Where you able to find the solution, i am having the same problem, all was fine till i install some programs only same one i saw did we both did was flip4mac i uninstalled it but the problem is still there, i also restored and erased the hardrive but im not up to doing that all over again. If you found anything out let me know i would greatly appreciate it

  • Mozilla and IE show different applications referencing the same URL

    Hi, I have a very strange problem.
    I deployed a web app, using Sun App Server 9, directly from a directory of the server. Then I made some changes and redeployed the application. But IE still showing me the app before the changes, and Mozilla shows me the application after the changes.

    I solved this problem,
    The two browsers showed the same jsp's, but different non jsp files, such as js, and css. I only had to refresh the page.

  • [SOLVED]mounting cdrom and usb devices doesn't work

    Hello,
    i have trouble mounting my usb devices. automount doesn't work and i can't mount them manually even as a superuser. here's the output of mount command:
    mount: wrong fs type, bad option, bad superblock on /dev/sdc,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    i can mount cdrom manually but i can't do the same for my usb stick and external hard drives. it always complains about the above regardless of the filesystem. my devices are working under windows and other linuxes so i know hardware is not the problem.
    i'm using lxde with pcmanfm.
    if you need any other files just ask.
    thanks
    Last edited by the gray (2009-03-16 20:15:18)

    above was the error when i tried to mount any usb device with "mount -t <type> /dev/sdc /media/mountpoint". and i couldn't mount any usb device as root from console. when i tried to mount devices using pcmanfm it just popped some empty dialogs and i couldn't find any mention of "IsCallerPriviliged failed" error so i (wrongly) presumed it wasn't that. i did try some of the other fixes mentioned in the forum with no success. but adding exec ck-launch-session startkde to my .xinitrc fixed the issue
    thanks again
    Last edited by the gray (2009-03-16 20:17:53)

  • Mac and Windows showing different hard drive space remaining?

    Hello Guys,
    I am using my 1tb hard drive with mac and windows and while checking the space remaining, my mac says roughly 600gb left and my windows comp. says about 500gb left. I am just wondering which one of the storage remaining statements is correct and why they both show different numbers (by 100gb)? If it helps, this also happens to my 16gb flash drive. mac says 10 gb left, and windows says less space left (dont remember actual number, but was roughly 6-8).
    Just asking becuase I want to know why such a big difference in size remaining. Could it have to do with the way each OS sees what defines the harddrive as full?
    if it matters, my hdd format is MS-DOS (FAT32).
    Thanks a lot,
    krm1897

    haha its been 2 years. And no, i didn't figure it out, but i speculate it may have to do how Mac OSX and Windows reads the FAT file system (my tb hdd was FAT formatted so i could use it on both OS) and calculates remaining space.
    That may be right, or it may be completely wrong lol
    krm1897

  • Mac and iPhone showing different number of songs

    I have iTunes match enabled to the same (and my only) account on several devices. They are all showing different # of songs:
    iPhone: 1,331
    iPad: 1,328
    Mac: 1,315
    PC: 1,139
    Why? How do I get all the tunes on my Mac and especially PC?
    I have synched with the cable to my PC and received no errors.
    Help!

    haha its been 2 years. And no, i didn't figure it out, but i speculate it may have to do how Mac OSX and Windows reads the FAT file system (my tb hdd was FAT formatted so i could use it on both OS) and calculates remaining space.
    That may be right, or it may be completely wrong lol
    krm1897

  • Mac, iPad and iPhone show different iCloud Drive content

    I'm getting mad about iCloud drive.
    For hours I try to get all my devices in sync. But they all show different content. In Finder I can see only 4 app folders containing the documents (actually pages, keynote, numbers and pdfexpert). Browsing the iCloud drive on the iPad for example using the pages app I can also see a GoodReader folder and some more. Some of them are empty folders (maybe empty folders are hidden on mac by default?) but some of them contain folders and files which obviously won't download to my Mac.
    There are also some folders related to apps I removed from all my devices. It's ok if these app's iCloud folders stay in the cloud if they contain any documents but they stay there even if they are empty and there seems to be no way to remove these folders manually (even the web interface of iCloud greys out the trash when such a folder is selected).
    When I use OS X Preferences to remove some old app's iCloud content I can do this for some of them but then (all of a sudden - can be after two of ten removals) the list on the left side shows only "Backups" (or sometimes "Backups" and an unspecific "Documents") and you have to close the Preferences and reopen it a little later to see the complete list again. And showing the app icons seems to be a problem too (including the iPad / iPhone preferences -> iCloud) - some of them are shown, for some of them there are only placeholders.
    Am I doing it wrong or are these common problems?

    Same problem here – specifically, the CONTENTS of "iCloud Drive" are different when accessed:
    A) in the Finder on Yosemite
    B) on the web at iCloud.com
    C) on an iOS device
    The MAJOR problem for me is that my Goodreader folder only shows up on the iOS device, making it impossible for me to access my Goodreader files. This is a huge issue for me as my workflow depends on having access to those files.
    In general, however, it's ridiculous that you can copy data to iCloud Drive on your iOS device and then you cannot read that data anywhere else.

  • ODS and Infocube showing different results

    Hi,
    I loaded same data to Infocube and ODS but they are both showing different result in BEX.
    ODS
    ODS report is showing summarised values e.g
    vendor               order value                   invoice value        date
    00001                    20                               20                 01.01.2007
    Infocube
    result is showing not summarised values
    vendor               order value                   invoice value        date
    00001                    20                                 0                      0
                                  0                                20                  01.01.2007
    I would like to make the infocube result same as the ODS because I am remodelling so that we start reporting from Infocube rather than ODS.
    thanks

    Hi,
    this is the scenario
    currently we are reporting from ODS object which fetch data from 3 ODSes. now I am asked to remodel so that we can report from infocube not ODS.
    steps I have taken so far.
    - created new infocube
    - created 3 update rules ( same Update rules that gives the reporting ODS data).
    my target is to make sure that the current ODS  report is the same as the infocube report but so far the report is not consistent
    I compared the data in the ODS and infocube and they are exactly the same but the report is showing differently

  • Dba_index_name and dba_ind_columns showing different results

    Hi All,
    I am confused why it is showing different results:
    [email protected]#>select index_name from dba_indexes where table_name='CRBTPROV_FINAL';
    INDEX_NAME
    CRBTPROV_INDX1
    [email protected]#>select index_name from dba_IND_COLUMNS where table_name='CRBTPROV_FINAL';
    INDEX_NAME
    CRBTPROV_INDX1
    MSISDN_IDX
    When trying to drop index MSISDN_IDX it gives error:
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified
    But when trying to check where all the index is used using v$access:
    select * from v$access where object='MSISDN_IDX';
    no rows selected
    Regards,
    Kirti

    If I run the following query on a 9.2.0.6 database, no index is listed:
    select type, count(*) from v$access group by type;CURSOR
    FUNCTION
    NON-EXISTENT
    PACKAGE
    SEQUENCE
    SYNONYM
    TABLE
    TRIGGER
    VIEW
    It seems that index is not taken into account by v$access ?

Maybe you are looking for

  • Systems in Service Registry

    SDN Team,   I am also facing the same error ( Specified provider system is not published in the Services Registry). when i am trying to create a Provider system .which is available in Service Registry....what could be the reason?and one more doubt on

  • How can I tell if my 12 month complimentary subscription is active?

    I have an existing CC account, and just received a 12 month complimentary access extension. I got an email with an activation code which I redeemed. But on my account page, it doesn't say anywhere that it is complimentary or already paid. I want to b

  • Tcode mi40

    hello sir, this is my first time using batch input session method for physical inventory i try to use MI40 BUT SYSTEM SHOWING ERROR "Sequential file phyinv39_40 cannot be opened" i m unable to understand  the error please tell me how to follow steps

  • Restore short read timeout

    Somewhere around the last updates, the time it takes for a message to be marked as read when the Skype window receives focus has been greatly increased. This is, at least to some people, very annoying, because you have to wait even if you already rea

  • Itunes got delted,songs still on ipod,how to get them back in itunes librar

    my computer crashed so i had to redownload everything, now that i redownloaded itunes, and plugged in my ipod(all songs are still on ipod) how do i get them back into itunes library music section?