Operating System - HP-UX
1863031 Members
1074 Online
110446 Solutions
New Discussion

Re: Cannot unmount a filesystem

 
hp_user_1
Regular Advisor

Cannot unmount a filesystem

Hi,

I am using VCS on hpux 11i. I tried to bring up a servicegroup through VCS on one of the nodes in the cluster. All but one filesystems were mounted successfully. For the one the mount point was missing. I created the mount point on the fly and then VCS mounted that filesystem on it successfully. Then I brought down the servicegroup on the node. All but that particular filesystem were unmounted. I am trying to umount the filesystem as follows:

# umount /opt/oracle/data1

but it says:

Block device required.

I tried with the block device but no luck.

Can anyone help.

Points will be awarded.
Thanks
11 REPLIES 11
Pat Lieberg
Valued Contributor

Re: Cannot unmount a filesystem

Is there an entry for that path in /etc/fstab? Maybe there is an inconsistency there?
Bill Hassell
Honored Contributor

Re: Cannot unmount a filesystem

When you run the command:

umount /opt/oracle/data1

the filesystem code looks in /etc/fstab to translate the mountpoint into a device file such as /dev/vg04/lvol22. Check /etc/fstab to see that the source for the data1 mountpoint is correctly spelled.


Bill Hassell, sysadmin
Enrico P.
Honored Contributor

Re: Cannot unmount a filesystem

Hy,
try with the lvol:

umount /dev/vgXX/lvolXX

related at the /opt/oracle/data1 file system

Enrico
hp_user_1
Regular Advisor

Re: Cannot unmount a filesystem

There is no entry in /etc/fstab file. The mount point is defined in VCS main.cf file.
Alessandro Pilati
Esteemed Contributor

Re: Cannot unmount a filesystem

Umount requires special file as argument,
try
bdf /opt/oracle/data1
check the lvol related and then
umount /dev/vgXXX/

Regards,
Alex
if you don't try, you'll never know if you are able to
hp_user_1
Regular Advisor

Re: Cannot unmount a filesystem

I tried with lvol also but same error message.
Luk Vandenbussche
Honored Contributor

Re: Cannot unmount a filesystem

Asghar,

Can you send us the main.cf
Perhaps there is an error in this file
Raj D.
Honored Contributor

Re: Cannot unmount a filesystem

Please check /etc/fstab and manaly mount/ umount the filesystem , after a reboot may help.

You can check the filesystem details , with
#fstyp -v /dev/vg00/lvolx

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
hp_user_1
Regular Advisor

Re: Cannot unmount a filesystem

Nothing worked. I rebooted the box.

Here is main.cf file:

include "types.cf"

cluster PreProdYMXCCII (
UserNames = { admin = "cDRpdxPmHpzS." }
EngineClass = SCHED_FIFO
Administrators = { admin }
CounterInterval = 5
)

system ymxppdb0 (
)

system ymxppap0 (
)

group ClusterService (
SystemList = { ymxppdb0 = 0, ymxppap0 = 1 }
AutoStartList = { ymxppdb0, ymxppap0 }
OnlineRetryLimit = 3
)

IP webip (
Device = lan1
Address = "199.81.76.107"
NetMask = "255.255.255.0"
)

NIC csgnic (
Device = lan1
NetworkHosts = { "199.81.76.180", "199.81.76.179" }
)

VRTSWebApp VCSweb (
Critical = 0
AppName = vcs
InstallDir = "/opt/VRTSweb/VERITAS"
TimeForOnline = 5
)

VCSweb requires webip
webip requires csgnic


// resource dependency tree
//
// group ClusterService
// {
// VRTSWebApp VCSweb
// {
// IP webip
// {
// NIC csgnic
// }
// }
// }


group MultiNicSG (
SystemList = { ymxppdb0 = 1, ymxppap0 = 2 }
AutoStartList = { ymxppdb0, ymxppap0 }
)

MultiNICA mnic_PreProdYMXCCII (
Critical = 0
Device @ymxppdb0 = { lan1 = "199.86.76.179", lan11 = "199.81.76.179" }
Device @ymxppap0 = { lan1 = "199.86.76.180", lan11 = "199.86.76.180" }
NetMask = "255.255.255.0"
NetworkHosts = { "199.81.76.1" }
)

Phantom Phantom (
)



// resource dependency tree
//
// group MultiNicSG
// {
// Phantom Phantom
// MultiNICA mnic_PreProdYMXCCII
// }


group YMXCCIIDBSG (
SystemList = { ymxppdb0 = 1, ymxppap0 = 2 }
AutoStartList = { ymxppdb0, ymxppap0 }
)

