vxfs filesystem in a Disk Group not mounted or failed to fsck during boot time on SuSE Linux
Details:
SuSE Linux (SLES 10) not able to mount Or fsck vxfs
filesystem specified in /etc/fstab
Following error is seen during
booting:
Checking file systems...
fsck 1.38 (30-Jun-2005)
Checking all file systems.
error on stat()
/dev/vx/dsk/datadg/vol1: No such file or directory
Solution:
1. Make sure to import DG
without -t option and do not deport it before reboot
If you
deport DG, hostid flag gets cleared for the disks belonging to that DG and
system will not import it during next reboot
2. You need to add mount
option hotplug in /etc/fstab and fs_passno (sixth's option) should be
1
For example:
/dev/vx/dsk/datadg/vol1
/mnt/vol1
vxfs _netdev,hotplug 0
1
With this configuration, system fsck will skip it
during, boot but vxvm-boot script will do fsck
Products Applied:
File System for UNIX/Linux 5.0 (Linux)
Storage Foundation for UNIX/Linux 5.0 (Linux)
Subjects:
File System for UNIX/Linux
Application: How To
Linux
Applications: Information
Storage Foundation for UNIX/Linux
Application: How To
Languages:
English (US)
Operating Systems:
LinuxSLES 10
THE INFORMATION PROVIDED IN THE SYMANTEC SOFTWARE KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. SYMANTEC SOFTWARE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYMANTEC SOFTWARE OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,EVEN IF SYMANTEC SOFTWARE OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.