Operating System - HP-UX
1754251 Members
3309 Online
108812 Solutions
New Discussion юеВ

Logical Volumes do not mount during system startup

 
SOLVED
Go to solution
Randy Hagedorn
Regular Advisor

Logical Volumes do not mount during system startup

Hi,

A couple of months ago, we had to replace a disk and with some complications had to rebuild all VG's and LV's that were on that disk. Since then when the system reboots several LV's do not mount and I have to mount them manually after the system is running, using this command:

mount /dev/vg02/Group5 /u05

Here is a sample of /etc/rc.log:
Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
mountall: cannot mount /dev/vg02/Group5
mountall: diagnostics from mount
vxfs mount: mount option(s) incompatible with file system /dev/vg02/Group5

Here is a sample of /etc/mnttab:
/dev/vg02/Group5 /u05 vxfs log,nodatainlog 0 0 1194624602

Here is a sample of /etc/fstab:
/dev/vg02/Group5 /u05 vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2

Does anyone have any ideas as to why, or do you need more info.

Thanks in advance,
Randy


4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: Logical Volumes do not mount during system startup

Check if largefiles is enabled on this filesystem.

regards,
ivan
Hasan  Atasoy
Honored Contributor
Solution

Re: Logical Volumes do not mount during system startup

hi randy ;
if you recreated the filesystem , probably you did notcreate with largefiles option.
what is the output of the "fsadm /u05" . if it does not return largefiles, then you need to convert fs to largefiles by
1. umount it.
2. fsadm -o largefiles /dev/vg02/Group5
3. mount it


or you can delete largefiles option from fstab
Hasan.
James R. Ferguson
Acclaimed Contributor

Re: Logical Volumes do not mount during system startup

Randy:

It appears that you did not build or subsequently enable your filesystems for 'largefiles'. Do:

# mkfs -F vxfs -m /dev/vg02/Group5

...to see if 'largefiles' is set. If not, do:

# /usr/sbin/fsadm -F vxfs -o largefiles /dev/vg02/Group5

Regards!

...JRF...
Randy Hagedorn
Regular Advisor

Re: Logical Volumes do not mount during system startup

OK ... the problems seems to be with the filesystem largefiles option as mentioned.

Here are the results of the suggested commands:

# fsadm /u05
fsadm: /etc/default/fs is used for determining the file system type
nolargefiles

# mkfs -F vxfs -m /dev/vg02/Group5
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,logsize=1024,nolargefiles /dev/vg02/Group5 524288

I will make the necessary changes to the filesystem when time permits.

Thanks,
Randy