Help with mounting devices on Centos
My /etc/fstab file and the output of mount is listed below.
Note that /var/lib/mysql was manually mounted (after stopping mysql) using: Code:
mount -t ext3 -o barrier=0 /dev/VolGroup/lv_mysql /var/lib/mysql Secondary questions are:
Thank you Code:
[root@devserver ~]# cat /etc/fstab Code:
[root@devserver ~]# mount |
Try to put a comma after the no barrier option in your fstab file, i am not sure that semicolons are useable, they are generally for comments, so you likely comented out your options field.
1. It is a kernel capability for passing files around. It is mounted by an init script that is why it is there and not in fstab 2.shot in the dark,but it is not a normal file system and not useable as such for storage. You would see it allocated using top or the free command, probably due to being mapped to memory registers. Interesting question this one. 3. Newer systems mount the uuid, same as dev, same device but if you go switching cables, sda1 may become sdc1 the uuid stays the same so it does not matter which sata port the disk is connected to, it willmount the file system in the correct location. |
In addition the option noauto will prevent the file system from automatically being mounted at boot.
In a nutshell /proc is a virtual file system i.e. it resides in memory. It is a method to access internal kernel data structures. As stated it is created at boot time. tmpfs and sysfs are also virtual file systems. |
Thank you ericson007 and michaelk,
Your responses make sense. Also, I also later realized that the noauto would prevent it from mounting at boot. I don't know for sure, but expect a semicolon or a comma would both work, but I know for sure a comma does. In regards to modifying /etc/fstab to mount /var/lib/mysql, it now works perfectly. I am 99% sure I did the exact thing earlier, but with very bad results. Reference http://www.linuxquestions.org/questi...on-4175502842/. What is different, I have no idea, but the issue is fixed. Thanks again, Michael |
All times are GMT -5. The time now is 10:56 AM. |