I had a strange problem when I added a new file system to one of my Linux box. The file system is not mounting. But it turned out to be a funny mistake :)
I have added the file system like this in /etc/fstab
/dev/vg00/lvol03 /usr ext3 defaults 1 2
/dev/vg00/lvol04 /usr/src ext3 defaults 1 2
/dev/vg00/lvol07 /var/crash ext3 defaults 1 2
/dev/vg00/lvol02 /var ext3 defaults 1 2
See the file system in bold. You guess it correctly !!
Before mounting the /var file system, os is trying to mount /var/crash, simply it fails :)
Change the fstab entry like this it will work..
/dev/vg00/lvol03 /usr ext3 defaults 1 2
/dev/vg00/lvol04 /usr/src ext3 defaults 1 2
/dev/vg00/lvol02 /var ext3 defaults 1 2
/dev/vg00/lvol07 /var/crash ext3 defaults 1 2
I have added the file system like this in /etc/fstab
/dev/vg00/lvol03 /usr ext3 defaults 1 2
/dev/vg00/lvol04 /usr/src ext3 defaults 1 2
/dev/vg00/lvol07 /var/crash ext3 defaults 1 2
/dev/vg00/lvol02 /var ext3 defaults 1 2
See the file system in bold. You guess it correctly !!
Before mounting the /var file system, os is trying to mount /var/crash, simply it fails :)
Change the fstab entry like this it will work..
/dev/vg00/lvol03 /usr ext3 defaults 1 2
/dev/vg00/lvol04 /usr/src ext3 defaults 1 2
/dev/vg00/lvol02 /var ext3 defaults 1 2
/dev/vg00/lvol07 /var/crash ext3 defaults 1 2
No comments:
Post a Comment