Operating System - HP-UX
1834018 Members
2283 Online
110063 Solutions
New Discussion

logical volume will not mount to mount-point even if in /etc/fstab

 
SOLVED
Go to solution
Randy Hagedorn
Regular Advisor

logical volume will not mount to mount-point even if in /etc/fstab

Hi,
Recently, I lost a 36GB disk and had to replace it with two 18GB disks. So this meant that I had to remove and create several logical volumes for reloading of data.

Now, even though these logical volumes and their mount-points are listed in the /etc/fstab file, they will not mount when the system is rebooted.

Does anyone have an idea as to what I may be missing?

Thanks,
Randy
9 REPLIES 9
Ivan Ferreira
Honored Contributor
Solution

Re: logical volume will not mount to mount-point even if in /etc/fstab

What is the error that you get when you run:

mount /mount_point

After the device/mount_point is added to fstab?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: logical volume will not mount to mount-point even if in /etc/fstab

Shalom Randy,

I'd assume an error was made in naming one of the logical volumes (first column) listed in /etc/fstab

vgdisplay the volume group. maybe with -v so you can see the logical volumes. Look for the one that doesn't match /etc/fstab

Its easier at this point to change /etc/fstab

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Basheer_2
Trusted Contributor

Re: logical volume will not mount to mount-point even if in /etc/fstab

Randy,

can you cat /etc/fstab and post here
tsf_1
Frequent Advisor

Re: logical volume will not mount to mount-point even if in /etc/fstab

What are the errors when they failed to mount? Check at /etc/rc.log
Also make use of "vgdisplay -v VGname" to see details of the VG/LV.
be willing to do, be happy to bear
Stanimir
Trusted Contributor

Re: logical volume will not mount to mount-point even if in /etc/fstab

1. Try to mount it manually and check for
system responce.

2. If you managed to mount it by hand then umount and try #mount -a
May be you have an error on /etc/fstab?

Regards,Stan
Randy Hagedorn
Regular Advisor

Re: logical volume will not mount to mount-point even if in /etc/fstab

Additional Information:

# cat /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/dsk/c4t2d0 /cdrom cdfs ro,suid 0 0
/dev/vg03/Group1 /u06 vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg03/lvol20 /f01 vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg04/Group1 /u07 vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg03/Group2 /u08 vxfs delaylog,notatainlog,largefiles,rw,suid 0 2
/dev/vg02/Group1 /u01 vxfs delaylog,notatainlog,largefiles,rw,suid 0 2
/dev/vg02/Group2 /u02 vxfs delaylog,notatainlog,largefiles,rw,suid 0 2
/dev/vg02/Group3 /u03 vxfs delaylog,notatainlog,largefiles,rw,suid 0 2
/dev/vg02/Group4 /u04 vxfs delaylog,notatainlog,largefiles,rw,suid 0 2
/dev/vg02/Group5 /u05 vxfs delaylog,notatainlog,largefiles,rw,suid 0 2

The problem volume groups are the last six listed.

tsf; partial results from /etc/rc.log:

mountall: cannot mount /dev/vg02/Group2
mountall: diagnostics from mount
vxfs mount: illegal -o suboption -- delaylog
vxfs mount: Usage:
mount [-l] [-v|-p]
mount [-F vxfs] [-eQ] -a
mount [-F vxfs] [-eQrV]
[-o [rw|ro] [suid|nosuid] [quota] [remount]
[log|delaylog|tmplog] [largefiles|nolargefiles] ...

Thanks,
Randy
Patrick Wallek
Honored Contributor

Re: logical volume will not mount to mount-point even if in /etc/fstab

Hmmm....The delaylog option should not be a problem, but I do see a typo.... You have "notatainlog", when it should really be "nodatainlog".

Try changing the "notatainlog" to "nodatainlog" and try again. If you just make the change to /etc/fstab, you can then just do a:

# mount /u08

to see if it works. No need to reboot.
Randy Hagedorn
Regular Advisor

Re: logical volume will not mount to mount-point even if in /etc/fstab

It appears that the typo in /etc/fstab of notatainlog instead of nodatainlog was the problem.

The mount-points can now be mounted.

Thanks to all,

Randy
Randy Hagedorn
Regular Advisor

Re: logical volume will not mount to mount-point even if in /etc/fstab

Thanks