Operating System - HP-UX
1753797 Members
7823 Online
108799 Solutions
New Discussion юеВ

Problem with HPUX mounting

 
Mart3n
Advisor

Problem with HPUX mounting

Hi,

I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below.

fstab entries:
/dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vgsap/orasapreog /oracle/PRD/sapreorg vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vgsap/oraarch /oracle/PRD/oraarch vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

When I executed "mount -a", it display the following:
mount: /dev/vgsap/oraarch: No such file or directory
mount: /dev/vgsap/orasapreog: No such file or directory
mount: /dev/vgsap/ora10264: No such file or directory

I've tried to delete these directories from /oracle/PRD directory and recreate it. But it's still the same result.

FYI, my "vgsap" is actually located in my san disk, not on local disk.

Please kindly advice what could be the issue and how can it be fixed.

Appreciate for any of your help and advice.

Thank you.
15 REPLIES 15
Steven E. Protter
Exalted Contributor

Re: Problem with HPUX mounting

Shalom,

ioscan -fnCdisk
# please post

The messages mean:

The path you are trying to mount do not exist.

ll /dev/vgsap/oraarch
ll /dev/vgsap/orasapreog
ll /dev/vgsap/ora10264

Please post results.

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
Mart3n
Advisor

Re: Problem with HPUX mounting

Hi,

Thanks for your response.

Here is the output of ioscan.

# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
====================================================================================
disk 7 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 5 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c15t0d0 /dev/rdsk/c15t0d0
disk 6 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c15t1d0 /dev/dsk/c15t1d0s2 /dev/rdsk/c15t1d0 /dev/rdsk/c15t1d0s2
/dev/dsk/c15t1d0s1 /dev/dsk/c15t1d0s3 /dev/rdsk/c15t1d0s1 /dev/rdsk/c15t1d0s3
disk 1 0/2/1/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c3t0d1 /dev/rdsk/c3t0d1
disk 2 0/2/1/0.1.1.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 3 0/4/1/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c9t0d1 /dev/rdsk/c9t0d1
disk 4 0/4/1/0.1.1.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c11t0d1 /dev/rdsk/c11t0d1


# ll /dev/vgsap/oraarch
/dev/vgsap/oraarch not found

# ll /dev/vgsap/orasapreog
/dev/vgsap/orasapreog not found

# ll /dev/vgsap/ora10264
/dev/vgsap/ora10264 not found

Please kindly advice.

Thanks a lot.
Deeos
Regular Advisor

Re: Problem with HPUX mounting

Hi Mart,

What vgdisplay says
#vgdisplay -v vgsap



Regards
Deeos
Deepak
Mart3n
Advisor

Re: Problem with HPUX mounting

Hi Deeos,

Thanks for your response.

Please see below.

# vgdisplay -v vgsap
--- Volume groups ---
VG Name /dev/vgsap
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 17
Open LV 14
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 35200
VGDA 2
PE Size (Mbytes) 32
Total PE 35195
Alloc PE 31664
Free PE 3531
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vgsap/sapmnt
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 160
Allocated PE 160
Used PV 1

LV Name /dev/vgsap/usrap
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 160
Allocated PE 160
Used PV 1

LV Name /dev/vgsap/oracle
LV Status available/syncd
LV Size (Mbytes) 256
Current LE 8
Allocated PE 8
Used PV 1

LV Name /dev/vgsap/oraclient
LV Status available/syncd
LV Size (Mbytes) 256
Current LE 8
Allocated PE 8
Used PV 1

LV Name /dev/vgsap/orastage
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vgsap/oraQAS
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 160
Allocated PE 160
Used PV 1

LV Name /dev/vgsap/origa
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1

LV Name /dev/vgsap/origb
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1

LV Name /dev/vgsap/mirra
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1

LV Name /dev/vgsap/mirrb
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1

LV Name /dev/vgsap/sapdata1
LV Status available/syncd
LV Size (Mbytes) 235520
Current LE 7360
Allocated PE 7360
Used PV 1

LV Name /dev/vgsap/sapdata2
LV Status available/syncd
LV Size (Mbytes) 235520
Current LE 7360
Allocated PE 7360
Used PV 1

LV Name /dev/vgsap/sapdata3
LV Status available/syncd
LV Size (Mbytes) 235520
Current LE 7360
Allocated PE 7360
Used PV 1

LV Name /dev/vgsap/sapdata4
LV Status available/syncd
LV Size (Mbytes) 235520
Current LE 7360
Allocated PE 7360
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c3t0d1
PV Name /dev/dsk/c9t0d1 Alternate Link
PV Status available
Total PE 35195
Free PE 3531
Autoswitch On
Proactive Polling On


Thanks.
Deeos
Regular Advisor

Re: Problem with HPUX mounting

Mart,

can you post O/P of LVs

#lvdisplay /dev/vgsap/oraarch

#lvdisplay /dev/vgsap/orasapreog
Deepak
Jim Walls
Trusted Contributor

Re: Problem with HPUX mounting

As you can see from the output of vgdisplay, the logical volumes are not present in the volume group.

Either they have not been defined as loogical volumes or the three files have subsequently been deleted:

/dev/vgsap/oraarch not found
/dev/vgsap/orasapreog not found
/dev/vgsap/ora10264 not found

You will need to first define the volumes using lvcreate and use newfs to create file systems in the volumes.

Once that is done you should be able to mount the file systems as per /etc/fstab.

Assuming this was all previously working, you then have to recover the data from a backup.




Deeos
Regular Advisor

Re: Problem with HPUX mounting

Hi Jim,


What about this?

Cur LV 17
Open LV 14


Deepak
Mart3n
Advisor

Re: Problem with HPUX mounting

Hi Deeos,

Please see below. Thanks.

# lvdisplay /dev/vgsap/oraarch
lvdisplay: "/dev/vgsap/oraarch": No such file or directory
Usage: lvdisplay
[-v]
[-k]
LogicalVolumePath...

# lvdisplay /dev/vgsap/orasapreog
lvdisplay: "/dev/vgsap/orasapreog": No such file or directory
Usage: lvdisplay
[-v]
[-k]
LogicalVolumePath...
Mart3n
Advisor

Re: Problem with HPUX mounting

Hi Jim,

Yes, you are right.

I might have deleted them accidentally.

"You will need to first define the volumes using lvcreate and use newfs to create file systems in the volumes."

Please kindly advice on how to fix this problem?

Is it possible to use SAM to configure it?

Please kindly advice.

Thanks.