Operating System - HP-UX
1834142 Members
2314 Online
110064 Solutions
New Discussion

Few Filesystems not mounting

 
SOLVED
Go to solution
Ramaprasad K
Regular Advisor

Few Filesystems not mounting

Hi all,

A strange issue with one rx6600 server (HP-UX 11.31). Following is the entry in /etc/fstab:

/dev/vg01/lv_users1 /users1 vxfs quota,defaults 0 2

/dev/charaka_vgeva02/lv_users2 /users2 vxfs quota, defaults 0 2

/dev/charaka_vgeva02/lv_users3 /users3 vxfs quota, defaults 0 2

/dev/charaka_vgeva02/lv_users4 /users4 vxfs quota, defaults 0 2

/dev/vgeva03/lv_users5 /users5 vxfs quota defaults 0 2

/dev/vgeva03/lv_users6 /users6 vxfs quota defaults 0 2

along with many other file systems entries. Except for the above 6 lvols, all other lvols are getting mounted automatically after a reboot, and these have to be mounted manually.

One common observation is that all above 6 lvols are having users' home directories and also 'quota' is enabled for them. Could that be the reason? Is there any change in enabling 'quota' on 11.31? Can any one send sample file/commands for setting 'quota' for users on 11.31?

Regards,
Ramaprasad K
9 REPLIES 9
sujit kumar singh
Honored Contributor

Re: Few Filesystems not mounting

Hi Ramaprasad,


are you having to manullay mount the LVs using the mount command.

please check if you are having a typo mistake in the /etc/fstab?

i assume that the quota enries you have made OK and that there seems to be a blank space between quota and defaults. please check that
that should be no space only a comma like

/dev/charaka_vgeva02/lv_users4 /users4 vxfs quota,defaults 0 2

dev/vgeva03/lv_users6 /users6 vxfs quota,defaults 0 2


the other thing is that makr sure that the VG vgeva03 and charaka_vgeva02 are getting activated at the system boot/ or using the packages successfully.


Regards
Sujit



Johnson Punniyalingam
Honored Contributor

Re: Few Filesystems not mounting

Hi Ram,

Can you please manulay mount any one of the File system .?

If you are able to mount. that it could be the /etc/fstab entry problem,

Thx,
Johnson
Problems are common to all, but attitude makes the difference
Ramaprasad K
Regular Advisor

Re: Few Filesystems not mounting

Thanks Sujit for the quick reply.

>are you having to manullay mount the LVs using the mount command

Yup!!!

I admit about space between 'quota,' and 'default' could be the reason. But the entry for '/users1' seems to be ok. Even that was not mounting.

Hi Johnson,

>Can you please manually mount any one of the File system .?

Yup !!! The only way i had.

Will check again on /etc/fstab entry and spaces. BTW, is there any way to check if the entries are proper and file systems will mount automatically after reboot without rebooting?

Thanks,
Ram.
Johnson Punniyalingam
Honored Contributor

Re: Few Filesystems not mounting

>>is there any way to check if the entries are proper and file systems will mount automatically after reboot without rebooting?<<

below command
mount -a "will mount all File System" as per the /etc/fstab file , if was there any wrong entry , ouput will show you unable to mount.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
sujit kumar singh
Honored Contributor
Solution

Re: Few Filesystems not mounting

Hi Rama,


you can compare the mounting using SMH,

just make a small filesystem , mount that manually, do not make any /etc/fstab entry for that. Set the quotas limits on that for the users.

go to smh, disks and filesystems.. try mounting/ re-mounting this filesystem with the options and enabling Quota, be careful not to create a New Filesystem on the LV, Make sure you use use the present Filesystem and choose mount now and everytime the system strarts/boots.THis shall create a new Entry in /etc/fstab for this FS.


have a look at the new enrty for this Fs in /etc/fstab and compare.

I assume that the VGs for the filesys are getting activated normally at the system boots (you might be using /etc/lvmrc setting
AUTO_VG_ACTIVATE=1 etc).

Or are you using a Service Guard packcage for these VGs to activate?


Regards
Sujit
Jeeshan
Honored Contributor

Re: Few Filesystems not mounting

check in /etc/lvmrc file for automatic lvm activation.
a warrior never quits
VK2COT
Honored Contributor

Re: Few Filesystems not mounting

Hello,

a) The syntax for several file systems in
/etc/fstab is incorrect.

This is wrong:

/dev/charaka_vgeva02/lv_users2 /users2 vxfs quota, defaults 0 2

This is correct:

/dev/charaka_vgeva02/lv_users2 /users2 vxfs quota,defaults 0 2

In other words, no spaces in "quota,defaults".

b) As well, missing comma is also a problem
for another file system:

This is wrong:

/dev/vgeva03/lv_users5 /users5 vxfs quota defaults 0 2

This is correct:

/dev/vgeva03/lv_users5 /users5 vxfs quota,defaults 0 2

c) What is the status of volume groups
vg01, charaka_vgeva02 and vgeva03 at boot time.

Are they activated? Or, are they part of
cluster setup (for example, ServiceGuard
packages depend on them)?

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Ramaprasad K
Regular Advisor

Re: Few Filesystems not mounting

Hi all,

Thanks for your replies and time.

As I said earlier, none of mistakes mentioned by VK2COT for 'users1' LV entry (admit for other LVs), but still it didn't mount while other LVs in 'vg01' are mounted. So even 'etc/lvmrc' entry possibility is ruled out.

Also, no ServiceGuard.

Anyhow, shall try what is suggested by Sujit and update.

Thanks again for all your replies,

Ram.
VK2COT
Honored Contributor

Re: Few Filesystems not mounting

Hello,

What are the permissions of top-level
directories /users1, /users2, ... /users6
when file systems are NOT MOUNTED and
when they ARE MOUNTED:

# ls -ald /users[1-6]

Also, do these directories exist in
single-user mode?

Cheers,

VK2COT
VK2COT - Dusan Baljevic