1834449 Members
2479 Online
110067 Solutions
New Discussion

fstab, extra entry

 
SOLVED
Go to solution
Fred Martin_1
Valued Contributor

fstab, extra entry

I was installing the HP-UX patch for daylight savings time, and swinstall complained that there was an entry in /etc/fstab which was not currently mounted.

So I looked, and there is an extra line:

/dev/vg01/arch /arch vxfs rw,suid,...etc...

According to vgdisplay, there is no logical volume /dev/vg01/arch.

Assuming that there was a /dev/vg01/arch at one time, is this an indication that the volume was removed but fstab was not modified?

There's no error in syslog about it not mounting. Would that mean that this server has not been booted since arch was removed?

And, since I know that /dev/vg01/arch no longer exists, can I just delete the line from the fstab with 'vi', without harming anything?

Thanks,
Fred
fmartin@applicatorssales.com
5 REPLIES 5
James George_1
Trusted Contributor

Re: fstab, extra entry

include the -x mount_all_filesystems=false in your swinstall command.

# swinstall -x mount_all_filesystems=false -s /xxxxxxxx.depot

then it will not look for the entries in your /etc/fstab file.

rgds / James
forum is for techies .....heaven is for those who are born again !!
Fred Martin_1
Valued Contributor

Re: fstab, extra entry

Thanks James. That will get me through the patch install OK. I'm still curious about the other stuff, if someone has any insight.
Fred
fmartin@applicatorssales.com
James R. Ferguson
Acclaimed Contributor
Solution

Re: fstab, extra entry

Hi Fred:

> According to vgdisplay, there is no logical volume /dev/vg01/arch

Do 'ls -l /dev/vg*/group'. If you don't see a group file for vg01, then the volume group was eliminated. The absence from a 'vgdisplay' may only mean that the volume group has not been activated. Unless you are running a ServiceGuard environment, this is unlikely.

> Assuming that there was a /dev/vg01/arch at one time, is this an indication that the volume was removed but fstab was not modified?

Probably.

> There's no error in syslog about it not mounting

You need to look at the startup log --- '/etc/rc.log'. The script '/sbin/init.d/localmount' would log events in the 'rc.log' had it encountered errors.

> And, since I know that /dev/vg01/arch no longer exists, can I just delete the line from the fstab with 'vi', without harming anything?

Yes, simply edit '/etc/fstab'. Missing entries can always be added back --- missing entries simply aren't mounted at startup or when a 'mount -a' is performed.

Regards!

...JRF...
Fred Martin_1
Valued Contributor

Re: fstab, extra entry

James, thanks. There it was, in the rc log:

mountall: cannot mount /dev/vg01/arch
mountall: diagnostics from mount
mount: /arch: No such file or directory

So evidently it's been missing a long while.

I've removed it from fstab.

Fred
fmartin@applicatorssales.com
Fred Martin_1
Valued Contributor

Re: fstab, extra entry

nop
fmartin@applicatorssales.com