Application App_CCIIDB (
StartProgram = "/opt/fedex/vcs/scripts/cciidb/start_cciidb.sh"
StopProgram = "/opt/fedex/vcs/scripts/cciidb/stop_cciidb.sh"
CleanProgram = "/opt/fedex/vcs/scripts/cciidb/stop_cciidb.sh"
MonitorProgram = "/opt/fedex/vcs/scripts/cciidb/monitor_cciidb.sh"
)

DiskGroup dg_YMXCCIIDBdg (
DiskGroup = cciidbdg
)

IPMultiNIC IP_YMXCCIIDB (
Address = "199.81.76.116"
NetMask = "255.255.255.0"
MultiNICResName = mnic_PreProdYMXCCII
)

Mount mnt_opt_oracle_cciidb (
MountPoint = "/opt/oracle/cciidb"
BlockDevice = "/dev/vx/dsk/cciidbdg/orabase"
FSType = vxfs
FsckOpt = "-y"
)

Mount mnt_opt_oracle_cciidb_product (
MountPoint = "/opt/oracle/cciidb/product"
BlockDevice = "/dev/vx/dsk/cciidbdg/oraclebin"
FSType = vxfs
FsckOpt = "-y"
)

Mount mnt_opt_oracle_cciidb_admin_IC15 (
MountPoint = "/opt/oracle/cciidb/admin/IC15"
BlockDevice = "/dev/vx/dsk/cciidbdg/oraadmin"
FSType = vxfs
FsckOpt = "-y"
)

Mount mnt_opt_oracle_cciidb_oraarch (
MountPoint = "/opt/oracle/cciidb/oraarch"
BlockDevice = "/dev/vx/dsk/cciidbdg/oraarch"
FSType = vxfs
FsckOpt = "-y"
)

Mount mnt_opt_oracle_cciidb_oradata_IC15 (
MountPoint = "/opt/oracle/cciidb/oradata/IC15"
BlockDevice = "/dev/vx/dsk/cciidbdg/oradata"
FSType = vxfs
FsckOpt = "-y"
)

Mount mnt_opt_oracle_cciidb_oradata_IC15_data (
MountPoint = "/opt/oracle/cciidb/oradata/IC15/data"
BlockDevice = "/dev/vx/dsk/cciidbdg/oratable"
FSType = vxfs
FsckOpt = "-y"
)

Mount mnt_opt_oracle_cciidb_oradata_IC15_index (
MountPoint = "/opt/oracle/cciidb/oradata/IC15/index"
BlockDevice = "/dev/vx/dsk/cciidbdg/oraindex"
FSType = vxfs
FsckOpt = "-y"
)

Proxy Proxy_YMXCCII (
TargetResName = mnic_PreProdYMXCCII
)

App_CCIIDB requires IP_YMXCCIIDB
App_CCIIDB requires mnt_opt_oracle_cciidb
IP_YMXCCIIDB requires Proxy_YMXCCII
mnt_opt_oracle_cciidb requires dg_YMXCCIIDBdg
mnt_opt_oracle_cciidb_admin_IC15 requires mnt_opt_oracle_cciidb
mnt_opt_oracle_cciidb_oraarch requires mnt_opt_oracle_cciidb
mnt_opt_oracle_cciidb_oradata_IC15 requires mnt_opt_oracle_cciidb
mnt_opt_oracle_cciidb_oradata_IC15_data requires mnt_opt_oracle_cciidb
mnt_opt_oracle_cciidb_oradata_IC15_index requires mnt_opt_oracle_cciidb
mnt_opt_oracle_cciidb_product requires mnt_opt_oracle_cciidb


// resource dependency tree
//
// group YMXCCIIDBSG
// {
// Application App_CCIIDB
// {
// IPMultiNIC IP_YMXCCIIDB
// {
// Proxy Proxy_YMXCCII
// }
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// Mount mnt_opt_oracle_cciidb_admin_IC15
// {
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// Mount mnt_opt_oracle_cciidb_oraarch
// {
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// Mount mnt_opt_oracle_cciidb_oradata_IC15
// {
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// Mount mnt_opt_oracle_cciidb_oradata_IC15_data
// {
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// Mount mnt_opt_oracle_cciidb_oradata_IC15_index
// {
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// Mount mnt_opt_oracle_cciidb_product
// {
// Mount mnt_opt_oracle_cciidb
// {
// DiskGroup dg_YMXCCIIDBdg
// }
// }
// }


========================================
Sandman!
Honored Contributor

Re: Cannot unmount a filesystem

I don't see the mountpoint that you're talking about in the main.cf file that you'ave pasted here. Also the block device file in your particular case would be of the form..."/dev/vx/dsk/XXXX" NOT /dev/vgXX/lvolXX


hp_user_1
Regular Advisor

Re: Cannot unmount a filesystem

I rebooted the box and the problem resolved. I did the same thing again to recheck and everything went smooth.
Thanks for your help.